From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: The autofs script removes the map entry if the mount point is a part of another entry mount point. For instance, from two entries: /proj auto.proj /export/proj auto.export.proj only /export/proj will be mounted. For the entry /proj automount will not be started Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Set in /etc/nsswitch.conf automount: files 2.Create /etc/auto.master file with two entries /proj auto.proj /export/proj auto.export.proj 3.Execute service autofs status Actual Results: Configured Mount Points: ------------------------ /usr/sbin/automount /export/proj yp auto.export.proj Active Mount Points: -------------------- Expected Results: Configured Mount Points: ------------------------ /usr/sbin/automount /export/proj yp auto.export.proj /usr/sbin/automount /proj yp auto.proj Active Mount Points: Additional info: The reason for this bug is false positive identification of the duplicate entry in the autofs script. As a workaround I removed the test for the duplicates in the function getmounts. I replaced: if [ ! -z "$dir" -a ! -z "$map" \ -a x`echo "$map" | cut -c1` != 'x-' \ -a "`echo "$knownmaps" | grep $dir/`" = "" ] with if [ ! -z "$dir" -a ! -z "$map" \ -a x`echo "$map" | cut -c1` != 'x-' ] Again, it is a workaround, not a permanent fix. The test is needed, but should be done differently, without loss of entries.
*** This bug has been marked as a duplicate of 58304 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.