[Bug 568550] New: system hangs on shutdown at autofs / automount
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c0 Summary: system hangs on shutdown at autofs / automount Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: r.ems@gmx.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6 On a reboot, the system hanged on shutdown at "shutting down autofs". Nothing happened for almost one day, then only ALT + SYSRQ + reisub rebooted the system. autofs was previously updated to autofs-5.0.5-12.1.x86_64 because of a segfault on autofs, see bug 556479 for more info. Reproducible: Sometimes Steps to Reproduce: 1. reboot the system, if it hangs at "shutting down autofs", then you have hit the bug. Actual Results: The system hanged at "shutting down autofs" and stayed there almost one day. Only ALT + SYSRQ + reisub rebooted the system. Expected Results: The system should have rebooted. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c Richard Ems <r.ems@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |lchiquitto@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c Richard Ems <r.ems@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c1 --- Comment #1 from Richard Ems <r.ems@gmx.net> 2010-01-08 17:40:51 UTC --- Seems to happen only if init scripts are stopped in parallel. If I change in /etc/sysconfig/boot the RUN_PARALLEL="yes" to RUN_PARALLEL="no", then the shutdown does not hang. Also a hanging shutdown continues if I just press ALT + SYSRQ + e . -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c2 --- Comment #2 from Richard Ems <r.ems@gmx.net> 2010-01-08 17:43:15 UTC --- Created an attachment (id=335654) --> (http://bugzilla.novell.com/attachment.cgi?id=335654) snapshot of console 1 on hang -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c3 --- Comment #3 from Richard Ems <r.ems@gmx.net> 2010-01-08 17:43:45 UTC --- Created an attachment (id=335655) --> (http://bugzilla.novell.com/attachment.cgi?id=335655) snapshot of console 1 on hang -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c Richard Ems <r.ems@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #335655|snapshot of console 1 on |snapshot of console 9 on description|hang |hang -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c4 --- Comment #4 from Richard Ems <r.ems@gmx.net> 2010-01-08 17:46:07 UTC --- The second attachment is a snapshot of console * 9 * and not console 1. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c5 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |r.ems@gmx.net --- Comment #5 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-01-12 14:51:06 UTC --- Richard, thanks for the bug report and sorry for the delay. In the screenshot from comment #2, it seems that autofs was successfully stopped and something else was blocking the shutdown. I'd like to suggest the following: 1. Enable debugging in autofs (set DEFAULT_LOGGING to "debug" in /etc/sysconfig/autofs), so we can check the logs from the shutdown and see if it succeeded. 2. Disable the "filesystems" repository and update the distribution. This will downgrade all packages that were installed from that repository. After that, please install just autofs from the filesystems repository. I want to confirm that the problem is not being caused by some other package that was updated when you enabled the filesystems repository. After that, if you still can reproduce the problem, please grab a screenshot of ALT + SYSRQ + t when the system is blocked on shutdown. Also, please attach /var/log/messages containing the logs from the last shutdown that was blocked. Meanwhile, I'm trying to reproduce the problem here. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c6 --- Comment #6 from Richard Ems <r.ems@gmx.net> 2010-01-12 15:31:51 UTC --- 1. debug was already enabled in /etc/sysconfig/autofs. See next attachment. The logging in /var/log/messages changed a lot from 11.1 to 11.2, so I am still trying to understand the logging, where the machine started and when it stopped ... But if I see I the right way, when autofs shutdows cleanly, then I see "automount[xxxxx]: autofs stopped". When the machine hangs I see as last autofs message "automount[xxxxx]: st_shutdown: state 5 path /net". See next attachment. 2. Checking the RPM DB I see only 3 packages installed from the filesystems repository: # rpm -qai | egrep "^Name[ ]*:|^Distribution:" | grep -B1 "^Distribution:.*filesystem.*" Name : xfsprogs Relocations: (not relocatable) Distribution: filesystems / openSUSE_11.2 -- Name : autofs Relocations: (not relocatable) Distribution: filesystems / openSUSE_11.2 -- Name : xfsdump Relocations: (not relocatable) Distribution: filesystems / openSUSE_11.2 I don't think that the updated xfs* packages can do any hurt, but if you want me to reinstall the original 11.2 ones I'll do it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c7 --- Comment #7 from Richard Ems <r.ems@gmx.net> 2010-01-12 15:33:11 UTC --- Created an attachment (id=336161) --> (http://bugzilla.novell.com/attachment.cgi?id=336161) /var/log/messages extract after autofs hanged on shutdown. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c8 --- Comment #8 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-01-12 18:34:50 UTC ---
I don't think that the updated xfs* packages can do any hurt, but if you want me to reinstall the original 11.2 ones I'll do it.
OK, no need to reinstall. Let's try something else first: 1. Please change this line in the autofs initscript (/etc/init.d/autofs): - /sbin/killproc -p $PIDFILE -TERM $DAEMON + /sbin/killproc -t 45 -p $PIDFILE -TERM $DAEMON Does this resolve the problem? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c9 --- Comment #9 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-01-21 10:28:00 UTC --- Hello Richard, did you had time to test my last suggestion? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c10 --- Comment #10 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-02-08 17:05:55 UTC --- Carsten, I see that you voted for this bug. Are you able to reproduce the problem? Can you please try the suggestion in comment #8 and report if it works? Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c11 Frank Gießler <ifg@uni-jena.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |ifg@uni-jena.de Info Provider|r.ems@gmx.net | --- Comment #11 from Frank Gießler <ifg@uni-jena.de> 2010-02-08 20:47:54 UTC --- Hi Leonardo, The change in comment #8 won't fix it because the cited line is in stop(). However, the hang occurs in force_stop(), and only during shutdown. Running "autofs force-stop" manually works fine. I can confirm that the problem does not occur if the scripts are run sequentially (comment #1). It looks to me that there is something wrong with the dependencies. Let me know if you need further information. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c12 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ifg@uni-jena.de --- Comment #12 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-02-09 14:29:09 UTC --- Hello Frank, Richard is using autofs-5.0.5-12.1 (from openSUSE Factory) on 11.2. This package has an updated init script that do not implement force_stop() (it just uses the regular stop()). So, are you able to reproduce this problem? Which version of openSUSE and autofs are you running? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c13 Frank Gießler <ifg@uni-jena.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ifg@uni-jena.de | --- Comment #13 from Frank Gießler <ifg@uni-jena.de> 2010-02-09 15:33:26 UTC --- openSUSE 11.2 uname -a: Linux anduin 2.6.31.8-0.1-desktop #1 SMP PREEMPT 2009-12-15 23:55:40 +0100 x86_64 x86_64 x86_64 GNU/Linux autofs-5.0.4-6.1 from openSUSE-11.2-Oss Yes, I can reproduce the problem on this PC. I also tried on a virtual machine (same openSUSE version, but 32bit), but I failed (race condition?). I should also mention that on the PC fstab has no entries for NFS (NFS client is not started) and I use autofs only for direct NFS maps. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c14 --- Comment #14 from Frank Gießler <ifg@uni-jena.de> 2010-02-11 08:27:17 UTC --- Some more info from my side. I wrote down the last few lines when shutting down: .. Saving random seed Shutting down auditd Stopping VirtualBox kernel module Shutting down (remotefs) network interfaces Shutting down HAL daemon Shutting down xinetd:(...) Shutting down automount (force) ..and that's it. What puzzles me is that network interfaces are shut down before automount. Isn't that $network and is listed in autofs' Required-Stop:? Hope this helps, Frank. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c15 Stephan Dühr <stephan.duehr@dass-it.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stephan.duehr@dass-it.de --- Comment #15 from Stephan Dühr <stephan.duehr@dass-it.de> 2010-03-01 17:29:23 UTC --- I want to confirm the problem, although I could not always reproduce. Sometimes it seems to happen that network is stopped before autofs. I can also confirm that it works with RUN_PARALLEL="no", but that's not an option. In my case I'm using NetworkManager, the other reporters did not mention what kind of network configuration they use. I think this could be related to bnc#487190 about the same type of problem regarding smbfs. /etc/sysconfig/network/scripts/smbfs comes with the samba-client package and is called via /etc/NetworkManager/dispatcher.d/netcontrol_global_hooks The autofs package comes with /etc/NetworkManager/dispatcher.d/autofs but it does autofs restart no matter if call with up or down. Why? Shouldn't autofs come with a similar script ( /etc/sysconfig/network/scripts/autofs) if it cannot be assured that autofs stop is run before network stop when RUN_PARALLEL="yes" is set? That way it should also work when NetworkManager is not used. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c16 --- Comment #16 from Frank Gießler <ifg@uni-jena.de> 2010-03-01 19:30:58 UTC --- I'm not using NetworkManager but the traditional method (ifup, I think it's called). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c17 --- Comment #17 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-08-03 16:47:17 UTC --- Sorry for the long delay. Are you guys still able to reproduce this problem on 11.3? I'm using AutoFS all the time and I was never able to reproduce it :( -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=568550 http://bugzilla.novell.com/show_bug.cgi?id=568550#c18 Christian Prause <cprause@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cprause@novell.com --- Comment #18 from Christian Prause <cprause@novell.com> 2010-08-16 11:58:22 UTC --- I think I am running into the same or a related issue with my freshly installed 11.3 x86_64 box. When I initially installed it all was good. Only when I configured autofs last week It started hanging on "Shutting down (remotefs) network interfaces". When I set RUN_PARALLEL="no" in /etc/sysconfig/boot the machine shuts down without error. -- Configure bugmail: http://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=568550 https://bugzilla.novell.com/show_bug.cgi?id=568550#c19 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Component|Basesystem |Basesystem InfoProvider| |cprause@novell.com Product|openSUSE 11.2 |openSUSE 11.3 OS/Version|openSUSE 11.2 |openSUSE 11.3 --- Comment #19 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-08-20 14:41:37 UTC --- Alright, I'll try to reproduce it here again. Could you please share your AutoFS configuration and maps? -- 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=568550 https://bugzilla.novell.com/show_bug.cgi?id=568550#c20 --- Comment #20 from Christian Prause <cprause@novell.com> 2010-08-20 15:27:26 UTC --- Created an attachment (id=384507) --> (http://bugzilla.novell.com/attachment.cgi?id=384507) /etc/auto.master -- 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=568550 https://bugzilla.novell.com/show_bug.cgi?id=568550#c21 --- Comment #21 from Christian Prause <cprause@novell.com> 2010-08-20 15:31:00 UTC --- Created an attachment (id=384508) --> (http://bugzilla.novell.com/attachment.cgi?id=384508) /home/cprause/desktop-modding/auto.storage Its a very simple setup. Currently only a single nfs share. If you freak about the funny /home/username location: I double checked it happenes the same if i put the file in /etc Its just sitting there to be in my subversion repo I deploy to every box for convenience. Also I have RUN_PARALLEL="no" now for a while and have not experienced any hangs since then. -- 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=568550 https://bugzilla.novell.com/show_bug.cgi?id=568550#c Christian Prause <cprause@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|cprause@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=568550 https://bugzilla.novell.com/show_bug.cgi?id=568550#c22 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.4:44357 --- Comment #22 from Swamp Workflow Management <swamp@suse.de> 2011-12-13 17:15:16 UTC --- Update released for: fail2ban Products: openSUSE 11.4 (i586) -- 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=568550 https://bugzilla.novell.com/show_bug.cgi?id=568550#c23 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX --- Comment #23 from Leonardo Chiquitto <lchiquitto@suse.com> 2012-03-30 17:08:38 UTC --- Unfortunately openSUSE 11.3 is already out of maintenance and I had no time to investigate this issue further. I was never able to reproduce this here on my machines. Since we can't fix it on 11.3 anymore, I'm closing the bug as "won't fix". If you can still see the problem on newer versions (11.4, 12.1), please reopen and adjust the product field accordingly. Again, my apologies for not providing a solution for this on 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