[systemd-devel] About the exit of systemd-udevd

Kay Sievers kay at vrfy.org
Wed Apr 22 09:54:51 PDT 2015


On Tue, Apr 14, 2015 at 4:47 PM, Tom Yan <tom.ty89 at gmail.com> wrote:
> Under certain conditions, I discovered that commands like `udevadm
> control --exit` or `systemctl stop systemd-udevd` (with the sockets
> stopped beforehand) will kill udevd before it finish its jobs which
> triggered by `udevadm trigger` (I presume applying a written udev rule
> is one of them).
>
> Is this acceptable/expected? If so, is there any way to guarantee the
> jobs is done before it gets killed?

It is expected, udevd will finish everything that is currently already
running and do a clean shutdown, but not process any new events which
might be triggered and pending.

Kay


More information about the systemd-devel mailing list