| Summary: | Statically linking against glibc 2.21 results in broken uid/gid detection | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | alex hauras <d77190> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.24.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | busybox config | ||
*** Bug 8711 has been marked as a duplicate of this bug. *** I'm sorry, this is glibc-releated bug BZ-17250, and fix is available : https://www.sourceware.org/ml/libc-alpha/2015-08/msg00091.html |
Created attachment 6341 [details] 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.