If CONFIG_AUDIT_SYSCALL is missing from kernel, then login-session-id will be set to '' at least when using pam_ck_connector.so. This is all fine for me, but as a maintainer in source based distribution for ConsoleKit I've noticed users don't know about this. It would be extremely useful if `ck-list-sessions` could print a warning like... "Can't read /proc/<pid>/sessionid, make sure you have CONFIG_AUDIT_SYSCALL enabled in kernel." Just a suggestion... Thanks a lot. - Samuli
*Minor typing error in Comment #0, should be CONFIG_AUDITSYSCALL instead.
well, this is no longer relavent really with pam_systemd.so taking over -> yes, systemd documentation sucks and is missing the requirement, it's still required to get the /proc entries because it's behind #ifdef AUDITSYSCALL in the kernel at /usr/src/linux/fs/proc/base.c line 1066 and below closing anyway
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.