[ports/net/isc-dhcp*] Don't stop DHCP related daemons

Norikatsu Shigemura nork at FreeBSD.org
Sat Sep 11 13:29:04 UTC 2010


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.

	Thank you!

-- 
Norikatsu Shigemura <nork at FreeBSD.org>


More information about the freebsd-ports mailing list