Bug 33677 - Request for ck-list-sessions to print warning if /proc/<pid>/sessionid is missing.
Summary: Request for ck-list-sessions to print warning if /proc/<pid>/sessionid is mis...
Status: RESOLVED WONTFIX
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium enhancement
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 00:22 UTC by Samuli Suominen
Modified: 2013-07-25 06:53 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.