Re: segmentation fault on linux

From:

Frank Smith

Subject:

Re: segmentation fault on linux

Date:

Sun, 08 Jun 2003 23:42:53 -0500

--On Monday, June 09, 2003 03:13:35 +0000 Christopher Browne <address@hidden>
wrote:
> The world rejoiced as Frank Smith <address@hidden> wrote:
>> 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).
>
> That seems to be the root of my present problems.
>
> What's the resolution? I changed over, thus:
>
># protocols: db files
># services: db files
># ethers: db files
># rpc: db files
> protocols: files
> services: files
> ethers: files
> rpc: files
>
> I restarted nscd, which seems the only thing that's "running" that
> should be reading that, right? Or is there something else I need to
> restart?
I never had to restart anything, I'd just edit nsswitch.conf and run
/var/cfengine/sbin/cfagent -v -q
to check if it was working. Have you tried an strace of the above if
it still isn't working?
Frank