Bugzilla – Bug 141182
--ghost does not work in auto.master
Last modified: 2006-08-14 06:28:57 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.
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.
Created attachment 61862 [details] Updated patch Sorry... paths...
Noone ever looked at this for two weeks now - raising severity.
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).
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.
I have to check this at home. Will update you as soon as I got it working :)
This is definitively not critical any longer (with me being one of the delaying factors). Changed back to normal.
Closing bug due to inactivity.