mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
fc1de713f5
We should bind the udev socket from systemd, so we are sure that the abstract namespace socket is always bound by a root process and there is never a window during an update where an untrusted process can steal our socket. Also split the udev.service file, so that the daemon can be updated/restarted without triggering any coldplug events.
11 lines
177 B
SYSTEMD
11 lines
177 B
SYSTEMD
[Unit]
|
|
Description=udev Kernel Device Manager
|
|
Requires=udev.socket
|
|
After=udev.socket
|
|
Before=basic.target
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=@sbindir@/udevd
|