Systemd/init/udev.service.in
Kay Sievers fc1de713f5 systemd: bind udev control socket in systemd and split udev.service
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.
2011-03-23 16:40:23 +01:00

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