All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: autofs@linux.kernel.org
Subject: Re: [ANNOUNCE] autofs 4.1.4 beta2 release
Date: Tue, 15 Feb 2005 03:04:14 +0100	[thread overview]
Message-ID: <20050215020414.GA953@uio.no> (raw)
In-Reply-To: <20050215014857.GA26216@uio.no>

On Tue, Feb 15, 2005 at 02:48:57AM +0100, Steinar H. Gunderson wrote:
> Apart from that, looks like everything went in; I'm building a new version
> now and will upload after I get your feedback on the points above.

I just found another bug; on upgrades, autofs attempts to restart itself,
which invokes "debian stop"; this invokes something like

  start-stop-daemon --stop --quiet --retry USR2/$DAEMON_EXIT_WAIT --pidfile $file --exec /usr/sbin/automount

The problem here is that the pid does not really run /usr/sbin/automount
anymore; or more correctly, /proc/<pid>/exe does not point to the current
/usr/sbin/automount, it points to the _old_ /usr/sbin/automount, and that
version was just removed as part of the upgrade.  Thus, the stop fails, and the
entire upgrade fails.

Any good ideas? Stripping the --exec would be the easiest solution, but
perhaps also the ugliest...
 
/* Steinar */ 
-- 
Homepage: http://www.sesse.net/

  reply	other threads:[~2005-02-15  2:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 14:39 [ANNOUNCE] autofs 4.1.4 beta2 release raven
2005-02-15  1:48 ` Steinar H. Gunderson
2005-02-15  2:04   ` Steinar H. Gunderson [this message]
2005-02-15 14:07     ` Steinar H. Gunderson
2005-02-15 14:47       ` raven
2005-02-15 15:26         ` Steinar H. Gunderson
2005-02-15 15:23           ` raven
2005-02-15 15:54             ` Steinar H. Gunderson
2005-02-15 16:46               ` Steinar H. Gunderson
2005-02-15 13:46   ` Jeff Moyer
2005-02-15 14:02     ` Steinar H. Gunderson
2005-02-15 14:28       ` Jeff Moyer
2005-02-15 14:48         ` raven
2005-02-15 14:33   ` Jeff Moyer
2005-02-15 14:44     ` Jeff Moyer
2005-02-15 14:46       ` Steinar H. Gunderson
2005-02-15 14:52   ` raven
2005-02-15 14:53   ` raven
2005-02-15 15:04     ` raven
2005-02-15 15:16       ` raven
2005-02-15 15:31         ` Steinar H. Gunderson
2005-02-15 15:27           ` raven
2005-02-15 15:28       ` Steinar H. Gunderson
2005-02-15 15:21 ` raven

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=20050215020414.GA953@uio.no \
    --to=sgunderson@bigfoot.com \
    --cc=autofs@linux.kernel.org \
    /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.