Merge pull request #30052 from dtardon/udev-fixes

Two small udev fixes
This commit is contained in:
Luca Boccassi
2023-11-16 11:25:24 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1289,7 +1289,7 @@ int manager_main(Manager *manager) {
r = udev_ctrl_start(manager->ctrl, on_ctrl_msg, manager);
if (r < 0)
return log_error_errno(r, "Failed to start device monitor: %m");
return log_error_errno(r, "Failed to start udev control: %m");
/* This needs to be after the inotify and uevent handling, to make sure
* that the ping is send back after fully processing the pending uevents

View File

@@ -25,7 +25,7 @@ netdev=dummy17.10
ip link add $netdev type dummy
blk="$(mktemp)"
dd if=/dev/null of="$blk" bs=1M count=1
dd if=/dev/zero of="$blk" bs=1M count=1
loopdev="$(losetup --show -f "$blk")"
udevadm -h