Bug 130515 - after an update something most of /dev/
after an update something most of /dev/
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: 130516 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-08-20 18:47 EDT by Michal Jaegermann
Modified: 2014-03-16 22:47 EDT (History)
2 users (show)

See Also:
Fixed In Version: FC3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-30 17:51:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2004-08-20 18:47:27 EDT
Description of problem:

After 20040820 update I got a number of weird errors on
startup culminating in X totally locking up machine with
a blank screen.  A closer investigation revealed that most
of my /dev/ is gone.  This is what I see:

# rpm -V dev | grep missing | wc -l 

In whatever is left (not much) all block and character devices
have 600 permissions and this includes things like /dev/null (!!!).
X locks up because nothing exists in /dev/input/ and
/dev/mouse also cannot be found.  Luckily enough was left that
I can still login.

I happen to have udev installed but in /etc/rc.d/rc.sysinit
there is the following code:

if [ -f /etc/sysconfig/udev ];then
        . /etc/sysconfig/udev

if [ "$USE_UDEV" = "yes" -a "$UDEV_RAMFS" = "yes" ]; then
        [ -x /sbin/start_udev ] && /sbin/start_udev

and I do not have /etc/sysconfig/udev at this moment so this
should not do anything.

What is even more weird that x86_64 updated to the same level
is not showing up any symptoms of that sort.  I am somewhat
baffled but something decided to mess up my /dev quite thorougly.
A buggy %post script in some package and not initscripts at all?

Version-Release number of selected component (if applicable):
Comment 1 Michal Jaegermann 2004-08-20 18:49:26 EDT
A subject was supposed to say "... something ate most of /dev/".
It seems that this gobbling is contagious.
Comment 2 Michal Jaegermann 2004-08-20 20:01:17 EDT
The next strange thing.  An attempt of recovery by reinstalling
'dev' package brought:
Cannot install the dev package: mounted devfs detected.
error: %pre(dev-3.8.3-1) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping dev-3.8.3-1

'devfs' was never in use on a machine in question but this gives
a clue.  This is a bogus message from %pre script in dev and
responsible for that mess is a lack of synchronization between
mkinitrd and initscripts which use different criteria when to
employ 'udev' so I end up with very incomplete udev courtesy
of initrd as there is no followup.
Comment 3 Bill Nottingham 2004-08-20 23:56:19 EDT
There is a fix for the udev start confusion in initscripts-7.65-1.
Comment 4 Bastien Nocera 2004-08-30 22:05:17 EDT
*** Bug 130516 has been marked as a duplicate of this bug. ***
Comment 5 Bill Nottingham 2005-09-30 17:51:10 EDT
This should be fixed in the final releases of udev-containing releases (such as
FC3/FC4); moreover, there are notes about how to update to udev with yum. Ergo,

Note You need to log in before you can comment on or make changes to this bug.