Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2013 09:23:44 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Mark Felder <feld@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Ports with daemons on uninstall...
Message-ID:  <CAN6yY1sJdMjbZCpUp_%2BWzzYBqGkiuChBy%2BpF6SsWn7XqnMr0ig@mail.gmail.com>
In-Reply-To: <1373900246.23916.140661255858745.1BA622A0@webmail.messagingengine.com>
References:  <E1UyObF-0000Rh-P5@clue.co.za> <201307141949.r6EJnZPp009319@hergotha.csail.mit.edu> <1373895245.27518.140661255822389.195BA409@webmail.messagingengine.com> <20130715144408.6af32858@gumby.homeunix.com> <1373900246.23916.140661255858745.1BA622A0@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 15, 2013 at 7:57 AM, Mark Felder <feld@freebsd.org> wrote:

> On Mon, Jul 15, 2013, at 8:44, RW wrote:
> >
> > Is that really correct? I would expect the deinstall to be done after
> > the build has completed successfully.
> >
>
> That might not be accurate with a current portmaster, but we used to
> have that happen all too frequently. I just checked the plist and it has
> @stopdaemon mysql-server, so I'm guessing portmaster would run that too
> prematurely.
>

The reality is that some ports take a LONG time to just install, especially
when libtool is involved. I want the old daemon running until the old one
is installed. Then either the make or I can restart the daemon which
results in a downtime of about  two or three seconds. Stopping before the
new version is installed guarantees a much longer outage.

Yes, I also see some possible nasty races in a few cases, not most would be
fine.

-- 
R. Kevin Oberman, Network Engineer
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sJdMjbZCpUp_%2BWzzYBqGkiuChBy%2BpF6SsWn7XqnMr0ig>