]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: create /run/udev/queue file earlier (#40518)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 3 Feb 2026 14:36:28 +0000 (23:36 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Feb 2026 14:36:28 +0000 (23:36 +0900)
commit50ddcf8554aef1d2111919ccf41ab34b82993dfa
tree60b6081febc4da03ad7726c03be9306743c3827a
parenta40d93400759c8eb46a2ec8702735bde2333812a
parentdc709eff0bc956df7f1c311006b319eae8bc8f1f
udev: create /run/udev/queue file earlier (#40518)

When udevd received a uevent or inotify event, then we will queue
events. To minimize the race between processing these events by udevd
and user invocation of 'udevadm settle', let's create /run/udev/queue
file earlier.
On some errors, no event may be queued, but in that case, the file will
be removed by the post event source if nothing queued. See on_post().

Hopefully mitigate the issue #40499.