Summary: | >=sys-libs/glibc-2.12 statically linked C call to getpwuid() broken | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | pod <pod+gentoo-bugs> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darwinskernel, jaak, mig, quickhelp, throw_away_2002 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | http://sourceware.org/bugzilla/show_bug.cgi?id=11929 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 332927 | ||
Bug Blocks: |
Description
pod
2011-05-20 20:46:36 UTC
known issue. dont use static linking. *** Bug 368391 has been marked as a duplicate of this bug. *** Spanky: Thanks for the update to my bug :) Do you have a reference to whom/where the issue is known? - e.g. does upstream know about this? Do you know if someone is working on it - or - will I have to live without a static openssh version for a (very long?) while now? And finally I am wondering: If this a known issue: It is possible to mask useflags for packages, right? --> Wouldn't it be a good idea to mask the "static" useflags for packages like openssh? read the URL i linked in already The same result with getpwnam(), getpwnam_r(), etc. NSS is pluggable, it loads nss_compat.so, etc. on the fly => static linking may not work even if the bug is resolved. This bug causes a lot of troubles, because many programs use this call. I had problems with daemontools and runit, for instance. *** Bug 379565 has been marked as a duplicate of this bug. *** *** Bug 379567 has been marked as a duplicate of this bug. *** *** Bug 384153 has been marked as a duplicate of this bug. *** this will be fixed in glibc-2.15. not sure if i'll try and cut a patch for glibc-2.1{2,3,4}* though ... glibc-2.15 is in the tree now *** Bug 414843 has been marked as a duplicate of this bug. *** I don't think this is fixed. I get the same "no such user"/"no such group" id/chgrp issue on a stable-keyworded amd64 Gentoo system installed yesterday with USE=static. Latest stable glibc is 2.19-r1. (In reply to Jaak Ristioja from comment #12) please file a new bug with exact details as to how to reproduce it |