From: michael@cadilhac.name (Michaël Cadilhac)
To: Jeff Moyer <jmoyer@redhat.com>
Cc: autofs@linux.kernel.org
Subject: Re: Autofs screwed by getopt?
Date: Mon, 23 Jul 2007 17:07:14 +0200 [thread overview]
Message-ID: <87ejizxiot.fsf@lrde.org> (raw)
In-Reply-To: <x49ejizqjgj.fsf@segfault.boston.devel.redhat.com> (Jeff Moyer's message of "Mon, 23 Jul 2007 10:32:28 -0400")
[-- Attachment #1.1: Type: text/plain, Size: 3294 bytes --]
Jeff Moyer <jmoyer@redhat.com> 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 ! |
`---- michael.cadilhac@gmail.com | - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs
next prev parent reply other threads:[~2007-07-23 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-23 13:34 Autofs screwed by getopt? Michaël Cadilhac
2007-07-23 14:08 ` Jeff Moyer
2007-07-23 14:21 ` Michaël Cadilhac
[not found] ` <x49ejizqjgj.fsf@segfault.boston.devel.redhat.com>
2007-07-23 15:07 ` Michaël Cadilhac [this message]
2007-07-23 15:19 ` Jeff Moyer
2007-07-23 16:27 ` Michaël Cadilhac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ejizxiot.fsf@lrde.org \
--to=michael@cadilhac.name \
--cc=autofs@linux.kernel.org \
--cc=jmoyer@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.