Date: Fri, 04 Mar 2011 19:17:20 +0100 From: Hilko Meyer <hilko.meyer@gmx.de> To: freebsd-stable@freebsd.org Subject: service(8) doesn't list dhcpd startscript Message-ID: <6v82n6934o8p7u4vpbde35dbnc41mjd4a5@4ax.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6v82n6934o8p7u4vpbde35dbnc41mjd4a5>