ports/188635: port security/sshguard doesn't start without explicit pidfile

JMV banshee at abattoir.com
Mon Apr 14 23:10:00 UTC 2014


>Number:         188635
>Category:       ports
>Synopsis:       port security/sshguard doesn't start without explicit pidfile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 23:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     JMV
>Release:        FreeBSD 9.2-RELEASE-p4 amd64
>Organization:
just-another-unix-hacker
>Environment:
System: FreeBSD gabriella.abattoir.com 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0: Tue Apr 8 18:08:22 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
	/usr/local/etc/rc.d/sshguard silently fails to start if sshguard_pidfile is not defined in /etc/rc.conf because the start script refers to the wrong variable.

>How-To-Repeat:
	Install security/sshguard
	Ensure rc.conf contains sshguard_enable="YES"
	Ensure rc.conf does not contain sshguard_pidfile
	$ service sshguard start
	Silently fails to start.
>Fix:
command_args="-cf ${actual_command} -b ${sshguard_blacklist} ${sshguard_watch_params} -a ${sshguard_safety_thresh} -p ${sshguard_pardon_min_interval} -s ${sshguard_prescribe_interval} -w ${sshguard_whitelistfile} -i ${sshguard_pidfile}"

should be

command_args="-cf ${actual_command} -b ${sshguard_blacklist} ${sshguard_watch_params} -a ${sshguard_safety_thresh} -p ${sshguard_pardon_min_interval} -s ${sshguard_prescribe_interval} -w ${sshguard_whitelistfile} -i ${pidfile}"

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


More information about the freebsd-ports-bugs mailing list