sysutils/healthd has several command line options not available through the config file (as far as I can tell). The only way to tweak these is to edit the rc script; however, the port installs it as $PREFIX/etc/rc.d/healthd.sh - on upgrading, any previously installed and potentially edited script is overwritten, which can cause anything from the wrong config file to be loaded, to the daemon restarting on an unexpected network interface. Fix: Install healthd.sh.sample. Let the user merge if needed. How-To-Repeat: Install the port, edit healthd.sh to set, for example, only bind to lo (-l); reinstall the port, note the changes are overwritten, so the daemon restarts bound to all interfaces.
Responsible Changed From-To: freebsd-ports->jeh over to maintainer
According to the make file: post-install: @if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \ ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh; \ fi The healthd.sh is only installed if there isn't one there already. Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net jhousley@SimTel.Net http://www.SimTel.Net --------------------------------------------------------------------- Unix is very user-friendly. It's just picky who its friends are.
State Changed From-To: open->feedback Waiting for an answer from submitter
* James E. Housley (jeh@FreeBSD.org) wrote: > Synopsis: sysutils/healthd overwrites startup script > http://www.freebsd.org/cgi/query-pr.cgi?pr=40109 a portupgrade -f healthd produces: pkg_delete: `/usr/pkg/etc/rc.d/healthd.sh' fails original MD5 checksum - deleted anyway. Not good. -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - Please keep your hands off the secretary's reproducing equipment.
State Changed From-To: feedback->closed Problem fixed.