Package: cfengine2 Version: 2.1.20-1 Severity: normal The manual page for cfagent says that it reads cfengine.conf, but this is not true: straceing a cfagent shows that it cares only about cfagent.conf and that only in ~/.cfagents/input, never the current directory (unless CFINPUTS is set).
This misleading info is present in two places, line 24 and line 56. It would be perfect if the default input directory was mentioned a bit more explicitely (e.g. as a comment where CFINPUTS is discussed). to reproduce: $ unset CFINPUTS $ strace /usr/sbin/cfagent -p -v 2>&1|fgrep .conf ... stat64("/home/az/.cfagent/inputs/cfagent.conf", 0xbfadf998) = -1 ENOENT (No such file or directory) Looking for an input file /home/az/.cfagent/inputs/cfagent.conf (No file /home/az/.cfagent/inputs/cfagent.conf) Finished with /home/az/.cfagent/inputs/cfagent.conf Also, CFINPUTS must be an absolute path or it is silently ignored. to reproduce, produce a cfagent.conf with some dummy classes somewhere, move to that dir and try CFINPUTS=. /usr/sbin/cfagent -p -v which returns: "CFINPUTS was not an absolute path, overriding with /home/az/.cfagent" Please include that bit of information in the manpage as well. regards az -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (990, 'stable'), (980, 'testing'), (970, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20.7 Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1) Versions of packages cfengine2 depends on: ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii debianutils 2.17 Miscellaneous utilities specific t ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libdb4.2 4.2.52+dfsg-2 Berkeley v4.2 Database Libraries [ ii libssl0.9.8 0.9.8c-4 SSL shared libraries ii perl 5.8.8-7 Larry Wall's Practical Extraction cfengine2 recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]