From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 9 14:30:29 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E17316A41F for ; Sun, 9 Oct 2005 14:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8965B43D62 for ; Sun, 9 Oct 2005 14:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j99EUH9h068070 for ; Sun, 9 Oct 2005 14:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j99EUHhv068069; Sun, 9 Oct 2005 14:30:17 GMT (envelope-from gnats) Resent-Date: Sun, 9 Oct 2005 14:30:17 GMT Resent-Message-Id: <200510091430.j99EUHhv068069@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Blatt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBFB516A41F for ; Sun, 9 Oct 2005 14:20:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C75643D53 for ; Sun, 9 Oct 2005 14:20:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j99EKlGG015406 for ; Sun, 9 Oct 2005 14:20:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j99EKlkw015405; Sun, 9 Oct 2005 14:20:47 GMT (envelope-from nobody) Message-Id: <200510091420.j99EKlkw015405@www.freebsd.org> Date: Sun, 9 Oct 2005 14:20:47 GMT From: Michael Blatt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/87163: current dnsmasq port init script is broken X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 14:30:29 -0000 >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: