On Sun, Jun 24, 2012 at 10:23:24PM +0300, Michael Tokarev <m...@tls.msk.ru> 
wrote:
> >seems the symlink mount has also been removed - I have since switched to
> >am-utils, which solves both problems, as autofs seems to be eternally
> >broken.
> 
> Can you please show the options or maps you were using with autofs?

/etc/auto.master

  /fs /etc/maps/fs nobind

/etc/maps/fs

  doom_db -symlink        :/db

That's a symlink mount - it simply creates a symlink (it can also be used
with an nfs mount and will symlink instead of bind for normal mounts,
thus my confusion with nobind, which I believed to do the same). It also
happens with a normal mount:

   rain    -vers=3,intr,tcp,rsize=1048576,wsize=1048576    rain:/

As long as it is local, apparently.

> Yes, apparently autofs (both user and kernel space) has quite some
> bugs, but maybe it's a good idea to fix at least some of them...

Right, but despite many people reporting them repeatedly, they have not
been fixed for half a decade, so I decided it's pointless to hope for
fixes - they are not coming to be, and upstream sometimes outright refuses
to fix bugs (race condition on recursive mounts, see e.g. 556910). That's
definitely not a debian problem, previous maintainers have reported bugs
(sometimes with patches) to upstream, it's just that upstream isn't
responsive, and bugs keep coming back.

(As far as I know, the -symlink mount option was added by a previous
debian maintainer because upstream refused to fix the underlying problem,
and smylinks work around it nicely).

The tragedy is that I so wanted to get away from amd, the menace of
the early 90ies, but to my surprise, amd is much more stable, and even
restarts cleanly, something I could never pull off with automount, wow,
why didn't I switch back earlier :) I don't even need to touch every
single mount point manually anymore after starting automount to avoid
races!

As far as I can see, the only drawback of am-utils over automount is that
the former uses 5mb rss, and the latter 2mb. If not for that, there would
be absolutly no reason to keep automount.

So, from a purely technical perspective, the best way to fix autofs is
to get rid of it, as am-utils now supports sun-style automount maps and
the autofs filesystem. Ghosting doesn't work with amd and the autofs
filesystem, but that never worked reliably with automount either.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to