Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547374 - sys-auth/pambase-20120417-r3: fix typo in /etc/pam.d/system-login
Summary: sys-auth/pambase-20120417-r3: fix typo in /etc/pam.d/system-login
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-22 08:09 UTC by Martin Mokrejš
Modified: 2015-05-17 05:27 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 Martin Mokrejš 2015-04-22 08:09:56 UTC
I thought I messed up with etc-update but it seems it is the ${FILESDIR} patches were not applied (to remove the leading minus sign)?


Below what etc-update proposes to me:

Showing differences between /etc/pam.d/system-login and /etc/pam.d/._cfg0000_system-login
--- /etc/pam.d/system-login     2015-04-15 23:54:54.000000000 +0200
+++ /etc/pam.d/._cfg0000_system-login   2015-04-22 01:57:30.000000000 +0200
@@ -1,4 +1,4 @@
-auth           required        pam_tally2.so onerr=succeed deny=3 even_deny_root unlock_time=1200 root_unlock_time=1200
+auth           required        pam_tally2.so onerr=succeed
 auth           required        pam_shells.so 
 auth           required        pam_nologin.so 
 auth           include         system-auth
@@ -14,7 +14,7 @@
 session                required        pam_env.so 
 session                optional        pam_lastlog.so silent 
 session                include         system-auth
-session                optional        pam_ck_connector.so nox11
+-session       optional        pam_ck_connector.so nox11
 session                optional        pam_motd.so motd=/etc/motd
 session                optional        pam_mail.so
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2015-04-24 21:16:15 UTC
I guess so, comment#0 contains some user specific, in my machine I indeed have:

session         include         system-auth
-session        optional        pam_ck_connector.so nox11
session         optional        pam_motd.so motd=/etc/motd

Is the '-' intentional?
Comment 2 SpanKY gentoo-dev 2015-05-17 05:27:06 UTC
the code was updated so that the pam_ck_connector.so line exists only when the package was built with USE=consolekit.  since you built it that way, there should be no leading -.  if you don't want consolekit support, build your system with USE=-consolekit.

the addition of the leading - in bug 372229 was to workaround that missing logic.