bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

poorly worded error message


From: Martin, Jason H
Subject: poorly worded error message
Date: Thu, 8 Sep 2005 09:34:28 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]