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

Bug#754813: marked as done (libc6 version 2.19 breaks NSS loading for static binaries)



Your message dated Tue, 20 Oct 2015 23:11:50 +0200
with message-id <20151020211150.GA5662@aurel32.net>
and subject line Re: Bug#757941: Updated version does not fix the issue
has caused the Debian Bug report #757941,
regarding libc6 version 2.19 breaks NSS loading for static binaries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
757941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757941
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: glibc
Version: 2.19-5
Severity: normal

Dear maintainers,

since glibc 2.19 getpwuid() fails in a statically linked program (pw == NULL):

#include <unistd.h>
#include <sys/types.h>
#include <stdio.h>
#include <pwd.h>

int main()
{
    int uid;
    struct passwd *pw;

    uid=getuid();
    printf("UID=%d\n", uid);
    pw = getpwuid(uid);
    printf("Done.\n");
    if (pw)
        printf("Name=%s\n", pw->pw_name);
    else
        perror("Name=n/a (pw == NULL)");
    return 0;
}

This blocks 576238 [1].

Thanks,
Andrey


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576238

--- End Message ---
--- Begin Message ---
Version: 2.19-12

On 2014-11-09 21:44, Aurelien Jarno wrote:
> The bug *is* fixed in libc6 2.19-12, that said busybox-static version
> 1.22.0-9 is still statically against an older libc6. That's why you
> still see the problem.

Really closing the bug now.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: