[Bug 467906] New: shutdown hang after autofs has mounted with nfs
https://bugzilla.novell.com/show_bug.cgi?id=467906 Summary: shutdown hang after autofs has mounted with nfs Classification: openSUSE Product: openSUSE 11.1 Version: RC 2 Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hbs@ks.informatik.uni-kiel.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-2.3 Firefox/3.0.5 I use NFS /home/xyz mounts with LDAP and autofs. If I shutdown the NFS client after login and automounting a /home/xyz and logout, it hangs forever with the last message displayed "Shutting down D-Bus daemon" There is also displayed before the last message : "/home/xyz still busy ... unmounting lazy" "/home still busy ... unmounting lazy" Workaround : If I modify /etc/init.d/autofs and add a sleep 20 the shutdown will work as expected. The problem did not happen with SuSE 10.3. Since /etc/init.d/autofs was changed from 10.3 to 11.1 I do expect that the bug is located there. ---- Workaround ---- function force_stop() { # First send USR2 signal, automount will expire all non-busy # filesystems and then terminate. # Busy filesystems will be left mounted /sbin/killproc -USR2 $DAEMON # Let's wait a while for the daemon to really shut down # in case of debug and browsable maps enabled this could take a while for i in {0..30}; do /sbin/checkproc $DAEMON || break sleep 1 done echo "" # Coup de grace if it has not died yet /sbin/checkproc $DAEMON && /sbin/killproc -KILL $DAEMON echo "Sleep 20 secs to fix 11.1 autofs umount problem" sleep 20 Reproducible: Always Steps to Reproduce: 1. Mount /home/xyz as NFS mount with autofs. Server provides autofs map with LDAP. 2. Shutdown NFS client Actual Results: Shutdown hang Expected Results: Shutdown will finish and turn off client -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mkoenig@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c2 Matthias Hopf <mhopf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mhopf@novell.com Info Provider| |hbs@ks.informatik.uni-kiel. | |de --- Comment #2 from Matthias Hopf <mhopf@novell.com> 2009-02-18 10:11:05 MST --- I had this issue myself, with non-autofs NFS mounts, but it is gone with GM. Can you please retest? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c3 --- Comment #3 from Matthias Hopf <mhopf@novell.com> 2009-02-18 10:12:10 MST --- GM means GoldMaster, i.e. the released version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c4 --- Comment #4 from Matthias Hopf <mhopf@novell.com> 2009-02-26 06:13:53 MST --- Update: I do seem to have similar issues at home now, after an update lately. Have to verify when the system actually hangs on shutdown. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User hvogel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c5 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|hbs@ks.informatik.uni-kiel. |mhopf@novell.com |de | --- Comment #5 from Hendrik Vogelsang <hvogel@novell.com> 2009-03-09 07:45:24 MST --- and? :) im tempted to close this as NORESPONSE unless you have any other info Matthias. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c6 --- Comment #6 from Matthias Hopf <mhopf@novell.com> 2009-03-09 08:47:54 MST --- Working on it. You'll get something by tomorrow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c7 --- Comment #7 from Matthias Hopf <mhopf@novell.com> 2009-03-09 18:47:04 MST --- Created an attachment (id=278276) --> (https://bugzilla.novell.com/attachment.cgi?id=278276) Modified mkill that documents its work If something like this still happens on another machine - this is the instrumented version of mkill I used for debugging. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c8 --- Comment #8 from Matthias Hopf <mhopf@novell.com> 2009-03-09 18:48:29 MST --- Created an attachment (id=278277) --> (https://bugzilla.novell.com/attachment.cgi?id=278277) lsof output during shutdown -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c9 --- Comment #9 from Matthias Hopf <mhopf@novell.com> 2009-03-09 18:49:05 MST --- Created an attachment (id=278278) --> (https://bugzilla.novell.com/attachment.cgi?id=278278) mkill log output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c10 Matthias Hopf <mhopf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mhopf@novell.com | --- Comment #10 from Matthias Hopf <mhopf@novell.com> 2009-03-09 18:53:23 MST --- Created an attachment (id=278279) --> (https://bugzilla.novell.com/attachment.cgi?id=278279) Bug fix for mkill This fixes the issues for me. Basically, the mount point comparison function was dead wrong. On my system, everything that had a file open *starting* with /d or /u (that includes /dev and /usr) was killed. Including "/bin/bash /etc/init.d/halt", and "/bin/bash /etc/init.d/boot.localfs" itself. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c11 Matthias Hopf <mhopf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hvogel@novell.com |werner@novell.com Severity|Normal |Blocker --- Comment #11 from Matthias Hopf <mhopf@novell.com> 2009-03-09 18:56:11 MST --- I can only *assume*, that this issue is related. Even if not, this is a severe issue. Also affects SLED11. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c12 Matthias Hopf <mhopf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|werner@novell.com |hvogel@novell.com Severity|Blocker |Normal --- Comment #12 from Matthias Hopf <mhopf@novell.com> 2009-03-09 19:00:53 MST --- Actually, I wanted to attach these files to Bug 466484. Though this could be a duplicate. If not, I can't reproduce at home. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=467906 User hbs@ks.informatik.uni-kiel.de added comment https://bugzilla.novell.com/show_bug.cgi?id=467906#c15 --- Comment #15 from Henrik Schmidt <hbs@ks.informatik.uni-kiel.de> 2009-03-17 02:13:48 MST --- Bug ist still existent here with latest aaa_base and sysvinit updates installed. My workaround (sleep in /etc/init.d/autofs) isn't working 100% of the time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com