<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>13659</bug_id>
          
          <creation_ts>2003-01-10 13:44 0000</creation_ts>
          <short_desc>autofs timeout does not work</short_desc>
          <delta_ts>2003-01-12 22:28:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.4_rc2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>A.Keusch@gmx.at</reporter>
          <assigned_to>bcowan@gentoo.org</assigned_to>
          <cc>ahbritto@iat.com</cc>

      

      
          <long_desc isprivate="0">
            <who>A.Keusch@gmx.at</who>
            <bug_when>2003-01-10 13:44:09 0000</bug_when>
            <thetext>i want to use autofs with my cdrom&apos;s, here my config files:

auto.master:
=================
/mnt/cdroms	/etc/autofs/auto.cdroms --timeout=3
=================

auto.cdroms:
=================
brenner		-fstype=iso9660,ro	:/dev/sr0
dvd		-fstype=iso9660,ro	:/dev/cdroms/cdrom0
=================

but the timeout option has no effect, it is always is 5 minutes.

i have tried to run automount manually:
automount -t 3 /mnt/cdroms file /etc/autofs/auto.cdrom
and it works.

i think it&apos;s a bug in the /etc/init.d/autofs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ahbritto@iat.com</who>
            <bug_when>2003-01-10 16:18:13 0000</bug_when>
            <thetext>At the least the line:
    echo &quot;$DAEMON $dir $maptype $map $mapoptions $localoptions&quot; | sed -e &apos;s/   
    / /g&apos; -e &apos;s/  / /g&apos;
Is missing $startupoptions.

This works for me:
    echo &quot;$DAEMON $startupoptions $dir $maptype $map $mapoptions $localoptions&quot;
| sed -e &apos;s/        / /g&apos; -e &apos;s/  / /g&apos;

I would also recommend commenting out the echo to /tmp/debug lines.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bcowan@gentoo.org</who>
            <bug_when>2003-01-12 22:28:41 0000</bug_when>
            <thetext>Thanks :)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>