Wrong permissions in /dev after Intrepid->Jaunty upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: udev
I just upgraded a system from Intrepid to Jaunty, and ran into a lot of problems afterward due to incorrect permissions in /dev. The most obvious were /dev/null and /dev/random, both of which were 0660 root/root (matching my umask, FWIW).
A reboot (which was tricky due to the above) restored correct permissions.
stat shows that the inode was changed during the upgrade:
File: `/dev/null'
Size: 0 Blocks: 0 IO Block: 4096 character special file
Device: eh/14d Inode: 5862 Links: 1 Device type: 1,3
Access: (0660/crw-rw----) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2008-10-10 16:25:20.000000000 +0100
Modify: 2008-10-10 16:25:20.000000000 +0100
Change: 2009-01-16 15:08:00.892201634 +0000
I am not sure which package is at fault. I will attach a dpkg log and find -ls output to this bug.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: udev 136-4
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: udev
Uname: Linux 2.6.28-4-generic i686
Changed in udev: | |
status: | Incomplete → Fix Committed |
Your ls does not show incorrect permissions:
5862 0 crw-rw-rw- 1 root root Oct 10 16:25 /dev/null
The Jan 16 15:08 is the time you did the upgrade? That suggests something has run "udevtrigger" in its postinst. Could you grep for that?