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/

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

Reply via email to