[Bug 1845319] Re: writing 'add' to /sys/devices/vio/uevent fails with ENODEV
Dan Streetman
dan.streetman at canonical.com
Wed Oct 2 21:24:29 UTC 2019
systemd upstream PR 13656 merged
** Changed in: systemd (Ubuntu Eoan)
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1845319
Title:
writing 'add' to /sys/devices/vio/uevent fails with ENODEV
Status in systemd:
Unknown
Status in linux package in Ubuntu:
In Progress
Status in systemd package in Ubuntu:
Invalid
Status in linux source package in Eoan:
Won't Fix
Status in systemd source package in Eoan:
Invalid
Bug description:
[impact]
The systemd-udev-trigger service calls 'udevadm trigger --type=devices
--action=add', which writes 'add' to all /sys/devices/ uevent nodes,
to re-generate their uevents sent to udev. Until systemd commit
97afc0351a96e0daa83964df33937967c75c644f, any errors during this
process were simply logged to debug and ignored, but now udevadm will
log errors and return failure.
On ppc64el, the /sys/devices/vio device returns ENODEV when writing
'add' to its uevent, which causes the udevadm command to return
failure, which causes the systemd-udev-trigger system service to fail.
The kernel vio driver should be fixed to not return ENODEV.
[test case]
On a ppc64el system, with any systemd containing commit
97afc0351a96e0daa83964df33937967c75c644f, check the status of the
systemd-udev-trigger service, to see that it's failed.
Alternately, again on a ppc64el system, run as root:
# echo add > /sys/devices/vio/uevent
-bash: echo: write error: No such device
[regression potential]
the potential should be low, as this appears to have always behaved
this way, at least for a while now.
[other info]
the systemd commit that changes udevadm to start failing for this
error isn't included in any Ubuntu release yet, this is found from
systemd upstream testing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1845319/+subscriptions
More information about the foundations-bugs
mailing list