From owner-freebsd-ports@FreeBSD.ORG Sat Sep 11 14:34:07 2010 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F91B10656BD; Sat, 11 Sep 2010 14:34:07 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id A9BB08FC1E; Sat, 11 Sep 2010 14:34:06 +0000 (UTC) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by worf.ds9.tecnik93.com (Postfix) with ESMTPSA id A0E0C22C53DD; Sat, 11 Sep 2010 17:34:05 +0300 (EEST) Date: Sat, 11 Sep 2010 17:33:59 +0300 From: Ion-Mihai Tetcu To: Norikatsu Shigemura Message-ID: <20100911173359.68d71af6@it.buh.tecnik93.com> In-Reply-To: <20100911222902.bb57444a.nork@FreeBSD.org> References: <20100911222902.bb57444a.nork@FreeBSD.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/F.5SeJ5RVFfc4K8Zv/BtSm_"; protocol="application/pgp-signature" Cc: jpaetzel@FreeBSD.org, ports@FreeBSD.org, wxs@FreeBSD.org Subject: Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2010 14:34:07 -0000 --Sig_/F.5SeJ5RVFfc4K8Zv/BtSm_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 11 Sep 2010 22:29:02 +0900 Norikatsu Shigemura wrote: > Hi wxs and jpaetzel. >=20 > I noticed that dhcpd server stoped after portupgrade, > sometimes. It's a painful accident on my network. Because I didn't > notice some troubles:-(. >=20 > Why do you stop the daemons? Is it really absolutely necessary > to stop a service before it's files go away? >=20 > SEE ALSO: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scr= ipts.html#AEN5402 >=20 > $ 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 >=20 > 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. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/F.5SeJ5RVFfc4K8Zv/BtSm_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkyLk1wACgkQJ7GIuiH/oeXr7ACgplnm77elkzNnMA+A+6+ynukE jt8AmgIlQHW+kMbDEyWttZRUcfVYZgIh =dfSx -----END PGP SIGNATURE----- --Sig_/F.5SeJ5RVFfc4K8Zv/BtSm_--