[Bug 701659] New: AutoFS: stat -L triggering mounts
https://bugzilla.novell.com/show_bug.cgi?id=701659 https://bugzilla.novell.com/show_bug.cgi?id=701659#c0 Summary: AutoFS: stat -L triggering mounts Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: All OS/Version: SuSE Other Status: ASSIGNED Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: lchiquitto@novell.com ReportedBy: lchiquitto@novell.com QAContact: qa@suse.de CC: pth@novell.com, mszeredi@novell.com Found By: Community User Blocker: --- Opening bug to track the inclusion of patches in openSUSE Factory. Problem originally reported upstream at: http://linux.kernel.org/pipermail/autofs/2011-March/006540.html Copying here for reference: After the update to 2.6.38, I noticed that AutoFS started to mount volumes at times it normally wouldn't. More specifically, "ls -la" inside an AutoFS mount point will trigger the mount of all available maps. This can be reproduced with a simple indirect mount setup: # cat /etc/auto.master /data /etc/auto.data # cat /etc/auto.data isos -fstype=nfs4,ro,rsize=8192,wsize=8192,intr,nolock,nosuid libre:/isos # egrep '(autofs|nfs4)' /proc/mounts /etc/auto.data /data autofs rw,relatime,fd=7,pgrp=4300,timeout=600,\ minproto=5,maxproto=5,indirect 0 0 # stat -L /data/isos > /dev/null # egrep '(autofs|nfs4)' /proc/mounts /etc/auto.data /data autofs rw,relatime,fd=7,pgrp=4300,timeout=600,\ minproto=5,maxproto=5,indirect 0 0 libre:/isos /data/isos nfs4 ro,nosuid,relatime,vers=4,(.. more mount\ options ..) 0 0 Bisecting the changes between 2.6.37 and 2.6.38, I found that 2.6.38-rc1 exhibits the new behavior already. I went as near 2.6.37 as I could and verified that commit b650c858c2 (autofs4: Merge the remaining dentry ops tables) also shows the new behavior. I tried to bisect the remaining ~18 commits but everything I tested/built ended up unbootable. I also tested mainline and verified that the problem is still there. According to David Howells in [1], the problem will be fixed upstream by patching acl and coreutils. [1] http://linux.kernel.org/pipermail/autofs/2011-April/006548.html -- 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=701659 https://bugzilla.novell.com/show_bug.cgi?id=701659#c1 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #1 from Leonardo Chiquitto <lchiquitto@novell.com> 2011-06-22 20:09:48 UTC --- I'll test the patches that were submitted upstream. -- 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=701659 https://bugzilla.novell.com/show_bug.cgi?id=701659#c2 --- Comment #2 from Leonardo Chiquitto <lchiquitto@novell.com> 2011-06-22 21:25:23 UTC --- The changes needed in the acl package are already available in Factory (acl-2.2.51-2.1), so the only piece missing is this coreutils patch: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/25899 I've tested it here and it resolves the problem. Unfortunately upstream completely ignored the patch so far. Philipp, do you think this patch is something we could merge in our package before the official upstream blessing? In any case, I'll subscribe to that mailing list and ask the maintainers about the patch. -- 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=701659 https://bugzilla.novell.com/show_bug.cgi?id=701659#c3 --- Comment #3 from Leonardo Chiquitto <lchiquitto@novell.com> 2011-08-02 00:58:34 UTC --- The gnulib patch was committed upstream as well: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=95f7c57ff409... I've built the coreutils package including this patch, tested it and submitted it to the Base:System devel project (request id 77635). Now waiting for it to be accepted. -- 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=701659 https://bugzilla.novell.com/show_bug.cgi?id=701659#c4 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Leonardo Chiquitto <lchiquitto@novell.com> 2011-08-02 18:44:11 UTC --- SR was accepted and coreutils-8.12-8.1 is now available in openSUSE:Factory. -- 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