Package: libpam-wtmpdb Version: 0.12.0-2 Severity: normal X-Debbugs-Cc: t...@nomi.cz
If I do the following: $ sudo systemd-run --user -M "$USER"@.host --quiet --wait --collect --pipe echo foo then I get an error in the journal: Jun 10 14:15:08 deb1-wtmpdb systemd[657]: Started run-u7.service - echo foo. Jun 10 14:15:08 deb1-wtmpdb (sd-pam)[1297]: pam_unix(login:session): session closed for user debian Jun 10 14:15:08 deb1-wtmpdb (sd-pam)[1297]: pam_wtmpdb(login:session): update_logout: Updating logout time did not return SQLITE_DONE: 8 and the session stays open: $ last debian Mon Jun 10 14:15 - still logged in debian Mon Jun 10 14:15 - still logged in debian Mon Jun 10 14:15 - still logged in debian Mon Jun 10 14:15 - still logged in Trying this with an older snapshot of unstable, the output of last looks like this instead: $ last debian Mon Jun 10 14:13 gone - no logout debian Mon Jun 10 14:13 gone - no logout debian Mon Jun 10 14:13 gone - no logout With that older unstable snapshot, there is, however, an error from pam_systemd: Jun 10 14:13:56 deb2-wtmpdb (sd-pam)[582]: pam_systemd(login:session): Failed to release session: Access denied That one was fixed by https://github.com/keszybz/systemd/commit/fc0bb7ccc763ec79efe7a8a58220e9bc80f34f81 and perhaps exploring the discussions linked there might be useful when figuring out how to fix this in libpam-wtmpdb. -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.8.12-amd64 (SMP w/4 CPU threads; PREEMPT) 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-wtmpdb depends on: ii libc6 2.38-12.1 ii libpam-runtime 1.5.3-7 ii libpam0g 1.5.3-7 ii libwtmpdb0 0.12.0-2 Versions of packages libpam-wtmpdb recommends: ii wtmpdb 0.12.0-2 libpam-wtmpdb suggests no packages. -- no debconf information -- Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/