Shutdown Issue — Artix with LUKS2 → LVM2 → ext4
Hi!
During system shutdown, I consistently see the following message:
[STOPPID] getty@tty1
[STOPPID] hwclock
Sending TERM/KILL to all processes...
Executing shutdown hook...
Disabling swap
Unmounting filesystems
Remounting root read-only
Syncing disks
Locking crypt devices
Disabling LVM
Logical volume artix/root contains a filesystem in use.
Can't deactivate volume group "artix" with 1 open logical volume(s)
My system is set up as follows:
LUKS2 full disk encryption
=> Inside it: LVM2 volume group (artix)
==> Logical volumes: root, home
===> Filesystem: ext4 on top of the logical volumes
From what I understand, this message means the root filesystem is still mounted or in use during shutdown, so LVM can't deactivate the volume group. That seems expected, given that / remains active until the very end.
Despite this message, the system reboots successfully without any issues.
Still, I'm curious:
Is this behavior considered normal for Artix with this setup?
Is there a way to cleanly deactivate LVM during shutdown?
Can the root filesystem be unmounted or made read-only earlier to avoid the warning?
Any insights or suggestions would be appreciated. Thanks!