Bug 5473 - Update to 1.4-alt1 creates /etc/pam.d/reboot.rpmnew
Summary: Update to 1.4-alt1 creates /etc/pam.d/reboot.rpmnew
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: SysVinit-usermode (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-09 18:41 MSK by Andrey Rahmatullin
Modified: 2005-07-13 15:47 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Rahmatullin 2004-11-09 18:41:31 MSK
After updating from 1.3-alt1 to 1.4-alt1:

$ l /etc/pam.d/reboot
lrwxrwxrwx  1 root root 8 Сен  3 16:39 /etc/pam.d/reboot -> shutdown
$ l /etc/pam.d/shutdown
ls: /etc/pam.d/shutdown: No such file or directory
$ l /etc/pam.d/reboot.rpmnew
-rw-r-----  1 root root 171 Авг  3 23:56 /etc/pam.d/reboot.rpmnew
$ l /etc/pam.d/halt
lrwxrwxrwx  1 root root 6 Ноя  9 20:28 /etc/pam.d/halt -> reboot
$ realpath /etc/pam.d/halt
realpath: /etc/pam.d/halt: No such file or directory

As a result, 
$ reboot
doesn't work

I think /etc/pam.d/reboot link should be deleted while upgrading.
Comment 1 Dmitry V. Levin 2004-11-09 18:54:11 MSK
Fixed in 1.4-alt2