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

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <nork@FreeBSD.org> 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_--



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