[pkg-dhcp-devel] Bug#749410: isc-dhcp-client: shutdown/reboot hangs after K03rsyslog

Scott Ashcroft scott.ashcroft at talk21.com
Tue Jul 15 15:30:21 UTC 2014



Hi,

I think the problem is that dhcp client is being killed off by /etc/init.d/sendsigs script.
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.
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.

Should be easy to confirm this by adding adding a couple of 'ps -ef' lines into the sendsigs script. i.e..

  stop)
        echo "Before"
        ps -ef
        do_stop
        echo "After"
        ps -ef
        ;;

If my theory is correct the dhcp client will appear in the before list but not the after.

Cheers,
Scott




More information about the pkg-dhcp-devel mailing list