ports/51548: cfexecd from cfengine2 port has wrong path to cfagent

Bob Van Valzah Bob at VanValzah.Com
Tue Apr 29 02:50:08 UTC 2003


>Number:         51548
>Category:       ports
>Synopsis:       cfexecd from cfengine2 port has wrong path to cfagent
>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 28 19:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bob Van Valzah
>Release:        FreeBSD 4.7-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD Bastion.VanValzah.Com 4.7-RELEASE-p10 FreeBSD 4.7-RELEASE-p10 #3: Thu Apr 3 22:52:31 CST 2003 bob at Bastion.VanValzah.Com:/usr/obj/usr/src/sys/BASTION i386


>Description:
	The cfexecd command from the cfengine2 port tries to run cfagent
	from $WORKDIR/sbin/cfagent (/var/cfengine/sbin/cfagent) but the
	port actually (and corectly) installs cfagent in $PREFIX/sbin/cfagent
	(/usr/local/sbin/cfagent).
>How-To-Repeat:
	portinstall cfengine2
	cfexecd -F always fails saying sysadmin is unconfigured
	(That's because it's trying to run cfagent -z from the wrong
	path.)
>Fix:

	$PREFIX has to get into a header file somehow, then cfexecd.c
	has to change (3 places) where it's building the pathname to
	cfagent.  There may be other places in other files.

	BTW, I think cfengine 2.0.4 is out, so it'd be nice to upgrade to
	that too.

	Thanks!

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



More information about the freebsd-ports-bugs mailing list