Bug 141182

Summary: --ghost does not work in auto.master
Product: [openSUSE] SUSE Linux 10.1 Reporter: Matthias Hopf <mhopf>
Component: BasesystemAssignee: Chris L Mason <mason>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 4   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Adding --ghost processing for files and nis
Updated patch
autofs start script

Description Matthias Hopf 2006-01-02 15:39:29 UTC
/usr/sbin/automount --ghost <dir> <map> allows for listing all available automount entries. Right now /etc/init.d/autofs does not add this option, even if it is specified in auto.master. As it already does with --timeout.

As --ghost and --timeout are the only usefull user-specified options, both should be honored.
Comment 1 Matthias Hopf 2006-01-02 15:41:01 UTC
Created attachment 61861 [details]
Adding --ghost processing for files and nis

This patch adds this functionality for files and nis. I have not addressed Nisplus and Ldap as I cannot test them at home, but the patch should look similiar.
Comment 2 Matthias Hopf 2006-01-02 15:43:18 UTC
Created attachment 61862 [details]
Updated patch

Sorry... paths...
Comment 3 Matthias Hopf 2006-01-17 14:42:08 UTC
Noone ever looked at this for two weeks now - raising severity.
Comment 4 Chris L Mason 2006-02-15 14:42:45 UTC
I've been working on this indirectly.  Some L3 autofs bugs bubbled up because our /etc/init.d/autofs script did not properly filter out duplicates.  I basically stole the code for this from the RH script.  I'm attaching the new script I plan to use, do you see any problem with applying your --ghost stuff to it? (I'm happy to do the work, just asking for a review).
Comment 5 Chris L Mason 2006-02-15 14:43:52 UTC
Created attachment 68638 [details]
autofs start script

This is /etc/init.d/autofs.  It is based on sles9, so there are some minor mods required to bring it up to the 10.1 version.  Just attaching for reference/review in relation to the ghost option.
Comment 6 Matthias Hopf 2006-02-15 14:50:53 UTC
I have to check this at home.
Will update you as soon as I got it working :)
Comment 7 Matthias Hopf 2006-03-22 17:18:54 UTC
This is definitively not critical any longer (with me being one of the delaying factors). Changed back to normal.
Comment 8 Greg Kroah-Hartman 2006-08-14 06:28:57 UTC
Closing bug due to inactivity.