Package: udev
Version: 0.056-2
Severity: important

several months ago, i tried udev, but had many problems and uninstalled
it... when i recently tried it again, the permissions for /dev were
totally screwed up and numerous programs (namely screen and startx)
failed to run at all for a normal user.

i believe it was caused by the postinst script's create_rules_symlink
function, in the for loop:

  # stop if one of the links already exists
  for file in devfs.rules compat.rules compat-full.rules cd-aliases.rules \
      udev.rules 020_permissions.rules; do
    [ ! -e $file ] || return 0
  done

  ln -s ../permissions.rules 020_permissions.rules

(or should that be: "[ -e $file ] || return 0", according to the comment?)

because it was previously installed with only udev.rules and
cd-aliases.rules, several of the files were missing, and thus the
permissions.rules symlink was not created.

not installing the permissions.rules symlink proved disasterous- it
seems like more thorough checking of what symlinks are installed would
be wise, though i don't know precisely what might be a better way to
handle it.

after "apt-get --purge remove udev" and "apt-get install udev"
everything seems to be working fine- the permissions.rules symlink got
created properly, but i worry about future upgrades...

live well,
  vagrant

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx  1 root root 20 2005-05-16 11:18 020_permissions.rules -> 
../permissions.rules
lrwxrwxrwx  1 root root 19 2005-05-16 11:18 cd-aliases.rules -> 
../cd-aliases.rules
lrwxrwxrwx  1 root root 13 2005-05-16 11:18 udev.rules -> ../udev.rules

-- /sys/:
/sys/block/fd0/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/hda/hda5/dev
/sys/block/hda/hda6/dev
/sys/block/loop0/dev
/sys/block/loop1/dev
/sys/block/loop2/dev
/sys/block/loop3/dev
/sys/block/loop4/dev
/sys/block/loop5/dev
/sys/block/loop6/dev
/sys/block/loop7/dev
/sys/block/ram0/dev
/sys/block/ram1/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/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/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/device-mapper/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/misc/tun/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/timer/dev

-- Kernel configuration:


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=es_US, LC_CTYPE=es_US (charmap=ISO-8859-1)

Versions of packages udev depends on:
ii  hotplug                  0.0.20040329-22 Linux Hotplug Scripts
ii  initscripts              2.86.ds1-1      Standard scripts needed for bootin
ii  libc6                    2.3.2.ds1-21    GNU C Library: Shared libraries an
ii  makedev                  2.3.1-77        creates device files in /dev
ii  sed                      4.1.2-8         The GNU sed stream editor

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to