Bug 33677

Summary: Request for ck-list-sessions to print warning if /proc/<pid>/sessionid is missing.
Product: ConsoleKit Reporter: Samuli Suominen <ssuominen>
Component: DaemonAssignee: william.jon.mccann
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: medium CC: dberkholz, freedesktop-bugs
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Samuli Suominen 2011-01-29 00:22:03 UTC
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
Comment 1 Samuli Suominen 2011-04-22 08:41:30 UTC
*Minor typing error in Comment #0, should be CONFIG_AUDITSYSCALL instead.
Comment 2 Samuli Suominen 2013-07-25 06:52:14 UTC
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.