From owner-freebsd-rc@FreeBSD.ORG Wed Jul 21 07:58:27 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 447C916A4CF for ; Wed, 21 Jul 2004 07:58:27 +0000 (GMT) Received: from fillmore.dyndns.org (port-212-202-50-15.dynamic.qsc.de [212.202.50.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6B3C43D5E for ; Wed, 21 Jul 2004 07:58:24 +0000 (GMT) (envelope-from eikemeier@fillmore-labs.com) Received: from dhcp-13.local ([172.16.0.13] helo=dhcp-11.local) by fillmore.dyndns.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.40 (FreeBSD)) id 1BnBzZ-000H7c-Il; Wed, 21 Jul 2004 09:58:24 +0200 Date: Wed, 21 Jul 2004 09:59:21 +0200 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) To: Paul Schmehl From: Oliver Eikemeier In-Reply-To: <2147483647.1090366876@[192.168.2.102]> Message-Id: Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: freebsd-rc@freebsd.org Subject: Re: rc script won't start daemon on reboot X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 07:58:27 -0000 Paul Schmehl wrote: > [...] > I've written a very simple rc script using the new format and rc.subr. > The script works fine from the commandline > (start|stop|restart|rcvar|status|poll), but when the server is > rebooted, the script fails to start the daemon. There are no errors in > /var/log/messages or in the extractor.log file, and the daemon is too > simplistically written to have a debug or verbose switch. Any ideas > what the problem could be? > [...] Try echo 'rc_debug="YES"' >> /etc/rc.conf and look at the trace info in /var/log/messages. -Oliver