Hi. I am using cfengine 2.1.19p1 to manage several hundred machines running RedHat Enterprise 4. I'm pulling group membership information from netgroups (stored in LDAP) using a line like this:
#OIC Nodes group oicnodes = ( +oicnodes ) This was working fine this morning using CfEngine 2.1.18. I compiled and upgraded to 2.1.19p1 later this morning, and it stopped working. Nothing else has changed and when I switched back to 2.1.18 on one of my clients, it works fine. It also works fine if I hard code the hostnames into my groups file, but I find it much easier to use netgroups, especially with this many hosts. As you can see below, the machine no longer believes that it is part of the "oicnodes" class when running 2.1.19p1. Any ideas? Jim 2.1.18 ****************************** ** GNU Configuration Engine - 2.1.18 Free Software Foundation 1994- Donated by Mark Burgess, Faculty of Engineering, Oslo University College, 0254 Oslo, Norway ------------------------------------------------------------------------ Host name is: b03n012.oic.example.com Operating System Type is linux Operating System Release is 2.6.9-22.0.2.ELsmp Architecture = x86_64 Using internal soft-class linux for host linux The time is now Wed Mar 8 08:43:09 2006 ------------------------------------------------------------------------ Additional hard class defined as: 64_bit Additional hard class defined as: linux_2_6_9_22_0_2_ELsmp Additional hard class defined as: linux_x86_64 Additional hard class defined as: linux_x86_64_2_6_9_22_0_2_ELsmp Additional hard class defined as: linux_x86_64_2_6_9_22_0_2_ELsmp__1_SMP_Thu_Jan_5_17_11_56_EST_2006 GNU autoconf class from compile time: compiled_on_linux_gnu Address given by nameserver: 172.16.1.14 Interface 1: lo Interface 2: eth0 Trying to locate my IPv6 address Looking for environment from cfenvd... Unable to detect environment from cfenvd cfengine:: No preconfiguration file $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ * (Changing context state to: main) * $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ --------------------------------------------------------------------- Loading persistent classes --------------------------------------------------------------------- --------------------------------------------------------------------- Loaded persistent memory --------------------------------------------------------------------- Looking for environment from cfenvd... Unable to detect environment from cfenvd Manually overidden relative path (/var/cfengine/inputs/cfagent.conf) Looking for an input file /var/cfengine/inputs/cfagent.conf Looking for an input file cf.groups Looking for an input file cf.main Looking for an input file cf.copy Looking for an input file cf.editfiles Looking for an input file cf.files Looking for an input file cf.shellcommands Looking for an input file cf.tidy Looking for an input file cf.nodes Finished with /var/cfengine/inputs/cfagent.conf Accepted domain name: oic.example.com Defined Classes = ( 172_16_1 172_16_1_14 64_bit Day8 Hr08 Hr08_Q3 March Min40_45 Min43 Q3 Wednesday Yr2006 any b03n012 b03n012_oic_example_com block3nodes cfengine_2 cfengine_2_1 cfengine_2_1_18 compiled_on_linux_gnu com ipv4_172 ipv4_172_16 ipv4_172_16_1 ipv4_172_16_1_14 linux linux_2_6_9_22_0_2_ELsmp linux_x86_64 linux_x86_64_2_6_9_22_0_2_ELsmp linux_x86_64_2_6_9_22_0_2_ELsmp__1_SMP_Thu_Jan_5_17_11_56_EST_2006 net_iface_eth0 net_iface_lo oic_example_com oicnodes example_com redhat redhat_ws redhat_ws_4 x86_64 ) Negated Classes = ( ) Installable classes = ( no_default_route new_ntp new_sshd new_gmond ) 2.1.19p1 ***************************************** Address given by nameserver: 172.16.1.14 Interface 1: lo Interface 2: eth0 Trying to locate my IPv6 address Looking for environment from cfenvd... Unable to detect environment from cfenvd cfengine:: No preconfiguration file $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ * (Changing context state to: main) * $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ --------------------------------------------------------------------- Loading persistent classes --------------------------------------------------------------------- --------------------------------------------------------------------- Loaded persistent memory --------------------------------------------------------------------- Looking for environment from cfenvd... Unable to detect environment from cfenvd Manually overidden relative path (/var/cfengine/inputs/update.conf) Looking for an input file /var/cfengine/inputs/update.conf Finished with /var/cfengine/inputs/update.conf Defined Classes = ( 172_16_1 172_16_1_14 64_bit Day8 Hr08 Hr08_Q3 March Min40_45 Min44 Q3 VMWare_ESX Wednesday Yr2006 _ any b03n012 b03n012_oic_example_com cfengine_2 cfengine_2_1 cfengine_2_1_19p1 compiled_on_linux_gnu com ipv4_172 ipv4_172_16 ipv4_172_16_1 ipv4_172_16_1_14 linux linux_2_6_9_22_0_2_ELsmp linux_x86_64 linux_x86_64_2_6_9_22_0_2_ELsmp linux_x86_64_2_6_9_22_0_2_ELsmp__1_SMP_Thu_Jan_5_17_11_56_EST_2006 net_iface_eth0 net_iface_lo oic_example_com example_com redhat redhat_ws redhat_ws_4 x86_64 ) Negated Classes = ( ) Installable classes = ( no_default_route ) _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
