Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478032 - sys-apps/systemd: Missing kernel check for CONFIG_AUDITSYSCALL=y when PAM is enabled
Summary: sys-apps/systemd: Missing kernel check for CONFIG_AUDITSYSCALL=y when PAM is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on: 438368
Blocks:
  Show dependency tree
 
Reported: 2013-07-24 17:22 UTC by Samuli Suominen (RETIRED)
Modified: 2013-08-01 10:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2013-07-24 17:22:36 UTC
pam_systemd.so needs CONFIG_AUDITSYSCALL=y just like pam_ck_connector.so (from sys-auth/consolekit) needs to get /proc entry of sessionid to track
like for 'login -> pam_systemd.so -> tty -> startx -> pam_systemd.so -> X'

inherit linux-info

pkg_setup() {
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
linux-info_pkg_setup
}

#systemd, Freenode

20:07 < ssuominen> I maybe have missed the answer if tomegun2 answered it. 
20:07 < ssuominen> Does pam_systemd.so use CONFIG_AUDITSYSCALL=y like pam_ck_connector.so did?
20:07 < ssuominen> To get /proc entry of sessionid to track?
20:17 < heftig> ssuominen: it does.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-31 21:41:35 UTC
btw doesn't logind basically require the PAM module?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-31 22:26:46 UTC
Patched in 206-r1 that I have just committed. The other bug still needs consideration.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-08-01 10:01:31 UTC
(In reply to Michał Górny from comment #1)
> btw doesn't logind basically require the PAM module?

only for logging from 'tty' by eg. startx to X to track the session from tty, to X -> 2 session, 1 inactive from tty, and one active for X

but if you use display manager like GDM with native systemd-logind support, then it doesn't use the PAM module -> 1 session, active for X

same as in ConsoleKit