| Summary: | sys-auth/pambase-20120417-r3: fix typo in /etc/pam.d/system-login | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | [OLD] Core system | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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? 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. |
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