Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 163110

Summary: net-fs/autofs-4.1.3-r7 can't automatically make lower level directories using auto.net script
Product: Gentoo Linux Reporter: t35t0r <t35t0r>
Component: Current packagesAssignee: Stefaan De Roeck (RETIRED) <stefaan>
Status: RESOLVED NEEDINFO    
Severity: normal CC: net-fs, robbat2
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description t35t0r 2007-01-21 18:50:35 UTC
I'm using vanilla-sources-2.6.15 with automounter support enabled directly in the kernel. I can mount remote exports manually without problems.

1) Enable auto.net in /etc/autofs/auto.master and then start autofs
2) start autofs
3) cd /net/remoteHost/remoteDirectory

in /var/log/messages I get one of these for each of the directories exported from the remoteHost:

Jan 21 13:31:54 localhost automount[7494]: mount(bind): mkdir_path /net/remoteHost/etc failed: Operation not permitted
Comment 1 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-03 11:40:07 UTC
New maintainer, net-fs/autofs-5.0.3-r1 is now in the tree.  
Comment 2 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-04 09:12:36 UTC
does this problem still persist?  please also give the new ebuild a try, all feedback is welcome
Comment 3 Stefaan De Roeck (RETIRED) gentoo-dev 2008-03-25 12:03:12 UTC
No feedback in well over a month, closing bug.
Comment 4 Jared Hancock 2009-01-11 20:04:11 UTC
I too saw this with autofs 4.1.3 and gentoo-sources 2.6.27-r7. I was able to resolve the issue by disabling "Kernel automounter support" (CONFIG_AUTOFS_FS). Its documentation actually says that for newer autofs versions, enable the "Kernel automounter version 4 support" instead.

I had both enabled, and enabling only version 4 support fixed the issue.