Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 20:09:28 -0400
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Ion-Mihai Tetcu <itetcu@FreeBSD.org>
Cc:        jpaetzel@FreeBSD.org, ports@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons
Message-ID:  <20100912000928.GA9073@atarininja.org>
In-Reply-To: <20100911173359.68d71af6@it.buh.tecnik93.com>
References:  <20100911222902.bb57444a.nork@FreeBSD.org> <20100911173359.68d71af6@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 11, 2010 at 05:33:59PM +0300, Ion-Mihai Tetcu wrote:
> On Sat, 11 Sep 2010 22:29:02 +0900
> Norikatsu Shigemura <nork@FreeBSD.org> wrote:
> 
> > Hi wxs and jpaetzel.
> > 
> > 	I noticed that dhcpd server stoped after portupgrade,
> > sometimes. It's a painful accident on my network.  Because I didn't
> > notice some troubles:-(.
> > 
> > 	Why do you stop the daemons? Is it really absolutely necessary
> > 	to stop a service before it's files go away?
> > 
> > 	SEE ALSO:
> > 	http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html#AEN5402
> > 
> > $ grep forcestop isc-dhcp*/pkg-plist
> > isc-dhcp31-relay/pkg-plist:@unexec %D/etc/rc.d/isc-dhcrelay.sh
> > forcestop 2>/dev/null || true isc-dhcp31-relay/pkg-plist:@unexec
> > %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true
> > isc-dhcp31-server/pkg-plist:@unexec %D/etc/rc.d/isc-dhcpd.sh
> > forcestop 2>/dev/null || true isc-dhcp31-server/pkg-plist:@unexec
> > %D/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true
> > isc-dhcp41-relay/pkg-plist:@unexec %D/etc/rc.d/isc-dhcrelay.sh
> > forcestop 2>/dev/null || true isc-dhcp41-relay/pkg-plist:@unexec
> > %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true
> > isc-dhcp41-server/pkg-plist:@unexec %D/etc/rc.d/isc-dhcpd forcestop
> > 2>/dev/null || true
> > 
> > 	I want to remove these lines in pkg-plist.
> 
> This 'stop the service before we install' seems to be a new fashion,
> usually unneeded/disruptive.
> IMO this should only happen when it's really needed, and with some big
> warning printed.

This is there because that is how the old ISC ports were done. I'm not a
fan of this at all. If it doesn't break upgrades I'm going to remove it.

Ports/packages should keep their grubby little hands off my services. ;)

-- WXS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100912000928.GA9073>