Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 228389 - daemon/automount.i needs rewrite for fedora
Summary: daemon/automount.i needs rewrite for fedora
Alias: None
Product: Fedora
Classification: Fedora
Component: initng-ifiles
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Malmgren
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-12 20:33 UTC by Jason Farrell
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-02-13 07:21:28 UTC

Attachments (Terms of Use)

Description Jason Farrell 2007-02-12 20:33:29 UTC
daemon/automount.i does not work on Fedora out of the box. Fedora's autofs
initscript sources the envvars in /etc/sysconfig/autofs and then calls
"automount $OPTIONS" where by default $OPTIONS is empty. the /etc/auto.* conf
files then define the mounts.

I have verified that the following automount.i works on my FC6 system. I needed
to add "forks;", move "system/modules/autofs4" from the use= line to need=
(otherwise the old 'autofs' module was loaded), and change "daemon
daemon/automount/*" to "daemon daemon/automount" since it's standalone. old
lines commented out below:

# This is a i file, used by initng parsed by install_service

# WWW:

#daemon daemon/automount/* {
daemon daemon/automount {
        #need = system/bootmisc;
        need = system/bootmisc system/modules/autofs4;
        #use = system/modules/autofs4;
        #env TIMEOUT=30;
        #env_file = /etc/conf.d/automount;
        env_file = /etc/sysconfig/autofs;
        #env MOUNTPOINT=/mnt/${NAME};
        #env PIDFILE=/var/run/autofs.${NAME}.pid;
        env PIDFILE=/var/lock/subsys/autofs;
        #env CONFFILE=/etc/autofs/auto.${NAME};
        #exec daemon = /usr/sbin/automount --timeout ${TIMEOUT} --pid-file
        exec daemon = /usr/sbin/automount --pid-file ${PIDFILE} ${OPTIONS};
        pid_file = ${PIDFILE};

Comment 1 Daniel Malmgren 2007-02-13 07:21:28 UTC
Thanks for your report. This has now been fixed in upstreams svn (thanks Ismael)
and will be included in the next release.

Note You need to log in before you can comment on or make changes to this bug.