Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415155 - emerge -uDN world system causes lost of access
Summary: emerge -uDN world system causes lost of access
Status: RESOLVED DUPLICATE of bug 412721
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 18:10 UTC by tot-to
Modified: 2012-05-08 18:14 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 tot-to 2012-05-08 18:10:04 UTC
Usually I start updates on the remote machine with nohup and then I do logout.
After the last update I can login with ssh as common user. Then I try to increace priviliges with su and get error "su: Authentication failure" without asking for root password.

I repeated this issue on the other machine with local access and I realize that the reason is updating sys-auth/pambase to 20120417. It needs files /etc/pam.d/su /etc/pam.d/login and /etc/pam.d/passwd to present. They are installed by portage with ._cfg0000_ prefix. It causes inaccessable system until etc-update called, but etc-update can be called only after access. It is like moment 22.

I belive it is a serious bug. In addition to broken su, It causes failing to login in physical console for any user with error "login incorrect".

Also, I can't understand why portage installs these files with prefx, while files with original names is not present in system.

For reproduce the behavior in working system with pambase-20120417, you can rename su, login and passwd in /etc/pam.d with ._cfg0000_ or any other prefix.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-05-08 18:14:16 UTC

*** This bug has been marked as a duplicate of bug 412721 ***