Date: Sun, 9 Oct 2005 14:20:47 GMT From: Michael Blatt <michael.blatt@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/87163: current dnsmasq port init script is broken Message-ID: <200510091420.j99EKlkw015405@www.freebsd.org> Resent-Message-ID: <200510091430.j99EUHhv068069@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87163 >Category: ports >Synopsis: current dnsmasq port init script is broken >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 09 14:30:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Michael Blatt >Release: 5.4-SECURITY >Organization: >Environment: FreeBSD *local hostname* 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Wed Jul 20 08:57:11 UTC 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The dnsmasq port that was installed with 5.4-RELEASE was functioning properly. A cvsup to update the ports tree has probably loaded a new version of that port, which installs its initialisation script under /etc/rc.d/dnsmasq rather than /usr/local/etc/rc.d/dnsmasq.sh >From this point on, any subsequent reboots will ignore the dnsmasq_enables="YES" in rc.conf. You need to manually log into the machine and start it with /etc/rc.d/dnsmasq start It then works normally. This link suggests it is a general problem: http://www.bsdforums.org/forums/showthread.php?p=188651 >How-To-Repeat: - install 5.4-RELEASE - portinstall dnsmasq - check that /usr/local/etc/rc.d/dnsmasq.sh exists - enable dnsmasq in rc.conf - reboot - check that dnsmasq is running - update ports tree - portupgrade dnsmasq - check that /usr/local/etc/rc.d/dnsmasq.sh no longer exists - check that /etc/rc.d/dnsmasq exists - reboot - check that dnsmasq is not running after boot depsite rc.conf. >Fix: Not really a fix... but this works: ln -s /etc/rc.d/dnsmasq /usr/local/etc/rc.d/dnsmasq.sh >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510091420.j99EKlkw015405>