Good day all,

As far as I can tell, this is not related to the problem in the "Insecure 
dependency in sprintf" thread dated 9/20/13. Certainly none of the fixes in 
that thread worked for me, and the error shows up in a different section of 
services.pm.

Upgrading to pf 4.0.6-2 from 4.0.5-2, using yum
Fully updated CentOS 6.5

The error is triggered by restarting or attempting to get status using 
"bin/pfcmd service pf", if snort is running. The specific error is:

[root@pf-test pf]# bin/pfcmd service pf status
service|shouldBeStarted|pid
pfdns|1|3508
dhcpd|1|3492
pfdetect|1|3509
Insecure dependency in `` while running with -T switch at 
/usr/local/pf/lib/pf/services.pm line 275, <DATA> line 522.
>> Note the undefined "in ``"

Line 275 in services.pm is where $pid for snort is picked up from the pid file 
via a backtick call, but it's apparently dieing on that call – a print 
statement before line 275 works file, another right after never prints. The pid 
file exists and has the correct pid every time I look at it

As far as I can tell, this is a configuration error on my part involving the 
definition of the monitor interface. But I can't figure out the config problem, 
and maybe the failure mode could be better? Help?

Thank you for your time,

Tim Palmer

My pf.conf (copied direct from 4.0.5 install):

[root@pf-test pf]# cat conf/pf.conf | grep -v '#'
[general]
domain=<snip>
hostname=pftest
dnsservers=<AD DNS servers>
dhcpservers=<AD DHCP servers>
timezone=America/New_York

[trapping]
range=10.10.32.0/24
detection=enabled

[alerting]
emailaddr=<snip>
fromaddr=<snip>

[database]
pass=<snip>

[interface eth0.120]
enforcement=vlan
ip=10.10.32.29
type=internal
mask=255.255.255.0

[interface eth0.125]
type=dhcp-listener
ip=192.168.125.1
mask=255.255.255.0

[interface eth0.30]
ip=10.10.30.240
type=management
mask=255.255.255.0
gateway=10.10.30.1

[interface eth1]
type=monitor
ip=192.168.200.1
mask=255.255.255.0
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to