Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 20:18:10 -0500
From:      "Dave" <dave@hawk-systems.com>
To:        "John-David Childs" <jdc@nterprise.net>
Cc:        <questions@freebsd.org>
Subject:   RE: no longer processing rc.d directives on reboot...
Message-ID:  <DBEIKNMKGOBGNDHAAKGNMEADMPAA.dave@hawk-systems.com>
In-Reply-To: <1015452778.15496.107.camel@lohr>

next in thread | previous in thread | raw e-mail | index | archive | help
no unterminated strings in /etc/rc.conf
the local_startup is contained within the /etc/defaults/rc.conf and is not
overridden in /etc/rc.conf

/etc/rc.conf contains...
# -- sysinstall generated deltas -- #
# Created: Sat Jun 16 12:51:10 2001
# Enable network daemons for user convenience.
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.
defaultrouter="206.47.131.1"
hostname="web1.nexusinternetsolutions.net"
ifconfig_fxp0="inet XXX.XX.XXX.12 netmask 255.255.255.0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_lo0_alias0="inet XXX.XX.XXX.12"
inetd_enable="YES"
kern_securelevel_enable="NO"
keyrate="fast"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
sendmail_enable="NO"
#inetd_flags="-wW -a XXX.XX.XXX.12"
#portmap_enable="NO"
#syslogd_flags="-ss"
#enable_quotas="YES"
quota_enable="YES"
check_quotas="YES"

in /etc/defaults/rc.conf the line you mentioned is clearly in there
<snip>
pccardd_flags=""        # Additional flags for pccardd.
pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
fsck_y_enable="NO"      # Set to YES to do fsck -y if the initial preen fails.
<snip>

and no changes have been made to the permissions of the rc.d directory
web5# pwd ; ls -la
/usr/local/etc/rc.d
total 18
drwxr-xr-x  2 root  wheel   512 Mar  6 16:47 .
drwxr-xr-x  7 root  wheel   512 Dec 18 01:41 ..
-rwxr-x---  1 root  wheel   201 Aug 30  2001 00mysql-client.sh
-r-xr-xr--  1 root  pgsql   835 Sep 28 08:19 010.pgsql.sh
-rwxr-x--x  1 root  wheel   446 Sep  7 01:36 apache.sh
-rwxr-xr-x  1 root  wheel  1434 Jun 26  2001 imapd-ssl.sh
-rwxr-xr-x  1 root  wheel  1409 Jun 26  2001 imapd.sh
-rwxr-x---  1 root  wheel   332 Jun 26  2001 mysql-server.sh
-rwxr-xr-x  1 root  wheel  1408 Jun 26  2001 pop3d-ssl.sh
-rw-r--r--  1 root  wheel   232 Jul  1  2001 proftpd.sh.sample
-rwxr-x--x  1 root  wheel  2131 Aug 30  2001 qmail.sh
-r-xr-xr-x  1 root  wheel   513 Jun 26  2001 slapd.sh.sample
-rwxr-x--x  1 root  wheel   349 Jan 23 04:06 snmpd.sh

Totally at a loss here as to why the rc.d directory is not being processed on
reboot.

Dave

>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of John-David
>Childs
>Sent: Wednesday, March 06, 2002 5:13 PM
>To: Dave
>Cc: questions@freebsd.org
>Subject: Re: no longer processing rc.d directives on reboot...
>
>
>Standard answer is to check all rc.conf lines immediately above/below
>the change (especially for unterminated strings), but specifically look
>for
>
>local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"
>
>in your /etc/rc.conf and/or /etc/default/rc.conf file(s).
>
>Also check the permissions on /usr/local/etc/rc.d and all files therein,
>to make sure the execute bit is set.
>
>On Wed, 2002-03-06 at 14:47, Dave wrote:
>> remote machine, 4.3 release
>> recently did a reboot of the server, and had to manually run each
>script in the
>> /usr/local/etc/rc.d directory.  The only change made (to my knowledge) was
>> adding enable_quotas="YES" to the rc.conf
>>
>> Nothing in the messages log (AFAIK rc dumps to terminal not to logs
>by default)
>> and the system is about an hours drive away.
>>
>> Anyway to determine the cause of this?
>>
>> Dave
>>
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNMEADMPAA.dave>