help-cfengine
[Top][All Lists]
Advanced

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

Re: segmentation fault on linux


From: Frank Smith
Subject: Re: segmentation fault on linux
Date: Wed, 30 Apr 2003 11:17:51 -0500

It can also segfault on Debian boxes if nsswitch.conf contains
references to db and you aren't using db (Debian puts 'db' before
'files' for most services by default).

Frank

--On Wednesday, April 30, 2003 10:29:47 -0500 "Wipf, Stefan" 
<Stefan.wipf@gs.com> wrote:

Symptom:
 cfagent exits with 'segmentation fault' under linux

Cause:
 bug in libc.  Calls to getpwnam misbehave when binaries are
 linked statically, the username in question is not explicitly
 listed in /etc/passwd and /etc/passwd contains NIS netgroup
 entries of the form +@somegroup

Workaround/Solutions:
 Link dynamically or remove all netgroup entries of the form
 +@somegroup from /etc/passwd or list all users used in the
 cfengine config files explicitly in /etc/passwd


--
Stefan Wipf
swipf@htc.com


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine



--
Frank Smith                                             fsmith@hoovers.com
Systems Administrator                                  Voice: 512-374-4673
Hoover's Online                                          Fax: 512-374-4501




reply via email to

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