https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c14
--- Comment #14 from Dion Kant 2014-05-04 14:24:24 UTC ---
I have found a fix which works for me.
mv /etc/udev/rules.d/40-xen.rules /etc/udev/rules.d/99-xen.rules
/etc/init.d/boot.udev restart
BACKGROUND INFORMATION
To narrow it down to this. I raised udev_log to debug in /etc/udev/udev.conf.
With running
udevadm monitor --kernel --udev --property
it looks like the udev events are passing by fine. However, I found that,
despite /var/log/messages shows the scripts are selected for execution, they
are actually *NOT* executed.
Here an example for the call to /etc/xen/scripts/vif-setup
2014-05-03T21:37:36.881736+02:00 dom0-test systemd-udevd[4322]: seq 1811
queued, 'remove' 'net'
2014-05-03T21:37:36.895971+02:00 dom0-test systemd-udevd[4349]: device
0x2484fa0 filled with db file data
2014-05-03T21:37:36.896712+02:00 dom0-test systemd-udevd[4349]: RUN
'/etc/xen/scripts/vif-setup offline type_if=vif'
/etc/udev/rules.d/40-xen.rules:5
2014-05-03T21:37:36.897256+02:00 dom0-test systemd-udevd[4349]: IMPORT builtin
'hwdb' /usr/lib/udev/rules.d/50-udev-default.rules:11
2014-05-03T21:37:36.897796+02:00 dom0-test systemd-udevd[4349]: device
0x2473720 has devpath '/devices/xen-backend'
2014-05-03T21:37:36.898477+02:00 dom0-test systemd-udevd[4349]: IMPORT builtin
'hwdb' returned non-zero
2014-05-03T21:37:36.899190+02:00 dom0-test systemd-udevd[4349]: RUN 'kmod load
$env{MODALIAS}' /usr/lib/udev/rules.d/80-drivers.rules:5
2014-05-03T21:37:36.900052+02:00 dom0-test systemd-udevd[4349]: execute 'load'
'xen-backend:vif'
2014-05-03T21:37:36.900598+02:00 dom0-test systemd-udevd[4349]: inserted
'netbk'
2014-05-03T21:37:36.901149+02:00 dom0-test systemd-udevd[4349]: passed -1 bytes
to netlink monitor 0x2482e30
2014-05-03T21:37:36.901760+02:00 dom0-test systemd-udevd[4349]: seq 1808
processed with 0
2014-05-03T21:37:36.902302+02:00 dom0-test systemd-udevd[4322]: seq 1808 done
with 0
2014-05-03T21:37:36.902923+02:00 dom0-test systemd-udevd[4322]: passed 182
bytes to netlink monitor 0x24732d0
2014-05-03T21:37:36.903453+02:00 dom0-test systemd-udevd[4349]: seq 1809
running
2014-05-03T21:37:36.904162+02:00 dom0-test systemd-udevd[4349]: no db file to
read /run/udev/data/+queues:rx-0: No such file or directory
I did put some echo in the script (echo "Here we are" >> /tmp/xen.log) and
found that the file was not created.
To make a long story short, I found that the scripts *are* executed by getting
the xen.rules higher in the udev rules list. So I think, in the original
situation, there is some rule overriding the relevant RUN list.
In the mean time I found an error thrown for
/usr/lib/udev/rules.d/90-hwrng.rules:
2014-04-27T10:59:37.203487+02:00 linux systemd-udevd[324]: invalid key/value
pair in file /usr/lib/udev/rules.d/90-hwrng.rules on line 1,starting at
character 107 ('s')
This is caused by a missing new line in the file. Please forward this issue to
the right people from openSUSE. And please share with us what is the root cause
of this.
In the mean time I can start using xm again.
Cheers, Dion
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.