[Bug 793336] New: Automount maps no accessible + AutoFS sometimes hangs with 100% CPU
https://bugzilla.novell.com/show_bug.cgi?id=793336 https://bugzilla.novell.com/show_bug.cgi?id=793336#c0 Summary: Automount maps no accessible + AutoFS sometimes hangs with 100% CPU Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joschibrauchle@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11 I have experienced some problems with autofs 5.0.7 on openSUSE 12.2 with multiple machines lately. Sometimes right after booting the machine, sometimes after some operation time, direct maps become "unavailable", that is, for example # cd /opt/<direct map> No such file or directory If i then issue # rcautofs restart I get the following lines in the logs: -------------- Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /opt/servershare Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /opt/lnt Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /doc Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /group -------------- All of the above entries are direct maps, managed via kerberized LDAP... I am not sure if it happens with indirect maps as well. After AutoFS restart, all dirs become available! The problem may (or may not) have something to do with automount getting stuck in some kind of loop sometimes right after boot, taking 100% CPU and not responding. I was not yet able to check if both conditions (maps not available and AutoFS hanging) always coincide. I did an strace -fF on the hanging process after boot and got the following: -------------- ... 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) ... -------------- The number -21782... is repeating multiple times before decreases by one (i.e. magnitude increases). This continues indefinitely (or longer than I was wanting to wait). I have now turned autofs logging to "debug" and will wait for the problem to reappear... possibly, the two described problems are the same or separate ones. Reproducible: Didn't try -- 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=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c1
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c2
--- Comment #2 from Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c3
--- Comment #3 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c4
--- Comment #4 from Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c5
--- Comment #5 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c6
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c7
--- Comment #7 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c8
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c9
--- Comment #9 from Leonardo Chiquitto
One very annoying thing I noticed: (Re-)Installing/Updating the autofs package overwrites the /etc/sysconfig/autofs config file. I have some special settings in there, which are erased and need to be redone with every autofs installation (zypper or yast, doesnt matter)!
I can't reproduce this here. Could you give more details? I'd like to see for example the sysconfig file before and after the update. Thanks! -- 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=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c10
Leonardo Chiquitto
Using the original KRB5 package, I experience a hang of rpc.gssd three times on Sunday plus multiple hiccups of automount maps. With the patched package, nothing yet.
That's very good news!
If desired, I can start a OBS maintenance request against the KRB package from my testing repository...?
That would be nice. I suggest to start by submitting the fix for Factory (adding the krb5 maintainer to CC, so he's aware of the problem). -- 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=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c11
--- Comment #11 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c12
--- Comment #12 from Joschi Brauchle
I can't reproduce this here. Could you give more details? I'd like to see for example the sysconfig file before and after the update. Thanks!
I am defining SEARCH_BASE, LDAP_URI and others at the end of the file. These were gone after reinstalling AutoFS. I thought it happens every time here, but will try to figure out on how to reproduce. (In reply to comment #10)
That would be nice. I suggest to start by submitting the fix for Factory (adding the krb5 maintainer to CC, so he's aware of the problem). Please see https://build.opensuse.org/request/show/145548
-- 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=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c13
--- Comment #13 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c14
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c15
--- Comment #15 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c16
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c17
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c18
--- Comment #18 from Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c19
--- Comment #19 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c20
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c21
--- Comment #21 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c22
--- Comment #22 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=793336
https://bugzilla.novell.com/show_bug.cgi?id=793336#c23
Leonardo Chiquitto
participants (1)
-
bugzilla_noreply@novell.com