This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: static binaries & netgroups
On Fri, Feb 16, 2001 at 06:09:14PM +0100, Torsten Duwe wrote:
>
> >> static binary doing getpwuid() or such + "passwd: compat" in
> >> /etc/nsswitch.conf + "-@SOMEGROUP::::::" in /etc/passwd = crash.
>
> >> Reducing "compat" to "files nis" eliminates the problem, as does the
> >> removal of netgroup entries from passwd. Linking dynamically also
> >> helps.
>
> HJL> Please provide a complete testcase. I will look into it when I find
> HJL> time.
>
> H.J, I did not submit a standard bug report because a) much of the
> std. questionaire info doesn't seem to matter here, b) important bits (log in
> as NIS user, have netgroups in use) aren't asked for in the std. fields and
> c) I wasn't sure whether it's reproducable at other sites, hence...
>
> >> Can anyone confirm this ?
>
> Andreas, no 2.2.2 doesn't fix it.
>
> All: the test case _code_ is really trivial, but anyway:
>
I don't have netgroups. You have to tell me how to reproduce it,
assuming I don't use NIS and know every little about netgroups.
H.J.