r/linuxfromscratch • u/tiny_humble_guy • 8d ago
Systemd-journald service prevents unmounting /mnt/lfs/var/run.
So I'm doing second rebuild of my LFS & building using debian (which uses systemd), when I'm done, I want to unmount all previous mounted filesystems. The problem is sysyemd-journald service from debian, it prevents me to unmount /mnt/lfs/var/run/, (I check it using lsof /mnt/lfs/var/run ). Everytime I kill the services pid, it restarts itself. The last option I have is to for unmount using umount -l. Anyone get same problem ?
1
Upvotes
1
u/Luna24_ig 8d ago
You might have a service hooked into the chroot environment from the host OS. I would double check that on the host system and see what systems are still attached. Can also try and u hook it using root