Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 21:43:36 -0500 (CDT)
From:      Bob Van Valzah <Bob@VanValzah.Com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51548: cfexecd from cfengine2 port has wrong path to cfagent
Message-ID:  <200304290243.h3T2haRB061609@Bastion.VanValzah.Com>
Resent-Message-ID: <200304290250.h3T2o7Xi091809@freefall.freebsd.org>

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

>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@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:



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