Package: udev
Version: 0.054-3
Severity: minor

During system startup, the udev package remounts the real /dev directory
under /dev/.static/dev/, using the following commands:-

  mkdir -p /dev/.static/dev
  chmod 700 /dev/.static/
  mount -n --move /tmp /dev/.static/dev

This results in a "permission denied" error message whenever a non root
user executes the df command on the system, as only root has permissions
on the /dev/.static directory:-

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               507232    389960    117272  77% /
tmpfs                   257284         0    257284   0% /dev/shm
/dev/hda5              5115304   3045848   2069456  60% /usr
/dev/hda6              5115304   1852904   3262400  37% /var
/dev/hda7              2555488       732   2554756   1% /tmp
/dev/hda8             11882512   3072856   8809656  26% /usr/local
/dev/hda9             11357848   3866512   7491336  35% /home
df: `/dev/.static/dev': Permission denied
none                     10240      2576      7664  26% /de

While this doesn't really affect the functionality of udev, it's kind of
ugly, and I can't help thinking there should be a better way.

Mike.

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx  1 root root 19 2005-03-18 13:48 cd-aliases.rules -> 
../cd-aliases.rules
lrwxrwxrwx  1 root root 13 2005-03-18 13:48 udev.rules -> ../udev.rules
lrwxrwxrwx  1 root root 12 2005-03-18 13:48 z_hal-plugdev.rules -> ../hal.rules

-- /sys/:
/sys/block/fd0/dev
/sys/block/hda/dev
/sys/block/hda/hda10/dev
/sys/block/hda/hda1/dev
/sys/block/hda/hda2/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/hdc/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/sda/dev
/sys/block/sda/sda1/dev
/sys/class/drm/card0/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/psaux/dev
/sys/class/printer/lp0/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/pcmC0D1p/dev
/sys/class/sound/seq/dev
/sys/class/sound/sequencer2/dev
/sys/class/sound/sequencer/dev
/sys/class/sound/timer/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.4
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

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

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to