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.
This commit is contained in:
committed by
Lennart Poettering
parent
42ffc40ce3
commit
bdb492b2ed
@@ -36,7 +36,6 @@ static inline int udev_ctrl_new(UdevCtrl **ret) {
|
||||
int udev_ctrl_enable_receiving(UdevCtrl *uctrl);
|
||||
UdevCtrl *udev_ctrl_ref(UdevCtrl *uctrl);
|
||||
UdevCtrl *udev_ctrl_unref(UdevCtrl *uctrl);
|
||||
int udev_ctrl_cleanup(UdevCtrl *uctrl);
|
||||
int udev_ctrl_attach_event(UdevCtrl *uctrl, sd_event *event);
|
||||
int udev_ctrl_start(UdevCtrl *uctrl, udev_ctrl_handler_t callback, void *userdata);
|
||||
sd_event_source *udev_ctrl_get_event_source(UdevCtrl *uctrl);
|
||||
|
||||
Reference in New Issue
Block a user