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

Elimar Riesebieter riesebie at lxtec.de
Sun Jul 6 18:26:41 UTC 2014


* Michael Gilbert <mgilbert at debian.org> [2014-07-05 20:14 -0400]:

> >> You might want to try adding some echo lines there to see what's going
> >> on and which action is failing.
> >
> > What should fail here? Unmounting nfs-shares works fine.
> 
> The bug log states that the problem is experienced in umountnfs when
> shutting down, so obtaining more verbosity from umountnfs and stuff
> that calls it during shut down should be the goal.

I attached following patch:

--- umountnfs.sh.orig   2014-07-06 20:21:57.779316657 +0200
+++ umountnfs.sh        2014-07-06 20:09:47.855301535 +0200
@@ -67,10 +67,11 @@

        if [ "$DIRS" ]
        then
-               [ "$VERBOSE" = no ] || log_action_begin_msg "Unmounting remote and non-toplevel virtual filesystems"
+               [ "$VERBOSE" = yes ] || log_action_begin_msg "Unmounting remote and non-toplevel virtual filesystems"
+               ping -c 3 192.168.200.1
                fstab-decode umount $FLAGS $DIRS
                ES=$?
-               [ "$VERBOSE" = no ] || log_action_end_msg $ES
+               [ "$VERBOSE" = yes ] || log_action_end_msg $ES
        fi

        # emit unmounted-remote-filesystems hook point so any upstart jobs


Running isc-dhcp-client 4.2.4-7 ping works. Running 4.3.0+dfsg-1 it tells: No network.

Elimar
-- 
 Learned men are the cisterns of knowledge,
  not the fountainheads ;-)



More information about the pkg-dhcp-devel mailing list