]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: do not remove control socket on exit
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Aug 2021 13:32:41 +0000 (22:32 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Sep 2021 12:44:00 +0000 (14:44 +0200)
commitbdb492b2edca50d89f8d80900bda1156fb252a18
tree4a3aa8a6cec78fbc8fabeec4a2d83e5f6246b626
parent42ffc40ce382dfda5f2a100698673bc252a72194
udev: do not remove control socket on exit

As we usually do, remove old unix socket before bind.

Note that systemd-udevd-control.socket has `RemoveOnStop=yes`.
So, it is not necessary to be removed when the service exits.

Replaces #20584 and #20588.
src/udev/udev-ctrl.c
src/udev/udev-ctrl.h
src/udev/udevd.c