Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82086 - autofs init script only passes the timeout parameter to automount ignoring others
Summary: autofs init script only passes the timeout parameter to automount ignoring ot...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 82692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-15 01:03 UTC by Assaf Berg
Modified: 2005-03-16 01:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Assaf Berg 2005-02-15 01:03:26 UTC
In the auto.master file you can specify parameters that should be passed to automount. --timeout is passed correctly but other supported parameters aren't (--ghost, --verbose).

Reproducible: Always
Steps to Reproduce:
1. Add --ghost on one of the lines in auto.master 
2. Run ls on the mount point specified in that line
3.

Actual Results:  
You will see an empty directory

Expected Results:  
You should see ghosted directories

I can see in the autofs initscript that it is hard coded to look for -t and
--timeout and pass them to automount. It should have a list of automount
parameters to look for
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-14 16:49:03 UTC
*** Bug 82692 has been marked as a duplicate of this bug. ***
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-14 16:49:25 UTC
I'm working on this still, but it's a pain to parse :-(.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-14 20:22:32 UTC
Ok, this is fixed now.
I totally revamped the init script.
Now supports current daemon options.
Also cleanup all usage of unsafe sub-shells.
It also runs a lot faster ;-).

Please test it and report back. If it works out after 2 weeks, I'm going to mark 4.1.3-r4 stable.

4.1.4_beta2 is out, and has bundled a testing gentoo ebuild, and a different init script (looks to be based off one of the way older versions). I'll look at it later, and integrate it when 4.1.4 comes around, as 4.1.4 has some new features and things.
Comment 4 Assaf Berg 2005-03-16 01:09:26 UTC
Seems to work. Lovely!