Re: Encrypted home and pam_mount

2024-03-05 Thread Max Nikulin
On 05/03/2024 03:37, Andrey Dogadkin wrote: On Sun, 2024-03-03 at 21:27 +0700, Max Nikulin wrote: https://github.com/systemd/systemd/issues/8598#issuecomment-376845082 "systemd-user doesn't properly close its PAM session" I saw that issue and it didn't strike me as related to my case, pam_mou

Re: Encrypted home and pam_mount

2024-03-04 Thread Andrey Dogadkin
On Sun, 2024-03-03 at 21:27 +0700, Max Nikulin wrote: > On 03/03/2024 02:46, Andrey Dogadkin wrote: > > Automounting works fine, but I'm having trouble with auto- > > unmounting > > when I log out. The partition stays mounted and I can see "target > > is > > busy" errors from umount in the journal.

Re: Encrypted home and pam_mount

2024-03-03 Thread Max Nikulin
On 03/03/2024 02:46, Andrey Dogadkin wrote: Automounting works fine, but I'm having trouble with auto-unmounting when I log out. The partition stays mounted and I can see "target is busy" errors from umount in the journal. It is an issue with ecryptfs and fscrypt as well. https://github.com/sy

Encrypted home and pam_mount

2024-03-02 Thread Andrey Dogadkin
Hello, I'm trying to set up a LUKS-encrypted user's home partition which would be automounted when the user logs in. I've installed libpam-mount and added the following line into /etc/security/pam_mount.conf.xml: Automounting works fine, but I'm having trouble with auto-unmounting when I log o