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

perryh at pluto.rain.com perryh at pluto.rain.com
Wed Sep 15 07:21:10 UTC 2010

Doug Barton <dougb at freebsd.org> wrote:

> >>>        ... Is it really absolutely necessary
> >>>        to stop a service before it's files go away?
> IMO the only time the ports infrastructure itself should do this
> is if it isn't possible to pkg_delete the port cleanly if it's
> running. For example, if there is a file being held open that
> cannot be deleted unless the service is stopped ...

Which should be an exceedingly rare circumstance, since the fact
of some process(es) having a file open will not ordinarily prevent
the removal of any or all directory entries pointing to it.  The
inode and disk space won't actually be released until the last
such process closes the file, but another file could be created
having the same pathname as the one whose prior directory entry
was removed.

More information about the freebsd-ports mailing list