The hotplug scripts do not conform to the FHS, which is a policy
violation and therefore a serious bug. The specific problem that I was
having was on a box with an NFS root filesystem:
Starting hotplug subsystem:
input
net
pci
ignore pci display device on 03:0e.0
usb
/etc/hotplug/usb.rc: line 1: wc: command not found
/etc/hotplug/usb.rc: line 224: [: -lt: unary operator expected
/etc/hotplug/usb.rc: line 1: which: command not found
The reason for this is very simple:
$ which which
/usr/bin/which
$ which wc
/usr/bin/wc
but /usr is NOT mounted when the hotplug scripts are running!
You cannot use anything from /usr during system boot!
severity 245100 serious
tags 245100 + sarge sid
thanks
Hi...
The hotplug scripts do not conform to the FHS, which is a policy
violation and therefore a serious bug. The specific problem that I was
having was on a box with an NFS root filesystem:
Starting hotplug subsystem: usb.rc: line 1: wc: command not found usb.rc: line 224: [: -lt: unary operator expected usb.rc: line 1: which: command not found
input
net
pci
ignore pci display device on 03:0e.0
usb
/etc/hotplug/
/etc/hotplug/
/etc/hotplug/
The reason for this is very simple:
$ which which
/usr/bin/which
$ which wc
/usr/bin/wc
but /usr is NOT mounted when the hotplug scripts are running!
You cannot use anything from /usr during system boot!
=)
Peter