This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Various] Digested Articles



Hi libc developers,

has anybody an idea what's broken?  We had a number of similar bug
reports...

Andreas



Topics:
   libc/2474: check fail - testgrp, posix (getpwuid( ) report: cannot find User entry ...)
   Re: libc/2474: contents of my nsswitch.conf



>Number:         2474
>Category:       libc
>Synopsis:       check fail - testgrp, posix (getpwuid( ) report: cannot find User entry ...)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    libc-gnats
>State:          open
>Quarter:        
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   gnatsweb
>Arrival-Date:   Mon Aug 13 19:18:10 -0400 2001
>Cases:          
>Originator:     szaszg@elender.hu
>Release:        glibc 2.2.3
>Organization:

>Environment:
AMD-K6-II 450, debian-gnu-linux (debian 2.2r2)
glibc 2.1.3 (I try with glibc 2.2.2), kernel-2.4.6 (and I try with 2.2.18)
configure with '--prefix=/usr', gcc-2.95 (I try with gcc-3.0)
>Description:
make check fail! The testgrp.out contain: Cannot find user entry for UID 1000
then, if I run make check once more, it pass the grptest (because the 'testgrp.out' exist!), and the posixtest get fail!

So, if I install the library, I can't login! (may the new getpwuid() realy doesn't find the user ID's!!)

I try to compile the library with different environment (kernels, under different users, different  gcc-s, but the result is always the same.
>How-To-Repeat:
It is repeated always!
>Fix:
I don't know, because the source code of getpwuid() is full of macros.
>Unformatted:
 






Hi Andreas!

I don't touch my /etc/nsswitch.conf (I think). Here is:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis



Thanks a lot!!

Gergely Szász







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]