When running cfagent as 'usera' on a host, with a control: line
including 'access = ( root )', I get the following output:

[snip]
Negated Classes = ( )

Installable classes = ( no_default_route Restart )

Global expiry time for locks: 30 minutes

Global anti-spam elapse time: 1 minutes

Extensions which should not be directories = ( )
Suspicious filenames to be warned about = ( )
cfengine:xxxx:/tmp/dirs/usera/.cfagent/inputs/globals/restartcfe.conf:Ac
cess denied

At this point CFE aborts. This is occuring inside the
CheckSystemVariables function in cfagent.c. The error message is being
triggered by the 'import' action, but it has nothing to do with
importing restartcfe.conf.  The error message should be updated to say
something like 'Access denied: user not listed in access line' to
indicate the real nature of the problem instead of causing wild goose
chases about the privileges set on restartcfe.conf.

Thank you,
-Jason Martin


_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cfengine

Reply via email to