Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2012 20:42:46 GMT
From:      John Polstra <jdp@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170569: sysutils/sec does not start automatically at boot time
Message-ID:  <201208122042.q7CKgknD028263@red.freebsd.org>
Resent-Message-ID: <201208122050.q7CKo100068990@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170569
>Category:       ports
>Synopsis:       sysutils/sec does not start automatically at boot time
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 12 20:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Polstra
>Release:        9.0-RELEASE-p4
>Organization:
>Environment:
FreeBSD rock.polstra.com 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #29: Sun Aug 12 12:04:16 PDT 2012     jdp@rock.polstra.com:/usr/obj/usr/src/sys/ROCK  amd64
>Description:
Among other ports, I have a standard installation of sysutils/sec on this machine.  Here are the relevant lines in /etc/rc.conf:

sec_enable="YES"
sec_flags="-syslog=daemon -debug=4 -intevents \
    -input=/var/log/auth.log -input=/var/log/maillog"

When I reboot the machine, sec does not start up.  All of my other daemon-based ports start as they should.  There are no error messages concerning sec.

After the machine has booted, I can start sec manually without any problems:

rock# /usr/local/etc/rc.d/sec status
sec is not running.
rock# /usr/local/etc/rc.d/sec start
Performing sanity check of sec configuration: OK
Starting sec.
SEC (Simple Event Correlator) 2.5.1
Changing working directory to /
Reading configuration from /usr/local/etc/sec.conf
rock# 

I cannot see anything unusual in sec's startup script, yet it consistently is ignored by the rc subsystem at boot time.

>How-To-Repeat:
Install sysutils/sec.  Add "sec_enable=YES" to /etc/rc.conf.  Reboot.  See if sec starts up automatically.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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