[pkg-dhcp-devel] Bug#749410: isc-dhcp-client: shutdown/reboot hangs after K03rsyslog
Elimar Riesebieter
riesebie at lxtec.de
Tue Jul 15 18:56:27 UTC 2014
* Scott Ashcroft <scott.ashcroft at talk21.com> [2014-07-15 16:30 +0100]:
>
>
> Hi,
>
> I think the problem is that dhcp client is being killed off by
> /etc/init.d/sendsigs script.
Hmm, yes.
> This means that it is dead by the time the nfs unmount script runs
> and that's why there is no network. I suspect that it should be
> making a symlink in /run/sendsigs.omit.d like rpcbind, syslog and
> statd which will stop it being killed.
isc-dhcp-client 4.2.4-7 does not but works flawlessly....
> However, that's going to be tricky as the
> dhcp client isn't explicitly started by an init script by as part
> of ifupdown or network manager. I wonder how other distros handle
> this or what would happen if systemd was in use and not sysvinit.
This can be done by a script in /etc/network/if-up.d. I suspect
this is not a solid solution as this should be handeld by the
dhcp-client itself.
> Should be easy to confirm this by adding adding a couple of 'ps
> -ef' lines into the sendsigs script. i.e..
Not needed as we know that there is no network at umounting time by
my previous patch, though.
--
Experience is something you don't get until
just after you need it!
More information about the pkg-dhcp-devel
mailing list