WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Cannot create domU


On 24 Sep 2005, at 21:00, Chris Bainbridge wrote:

# be backward compatible for a while with the /etc/dev.d and
/etc/hotplug.d/ systems
# run /etc/hotplug.d/ stuff only if we came from a hotplug event, not
for udevstart
ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"

The path /etc/hotplug.d is hardcoded into udev_run_hotplugd - it
doesn't search anywhere else. I don't understand why it doesn't run
the agent scripts in /etc/hotplug.

Many distros have a file /etc/hotplug.d/defaults/default.hotplug. It runs on every hotplug event and runs the appropriate 'agent' script in /etc/hotplug/.

You might want to try stealing that script from a non-gentoo box (I've temporarily placed a copy at http://www.cl.cam.ac.uk/~kaf24/default.hotplug). If it works, you should probably try and get it added to the appropriate gentoo package.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel