udev: /dev/null: permission denied (created with wrong permissions)

Sam Vilain sam at utsl.gen.nz
Fri Mar 10 22:47:28 UTC 2006


*** Please type your report below this line ***

Hi there.  When I start the system, or run /etc/init.d/udev restart,
/dev/null is created with permissions 0660.  This should *never*
happen.

This is a pretty fresh Breezy installation.

I don't like raising bugs this high priority, but this really is an
awful bug.

For the benefit of those googling and finding this bug, here's the
workaround:

  1. switch to a console login (Ctrl+Alt+F1)

  2. log in, run these commands:

    cd /dev
    sudo ./MAKEDEV std

  3. Your system is temporarily fixed, you can either disable udev:

    sudo update-rc.d -f udev remove

     or try to upgrade it:

    sudo apt-get update
    sudo apt-get install udev

    If it says "you already have the latest version of udev", you
    either do not have updates configured, or there is no update yet
    available.

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx  1 root root 19 2005-08-21 16:54 cd-aliases.rules -> ../cd-aliases.rules
lrwxrwxrwx  1 root root 13 2005-08-21 16:54 udev.rules -> ../udev.rules
lrwxrwxrwx  1 root root 19 2005-11-20 17:44 z60_alsa-utils.rules -> ../alsa-utils.rules

-- /sys/:
/sys/block/dm-0/dev
/sys/block/dm-1/dev
/sys/block/dm-2/dev
/sys/block/dm-3/dev
/sys/block/dm-4/dev
/sys/block/dm-5/dev
/sys/block/dm-6/dev
/sys/block/dm-7/dev
/sys/block/hda/dev
/sys/block/hda/hda1/dev
/sys/block/hda/hda2/dev
/sys/block/hda/hda3/dev
/sys/block/hda/hda4/dev
/sys/block/ram0/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram1/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/class/graphics/fb0/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/event2/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/input/ts0/dev
/sys/class/misc/apm_bios/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/sound/adsp/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/dsp/dev
/sys/class/sound/mixer/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/timer/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: testing/unstable
  APT prefers breezy-updates
  APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-5-386
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)

Versions of packages udev depends on:
ii  hotplug          0.0.20040329-22ubuntu13 Linux Hotplug Scripts
ii  initscripts      2.86.ds1-1.1ubuntu6     Standard scripts needed for bootin
ii  libc6            2.3.5-1ubuntu12         GNU C Library: Shared libraries an
ii  libselinux1      1.24-1                  SELinux shared libraries
ii  lsb-base         3.0-1ubuntu8            Linux Standard Base 2.0 init scrip
ii  makedev          2.3.1-78ubuntu2         creates device files in /dev
ii  sed              4.1.4-2                 The GNU sed stream editor

udev recommends no packages.

-- no debconf information




More information about the ubuntu-users mailing list