Bug#444980: udev not restarted after exiting runlevel 1

Pierre Ynard linkfanel at yahoo.fr
Tue Feb 19 15:01:59 GMT 2019


As said in the history of the thread, this isn't a problem particular
to udev. portmap was mentioned. On my system I also have that issue
with rdnssd: it is started in runlevel S before networking, and isn't
restarted when leaving runlevel 1. Then there are all the network
processes such as at least dhclient, and worse than not being restarted,
the interfaces are not even marked as brought down when going into
runlevel 1.

I tried to fiddle with LSB headers and rc symlinks to get udev and
rdnssd to restart in runlevel 2, but I guess I don't know how sysv-rc
works anymore because I couldn't get anywhere, and anyway I don't
want to mess with it too much. In the end I added restart logic in
/etc/rc.local and it seems to work fine; and I switch in and out of
runlevel 1 all the time.

I don't see why we couldn't properly fix this to have each of them shut
down cleanly in runlevel 1 and then restart in runlevel 2. When I look
at udev's initscript, it seems like it must be much better in that
regard now than what was described 10 years ago.

-- 
Pierre Ynard



More information about the Pkg-systemd-maintainers mailing list