Jeff Moyer <[EMAIL PROTECTED]> writes:

> So, can you get me the output from, 'ps auxwww | grep automount'?

Here you are :-) :

/usr/sbin/automount --pid-file /var/run/autofs.special.pid /special yp 
auto.special -rw,intr,soft
/usr/sbin/automount --pid-file /var/run/autofs.servers.pid /servers yp 
auto.servers -rw,intr,soft
/usr/sbin/automount --pid-file /var/run/autofs.local.pid /local yp auto.local 
-rw,intr,soft
/usr/sbin/automount --pid-file /var/run/autofs.u.pid /u yp auto.u 
-rw,intr,soft,nosuid
/usr/sbin/automount --pid-file /var/run/autofs.tmpsim.pid /tmpsim yp 
auto.tmpsim -rw,intr,soft
/usr/sbin/automount --pid-file /var/run/autofs.users.pid /users yp auto.users 
-rw,intr,hard,nosuid,tcp,nfsvers=3,timeo=600,retrans=2

>>> I have a couple of patches to fix that up.  I don't have a gentoo
>>> source tree, though.  If you can point me at one, I can likely send
>>> you a patch to try.
>
> Michaël> I'm running a Gentoo, I'm root and all the stuff so I can try
> Michaël> your patch.
>
> Yes, but I don't know where to get source packages for gentoo.  I'll
> look into it if I have time.

Here's how autofs is installed :

>>> Emerging (1 of 1) net-fs/autofs-4.1.3-r7 to /
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-sock-leak-fix.patch'
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-strict.patch'
 
'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-replicated_server_select.patch'
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-miscfixes.patch.gz'
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3.tar.bz2'
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-non_block_ping.patch'
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-mtab_lock.patch'
 'http://gentoo.modulix.net/gentoo/distfiles/autofs-4.1.3-bad_chdir.patch'

>>> Unpacking autofs-4.1.3.tar.bz2 to 
>>> /var/tmp/portage/net-fs/autofs-4.1.3-r7/work
 * Applying autofs-4.1.3-strict.patch ...
 * Applying autofs-4.1.3-mtab_lock.patch ...
 * Applying autofs-4.1.3-bad_chdir.patch ...
 * Applying autofs-4.1.3-non_block_ping.patch ...
 * Applying autofs-4.1.3-sock-leak-fix.patch ...
 * Applying autofs-4.1.3-replicated_server_select.patch ...
 * Applying autofs-4.1.3-miscfixes.patch.gz ...
 * Applying autofs-4.1.3-signal-race-fix.patch ...

And signal-race-fix.patch is :

--- autofs-4.1.3/daemon/automount.c.orig        2004-08-18 11:23:49.430470256 
-0400
+++ autofs-4.1.3/daemon/automount.c     2004-08-18 11:24:45.047015256 -0400
@@ -848,10 +848,10 @@ static int st_prepare_shutdown(void)
        alarm(0);
 
        /* Prevent any new mounts */
-       ap.state = ST_SHUTDOWN_PENDING;
-
        sigprocmask(SIG_SETMASK, &lock_sigs, NULL);
 
+       ap.state = ST_SHUTDOWN_PENDING;
+
        /* Unmount everything */
        exp = expire_proc(1);
 

I've tarball'ed the ending patched directory at
http://www.lrde.org/~cadilh_m/autofs-4.1.3.tar.bz2 .

Thanks !

-- 
 |   Michaël `Micha' Cadilhac       |    Un paradoxe autoréférent ?          |
 |   http://michael.cadilhac.name   |                                        |
 |   JID/MSN:                       |       ... Je dis pas non !             |
 `----  [EMAIL PROTECTED]  |                                   -  --'

Attachment: pgpA4ISUcUlnP.pgp
Description: PGP signature

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to