Bug 141182 - --ghost does not work in auto.master
Summary: --ghost does not work in auto.master
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Alpha 4
Hardware: All Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Chris L Mason
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 15:39 UTC by Matthias Hopf
Modified: 2006-08-14 06:28 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Adding --ghost processing for files and nis (1014 bytes, patch)
2006-01-02 15:41 UTC, Matthias Hopf
Details | Diff
Updated patch (1020 bytes, patch)
2006-01-02 15:43 UTC, Matthias Hopf
Details | Diff
autofs start script (8.33 KB, text/plain)
2006-02-15 14:43 UTC, Chris L Mason
Details

Note You need to log in before you can comment on or make changes to this bug.
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.