Bug#1060461: [Pkg-zfsonlinux-devel] Bug#1060461: libpam-zfs: fails to unload and unmount homedir on exit from graphical session

2024-01-11 Thread 陈 晟祺
Hi,

Thanks for reporting.

> 2024年1月12日 04:06,наб  写道:
> 
> Package: libpam-zfs
> Version: 2.2.2-3
> Severity: normal
> 
> Dear Maintainer,
> 
> After logging out (as testuser), /home/testuser was still mounted.
> Before logging in, it was unloaded and unmounted.
> 
> Journal says
>  Jan 11 20:59:41 chrust systemd[1]: Started session-33.scope - Session 33 of 
> User testuser.
>  Jan 11 20:59:55 chrust lightdm[13290]: pam_unix(lightdm:session): session 
> closed for user testuser
>  Jan 11 20:59:55 chrust lightdm[13290]: pam_zfs_key(lightdm:session): 
> zfs_unmount failed with: -1
>  Jan 11 21:00:01 chrust lightdm[13484]: pam_zfs_key(lightdm:auth): pbkdf 
> failed
>  Jan 11 21:00:12 chrust (sd-pam)[13299]: pam_unix(systemd-user:session): 
> session closed for user testuser
> 

-1 is EPERM. So I suspect this is the same problem as #1028613.
Maybe you can check that out and, if indeed, merge the two bugs?

Thanks,
Shengqi Chen



Bug#1060461: libpam-zfs: fails to unload and unmount homedir on exit from graphical session

2024-01-11 Thread наб
Package: libpam-zfs
Version: 2.2.2-3
Severity: normal

Dear Maintainer,

After logging out (as testuser), /home/testuser was still mounted.
Before logging in, it was unloaded and unmounted.

Journal says
  Jan 11 20:59:41 chrust systemd[1]: Started session-33.scope - Session 33 of 
User testuser.
  Jan 11 20:59:55 chrust lightdm[13290]: pam_unix(lightdm:session): session 
closed for user testuser
  Jan 11 20:59:55 chrust lightdm[13290]: pam_zfs_key(lightdm:session): 
zfs_unmount failed with: -1
  Jan 11 21:00:01 chrust lightdm[13484]: pam_zfs_key(lightdm:auth): pbkdf failed
  Jan 11 21:00:12 chrust (sd-pam)[13299]: pam_unix(systemd-user:session): 
session closed for user testuser

I'm in as default a configuration as I could be (sans setting 
homes=chrust-zoot/home),
using lightdm as the greeter and i3 as the WM. None of testuser's processes 
persisted.

Best,
наб

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.9-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-zfs depends on:
ii  libc62.37-13
ii  libnvpair3linux  2.2.2-3
ii  libpam-runtime   1.5.2-9.1
ii  libpam0g 1.5.2-9.1+b1
ii  libssl3  3.1.4-2
ii  libzfs4linux 2.2.2-3

libpam-zfs recommends no packages.

libpam-zfs suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature