systemd times out stopping dhcpcd
frederik
Tue Jun 02 19:08:43 2020
Dear dhcpcd people,
Yesterday I reported the following issue to Systemd:
https://github.com/systemd/systemd/issues/16036
The problem is that sometimes when executing the Systemd command to stop dhcpcd, it takes 20 seconds to complete:
sudo systemctl stop dhcpcd@en0.service
Apparently this command invokes `dhcpcd -x en0` and waits for all the dhcpcd processes to exit. After 20 seconds, a timeout occurs and Systemd sends SIGTERM instead.
I haven't been able to learn more about the issue, I just wanted to report it and move on. It makes restarting my computer very slow. However, Lennart Poettering is sure that it's a Dhcpcd problem and not a Systemd problem, so I had to resubmit the bug here. I pointed out to him that when I run `dhcpcd -x en0` on the command line then it always causes the daemon to exit immediately, it is only the `systemctl stop` command which doesn't work properly.
Best wishes,
Frederick
Archive administrator: postmaster@marples.name