Bug 668342

Summary: rcautofs cannot create /mounts directory and thus automounting fails
Product: [openSUSE] openSUSE 11.4 Reporter: Thomas Renninger <trenn>
Component: BasesystemAssignee: Leonardo Chiquitto <lchiquitto>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: forgotten_sLJ7K2dvxj, lchiquitto, rw
Version: Milestone 5 of 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Thomas Renninger 2011-01-31 14:53:05 UTC
On a plain 11.4 installation, if autofs is already running do:
rcautofs stop
rmdir /mounts
rcautofs start
-> autofs won't work

mkdir /mounts
rcautofs restart
-> works

On the first try (which fails) syslog shows:
automount[12214]: do_mount_autofs_indirect: failed to create autofs directory /mounts
automount[12214]: handle_mounts: mount of /mounts failed!
automount[12214]: master_do_mount: failed to startup mount
automount[12214]: do_mount_autofs_indirect: failed to create autofs directory /secret
automount[12214]: handle_mounts: mount of /secret failed!
automount[12214]: master_do_mount: failed to startup mount
Comment 1 Leonardo Chiquitto 2011-02-02 15:52:03 UTC
Isn't this the "root file system missing in /etc/mtab" problem? Could you please attach it here?
Comment 2 Leonardo Chiquitto 2011-02-02 15:58:56 UTC
Complementing the previous comment, this can be related to bug #666458 or bug #665494.
Comment 3 Thomas Renninger 2011-02-02 16:08:13 UTC
Yes, thanks!
adding the rootfs to /etc/mtab makes auto mounter happy.
->duplicate.

*** This bug has been marked as a duplicate of bug 666458 ***