[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
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
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
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
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
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
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
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
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
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
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
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
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
participants (1)
-
bugzilla_noreply@novell.com