autofs deletes directories but does not re-create them

Bug #423289 reported by Andrew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autofs (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: autofs

Regaring:
autofs version 4.1.4+debian-2.1ubuntu2
in Jaunty amd64

Autofs will delete the mount directories upon stop, but will not re-create them on startup.

Example:
/etc/auto.master:
/net /etc/auto.net
/usr/local/remote /etc/auto_remote tcp,retrans=5 --timeout=0 --ghost

/etc/auto_remote:
packages -ro,intr,timeo=600,actimeo=1200,rsize=32768,wsize=32768 \
                computer:/vol/dir/packages
common -ro,intr,timeo=600,actimeo=1200,rsize=32768,wsize=32768 \
                computer:/vol/dir2/packages
image -ro,intr,timeo=600,actimeo=1200,rsize=32768,wsize=32768 \
                computer:/vol/dir/image

Run:
$ sudo mkdir /net
$ sudo /etc/init.d/autofs start
$ sudo /etc/init.d/autofs stop
$ ls -l /net
ls: cannot access /net: No such file or directory

Now, if I start autofs again, it creates /net sometimes, but not /usr/local/remote for some reason.

May be the same bug as reported against redhat here:
https://bugzilla.redhat.com/show_bug.cgi?id=212148

description: updated
Revision history for this message
Andrew (andrew-rw-robinson) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Karmic Koala. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

Changed in autofs (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Chuck Short (zulcss) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Andrew (andrew-rw-robinson) wrote : Re: [Bug 423289] Re: autofs deletes directories but does not re-create them

I'll try to get to it, but it may take a bit because my test case is
inside of a debootstrap environment that is not at all trivial to
setup and therefore not something I can run from the live CD. I'll
probably upgrade to Karmic shortly after the release next week and I
can try to test it then.

-Andrew

On Fri, Oct 23, 2009 at 11:26 AM, Chuck Short <email address hidden> wrote:
> We'd like to figure out what's causing this bug for you, but we haven't
> heard back from you in a while. Could you please provide the requested
> information? Thanks!
>
> --
> autofs deletes directories but does not re-create them
> https://bugs.launchpad.net/bugs/423289
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
ejevs (nils-sveje) wrote :

I've just had a hard time with automount and finaly figured out i'm not alone, This is not my only problem with automount (the other could turn out to be me), but I can confirm the the directory mountpoints in auto.master does indeed disapear.
Ubuntu server Karmic (same problem before dist-upgrade on Jaunty).

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the response!

Changed in autofs (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.