Package: udev
Version: 0.114-2
Severity: normal
Having set udev_root in /etc/udev/udev.conf, I see via strace and logs
that udevd is still touching /dev:
Dec 22 04:47:29 betty udevd-event[1500]: update_link:
'disk/by-label/CANON_DC' with target 'hde1' has the highest priority
0, create it
Dec 22 04:47:29 betty udevd-event[1500]: node_symlink: creating
symlink '/dev/disk/by-label/CANON_DC' to '../../hde1'
etc. And indeed, that's where it gets made:
betty:/dev/disk% ll /dev/disk/by-label/CANON_DC
lrwxrwxrwx 1 root root 10 Dec 22 04:47 /dev/disk/by-label/CANON_DC ->
../../hde1
betty:/dev/disk%
Can you please get it to move to where udev_root is set to?
And note that udevinfo at least is trying to PARSE udev.conf, which is a SHELL
file! It can't do that.
Also, init.d/udev was full of attempts to touch /dev, instead of
confining itself to $udev_root.
Please let me know where to patch the code to stop the use of /dev when
udev_root is specified, as a matter of urgency. It's not clear to me!
Regards
Peter
-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 12
lrwxrwxrwx 1 root root 20 Oct 7 2006 020_permissions.rules ->
../permissions.rules
lrwxrwxrwx 1 root root 19 Oct 7 2006 025_libgphoto2.rules ->
../libgphoto2.rules
lrwxrwxrwx 1 root root 16 Aug 12 23:55 025_libsane.rules -> ../libsane.rules
lrwxrwxrwx 1 root root 22 Oct 7 2006 025_logitechmouse.rules ->
../logitechmouse.rules
lrwxrwxrwx 1 root root 16 Oct 9 2006 030_ifplugd.rules -> ../ifplugd.rules
lrwxrwxrwx 1 root root 13 Oct 12 2006 090_enbd.rules -> ../enbd.rules
lrwxrwxrwx 1 root root 15 Oct 7 2006 85-pcmcia.rules -> ../pcmcia.rules
-rw-r--r-- 1 root root 100 Oct 9 10:31 enbd.rules
-rw-r--r-- 1 root root 86 Aug 16 21:52 nvram.rules
lrwxrwxrwx 1 root root 17 Oct 8 2006 thinkpad.rules -> ../thinkpad.rules
lrwxrwxrwx 1 root root 13 Oct 7 2006 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 25 Oct 7 2006 z20_persistent-input.rules ->
../persistent-input.rules
lrwxrwxrwx 1 root root 19 Oct 7 2006 z20_persistent.rules ->
../persistent.rules
-rw-r--r-- 1 root root 580 Oct 9 2006 z25_persistent-net.rules
lrwxrwxrwx 1 root root 33 Oct 7 2006 z45_persistent-net-generator.rules ->
../persistent-net-generator.rules
lrwxrwxrwx 1 root root 12 Oct 7 2006 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root 16 Oct 7 2006 z55_hotplug.rules -> ../hotplug.rules
lrwxrwxrwx 1 root root 15 Oct 7 2006 z60_hdparm.rules -> ../hdparm.rules
-rw-r--r-- 1 root root 2589 Jun 3 2007 z60_libpisock9.rules
-rw-r--r-- 1 root root 5716 Jun 8 2007 z60_xserver-xorg-input-wacom.rules
lrwxrwxrwx 1 root root 29 Oct 7 2006 z75_cd-aliases-generator.rules ->
../cd-aliases-generator.rules
lrwxrwxrwx 1 root root 12 Nov 22 23:08 z99_hal.rules -> ../hal.rules
-- /sys/:
/sys/block/fd0/dev
/sys/block/hda/dev
/sys/block/hda/hda1/dev
/sys/block/hda/hda10/dev
/sys/block/hda/hda11/dev
/sys/block/hda/hda12/dev
/sys/block/hda/hda13/dev
/sys/block/hda/hda14/dev
/sys/block/hda/hda15/dev
/sys/block/hda/hda16/dev
/sys/block/hda/hda17/dev
/sys/block/hda/hda18/dev
/sys/block/hda/hda19/dev
/sys/block/hda/hda2/dev
/sys/block/hda/hda20/dev
/sys/block/hda/hda21/dev
/sys/block/hda/hda22/dev
/sys/block/hda/hda23/dev
/sys/block/hda/hda24/dev
/sys/block/hda/hda25/dev
/sys/block/hda/hda3/dev
/sys/block/hda/hda4/dev
/sys/block/hda/hda5/dev
/sys/block/hda/hda6/dev
/sys/block/hda/hda7/dev
/sys/block/hda/hda8/dev
/sys/block/hda/hda9/dev
/sys/block/hde/dev
/sys/block/hde/hde1/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/input0/event0/dev
/sys/class/input/input1/event1/dev
/sys/class/input/input2/event2/dev
/sys/class/input/input2/mouse0/dev
/sys/class/input/input2/ts0/dev
/sys/class/input/mice/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/hpet/dev
/sys/class/misc/hw_random/dev
/sys/class/misc/nvram/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/misc/snapshot/dev
/sys/class/sound/dsp/dev
/sys/class/sound/mixer/dev
/sys/class/sound/timer/dev
/sys/class/usb_device/usbdev1.1/dev
/sys/class/usb_device/usbdev2.1/dev
/sys/class/usb_device/usbdev3.1/dev
-- Kernel configuration:
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.17-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages udev depends on:
ii debconf [debconf-2.0]1.5.17 Debian configuration management sy
ii libc62.7-4 GNU C Library