[Bug 8706] New: Statically linking against glibc 2.21 results in broken uid/gid detection

bugzilla at busybox.net bugzilla at busybox.net
Tue Feb 23 06:58:55 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=8706

            Bug ID: 8706
           Summary: Statically linking against glibc 2.21 results in
                    broken uid/gid detection
           Product: Busybox
           Version: 1.24.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: d77190 at mail.ru
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 6341
  --> https://bugs.busybox.net/attachment.cgi?id=6341&action=edit
busybox config

Dynamically linked busybox:
# ./busybox whoami
root
# ./busybox groups
root bin daemon sys adm disk wheel floppy tape video

Statically linked busybox:
# ./busybox whoami
whoami: unknown uid 0

# ./busybox groups
0groups: unknown ID 0
 1groups: unknown ID 1
 2groups: unknown ID 2
 3groups: unknown ID 3
 4groups: unknown ID 4
 6groups: unknown ID 6
 10groups: unknown ID 10
 11groups: unknown ID 11
 26groups: unknown ID 26
 27groups: unknown ID 27

... And many other applets, which use text uid/gid names (for example login
cannot find user, etc)

glibc 2.21, gcc 4.9.3
tried compiling busybox with gcc -O0 with same error.

--- Comment #1 from alex hauras <d77190 at mail.ru> ---
*** Bug 8711 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list