Skip to contentSkip to conversation

Hotplug scripts not getting executed

DISCUSSION Jacob Gorm Hansen 1 participant 2 messages Jan 24, 2007

lore
Share & tools
lore
#0 lore raw

hi,

Yesterday I set up a new machine running Xen 3.0.3. My problem is that on this machine the hotplug scripts are not being executed by dom0 Linux, and so my vifs are not getting configured. My other debug machines run archlinux 0.7.1 with the exact same Xen and dom0 Linux kernel versions, and things there work fine. This one is running a fresh archlinux 0.7.2 install, with udevd installed and running.

My problem is that for some reason, my hotplug scripts are not getting executed. I have tried adding a printk() to do_execve(), and I can see that my vif-setup script is never being run. I can see from the xenstore-log that the 'script' key is being read fine, and the script exists and works fine when called from the command line.

Any ideas what could be wrong here?

Thanks,
Jacob

#1 lore raw
Quoted 8 lines · Jacob Gorm Hansen

My problem is that for some reason, my hotplug scripts are not getting executed. I have tried adding a printk() to do_execve(), and I can see that my vif-setup script is never being run. I can see from the xenstore-log that the 'script' key is being read fine, and the script exists and works fine when called from the command line.

Any ideas what could be wrong here?

The file /etc/udev/rules.d/xen-backend.rules turned out to be missing. This hotplug stuff in Linux is just too complicated IMHO.

Jacob