I found another command that triggers this bug.
Running the command: "CFINPUTS=/usr/config/cfinputs
/opt/cfengine/sbin/cfengine --dry-run --no-splay -DHr20 -v"
Results: program aborts midway when the netgroup is delivered by NIS.
(netgroup: nis is set in nsswitch.conf)
As mentioned above, if "netgroup: files" is set in nsswitch.conf
the problem isn't triggered.
Key Error Message: " cfengine: nss_nis/nis-netgrp.c:78:
_nss_nis_setnetgrent: Assertion `len > 0' failed. "
Full Output:
#ROOT abode $ CFINPUTS=/usr/config/cfinputs /opt/cfengine/sbin/cfengine
--dry-run --no-splay -DHr20 -v
Setting cfengine new port to 48148
Setting cfengine old port to 5308
Reference time set to Thu Nov 30 16:09:19 2006
GNU Configuration Engine -
2.1.20
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, Norway
------------------------------------------------------------------------
Host name is: abode
Operating System Type is linux
Operating System Release is 2.6.17-2-686
Architecture = i686
Using internal soft-class linux for host linux
The time is now Thu Nov 30 16:09:19 2006
------------------------------------------------------------------------
Additional hard class defined as: 32_bit
Additional hard class defined as: linux_2_6_17_2_686
Additional hard class defined as: linux_i686
Additional hard class defined as: linux_i686_2_6_17_2_686
Additional hard class defined as:
linux_i686_2_6_17_2_686__1_SMP_Wed_Sep_13_16_34_10_UTC_2006
GNU autoconf class from compile time: compiled_on_linux_gnu
Address given by nameserver: 10.10.10.54
Interface 1: lo
Interface 2: eth0
Trying to locate my IPv6 address
Found IPv6 address addr:
Found IPv6 address fe80::230:48ff:fe2c:94a9
Found IPv6 address addr:
Looking for environment from cfenvd...
Unable to detect environment from cfenvd
cfengine:abode: No preconfiguration file
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
* (Changing context state to: update) *
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Looking for an input file /usr/config/cfinputs/update.conf
(No file /usr/config/cfinputs/update.conf)
Finished with /usr/config/cfinputs/update.conf
Skipping update.conf (-F=0)
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
* (Changing context state to: main) *
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
---------------------------------------------------------------------
Loading persistent classes
---------------------------------------------------------------------
---------------------------------------------------------------------
Loaded persistent memory
---------------------------------------------------------------------
Looking for environment from cfenvd...
Unable to detect environment from cfenvd
Looking for an input file /usr/config/cfinputs/cfagent.conf
cfengine: nss_nis/nis-netgrp.c:78: _nss_nis_setnetgrent: Assertion `len
> 0' failed.
Aborted
--
Ray Frush "Either you are part of the solution
T:970.288.6223 or part of the precipitate."
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Avago Technologies, Inc. | Technical Computing | IT Engineer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]