From owner-freebsd-stable@FreeBSD.ORG Fri Mar 4 18:55:03 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AAEF106564A for ; Fri, 4 Mar 2011 18:55:03 +0000 (UTC) (envelope-from hilko.meyer@gmx.de) Received: from kirk.hochpass.uni-hannover.de (kirk.hochpass.uni-hannover.de [130.75.81.215]) by mx1.freebsd.org (Postfix) with ESMTP id 257CC8FC27 for ; Fri, 4 Mar 2011 18:55:02 +0000 (UTC) Received: from ROGERS.hochpass.uni-hannover.de (rogers.hochpass.uni-hannover.de [130.75.81.217]) by kirk.hochpass.uni-hannover.de (8.14.4/8.14.4) with SMTP id p24IHZiP042560 for ; Fri, 4 Mar 2011 19:17:35 +0100 (CET) (envelope-from hilko.meyer@gmx.de) From: Hilko Meyer To: freebsd-stable@freebsd.org Date: Fri, 04 Mar 2011 19:17:20 +0100 Message-ID: <6v82n6934o8p7u4vpbde35dbnc41mjd4a5@4ax.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: service(8) doesn't list dhcpd startscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 18:55:03 -0000 Hi, today I played a bit with service(8) and I noticed that it doesn't properly detects the isc-dhcpd-startscript. System is 7.3-RELEASE-p4. 'service -l' lists isc-dhcpd but 'service -e' doesn't lists it: | hilti@kirk:~> service -l | grep dhcp | isc-dhcpd | hilti@kirk:~> service -e | grep dhcp | hilti@kirk:~> /usr/local/etc/rc.d/isc-dhcpd rcvar | # dhcpd | dhcpd_enable=YES Some more info: | hilti@kirk:~> pkg_info -xI dhcp | isc-dhcp31-server-3.1.ESV,1 The ISC Dynamic Host Configuration Protocol server | hilti@kirk:~> ls -l /usr/local/etc/rc.d/ | total 42 | -r-xr-xr-x 1 root wheel 5612 2 Feb 17:21 apache22 | -r-xr-xr-x 1 root wheel 508 25 Feb 17:57 cupsd | -r-xr-xr-x 1 root wheel 1731 2 Feb 17:21 htcacheclean | -r-xr-xr-x 1 root wheel 16875 20 Okt 17:30 isc-dhcpd | -r-xr-xr-x 1 root wheel 713 20 Okt 17:14 mailman | -r-xr-xr-x 1 root wheel 1966 8 Feb 19:49 mysql-server | -r-xr-xr-x 1 root wheel 5037 2 Mär 19:29 samba | -r-xr-xr-x 1 root wheel 529 26 Aug 2009 scanlogd | -r-xr-xr-x 1 root wheel 890 20 Okt 17:13 smartd htcacheclean is not enabled, but all other scripts are enabled. In /var/log/messages I found | Mar 4 18:41:29 kirk hilti: /usr/sbin/service: WARNING: $htcacheclean_enable is not set properly - see rc.conf(5). but it seems unrelated to the dhcpd-problem. I removed the htcacheclean script but 'service -l' stil doesn't lists the dhcpd service. Whar can I do to fix this problem? Thanks, Hilko