Is this a bug?

maryann:/home/root/inputs# cf-agent -KI -b test -f ./inetd.cf |tee 
/tmp/cfagent.out
 !!! No bundlesequence in the common control body
 >> Using command line specified bundlesequence
 -> Copying from 
maryann.dcpds.cpms.osd.mil:/var/cfengine_master/master_files/etc/inetd.conf
 -> Owner of /etc/inetd.conf was 0, setting to 2
 -> Group of /etc/inetd.conf was 3, setting to 2
 -> Object /etc/inetd.conf had permission 600, changed it to 440
Auto defining class auto__etc_inetd_conf
/usr/sbin/inetd -c promises to be executable but isn't

maryann:/home/root/inputs# ll /usr/sbin//inetd
-r-xr--r--   1 bin        bin         172380 Jun 20  2008 /usr/sbin//inetd

bundle agent test
{
vars:
        "masterfiles"   string  => "/var/cfengine_master/master_files";

commands:
    auto__etc_inetd_conf::
        "/usr/sbin/inetd -c";

files:
        "/etc/inetd.conf"
                copy_from       => force("/etc/inetd.conf");
}

body agent control
{
files_auto_define       => {
                        "/etc/inetd.conf",
                        };
}

body contain owner(owner)
{
exec_owner      => "$(owner)";
}
body depth_search recurse(d)
{
depth           => "$(d)";
}
body copy_from force(from)
{
servers         =>      { "maryann" };
source          =>      "$(masterfiles)$(from)";
compare         =>      "digest";
copy_backup     =>      "false";
preserve        =>      "true";
stealth         =>      "true";
trustkey        =>      "false";
}

This happens with Community 3.0.3 and 3.0.4.  I have other auto define commands 
that work fine - only have this problem with inetd so far.



The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by person or entities other than the 
intended recipient is prohibited.  If you received this in error, please 
contact the sender and delete the material from any computer.
postmas...@stginc.com
www.stginc.com

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to