Debian Bug report logs - #666928
Subject: udev: cant access scripts on /usr partition

version graph

Package: udev; Maintainer for udev is Marco d'Itri <md@linux.it>; Source for udev is src:systemd.

Reported by: Axel Ludszuweit <axel.ludszuweit@htp-tel.de>

Date: Mon, 2 Apr 2012 16:45:01 UTC

Severity: normal

Found in version udev/175-3.1

Done: md@Linux.IT (Marco d'Itri)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#666928; Package udev. (Mon, 02 Apr 2012 16:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Ludszuweit <axel.ludszuweit@htp-tel.de>:
New Bug report received and forwarded. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 02 Apr 2012 16:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Axel Ludszuweit <axel.ludszuweit@htp-tel.de>
To: submit@bugs.debian.org
Subject: Subject: udev: cant access scripts on /usr partition
Date: Mon, 02 Apr 2012 18:34:34 +0200
Package: udev
Version: 175-3.1
Severity: normal

Dear Maintainer,

during executing the /etc/udev/rules.d/10-vboxdrv.rules I get the message that
the script /usr/share/virtualbox/VBoxCreateUSBNode.sh used by above mentioned
udev rule can not be found.
I suppose, that the /usr partition is not mounted at this time, because udev is executed before
mountall.sh during start up.
Is it possible, to add $local_fs as Required-Start condition in /etc/init.d/udev to execute the
udev start up script after /etc/init.d/mountall.sh?


---------- snip ---------------------

axel@kruemel:~$ more /etc/udev/rules.d/10-vboxdrv.rules
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"


---------- snap ---------------------

---------- snip ---------------------

axel@kruemel:~$ more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                     /proc           proc       defaults                0  0
/dev/mapper/OS_1-root    /               ext3        errors=remount-ro      0  1
/dev/md0                 /boot           ext3        defaults               0  2
/dev/mapper/data_1-home  /files1         ext3        defaults               0  2
/dev/mapper/data_2-files /files2         ext3        defaults               0  2
/dev/mapper/data_1-files /home           ext3        defaults               0  2
/dev/mapper/OS_1-opt     /opt            ext3        defaults               0  2
/dev/mapper/OS_1-tmp     /tmp            ext3        defaults               0  2
/dev/mapper/OS_1-usr     /usr            ext3        defaults               0  2
/dev/mapper/OS_1-var     /var            ext3        defaults               0  2
/dev/mapper/data_1-swap  none            swap        sw                     0  0
/dev/scd0                /media/cdrom0   udf,iso9660 user,noauto            0  0
/dev/fd0                 /media/floppy0  auto        rw,user,noauto         0  0
## usbfs is the USBUSERS group in fstab file:
none                     /proc/bus/usb   usbfs       devgid=126,devmode=664 0 0

---------- snap ---------------------

The  /etc/udev/rules.d/10-vboxdrv.rules and /etc/udev/rules.d/10-vboxdrv.rules are contained
in OracleÂŽs virtualbox-4.1 debian package.

Thank you for your effort.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  libc6                  2.13-27
ii  libselinux1            2.1.9-2
ii  libudev0               175-3.1
ii  lsb-base               3.2+Debian31
ii  util-linux             2.20.1-4

Versions of packages udev recommends:
ii  pciutils  1:3.1.8-2
ii  usbutils  1:005-2

udev suggests no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/sysfs_deprecated_incompatibility:
  udev/title/upgrade:
  udev/reboot_needed:

-- 
Axel Ludszuweit
mailto:axel.ludszuweit@htp-tel.de





Reply sent to md@Linux.IT (Marco d'Itri):
You have taken responsibility. (Mon, 02 Apr 2012 16:51:08 GMT) Full text and rfc822 format available.

Notification sent to Axel Ludszuweit <axel.ludszuweit@htp-tel.de>:
Bug acknowledged by developer. (Mon, 02 Apr 2012 16:51:08 GMT) Full text and rfc822 format available.

Message #10 received at 666928-done@bugs.debian.org (full text, mbox):

From: md@Linux.IT (Marco d'Itri)
To: Axel Ludszuweit <axel.ludszuweit@htp-tel.de>, 666928-done@bugs.debian.org
Subject: Re: Bug#666928: Subject: udev: cant access scripts on /usr partition
Date: Mon, 2 Apr 2012 18:49:39 +0200
[Message part 1 (text/plain, inline)]
On Apr 02, Axel Ludszuweit <axel.ludszuweit@htp-tel.de> wrote:

> Is it possible, to add $local_fs as Required-Start condition in /etc/init.d/udev to execute the
> udev start up script after /etc/init.d/mountall.sh?
FFS, no!

Do what /lib/udev/bluez does or push for mounting /usr in the initramfs.

-- 
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 May 2012 07:36:41 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 17:17:12 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.