Summary: | sys-apps/busybox-1.5.13: everything is dynamically linked when USE=pam | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Component: | [OLD] Core system | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paweł Hajdan, Jr. (RETIRED)
2010-11-15 20:16:44 UTC
We do provide a default static binary unless +pam is set. In a later version of busybox I made the removed pam from the default inherit group for this very reason. The PM should be behaving here. *busybox-1.16.0 (14 Mar 2010) 14 Mar 2010; <solar@gentoo.org> +files/busybox-1.16.0-bb.patch, +busybox-1.16.0.ebuild: - Version bump. Convert EAPI=2 and disable pam by default. IUSE=-foo is easily overridden. Pawel: is your busybox built with USE=pam ? (In reply to comment #3) > Pawel: is your busybox built with USE=pam ? Yes, it is: [ebuild R ] sys-apps/busybox-1.15.3 USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 0 kB ive changed the logic to disable pam for the static build since USE=pam is the default settings and most people dont pay attention to busybox until it's too late (i.e. their system is gone) http://sources.gentoo.org/sys-apps/busybox/busybox-1.17.1-r1.ebuild?r1=1.2&r2=1.3 I think it's still broken: localhost ~ # emerge -1pv busybox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/busybox-1.17.4 USE="mdev pam -debug -ipv6 -make-symlinks -savedconfig (-selinux) -static" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB localhost ~ # ls -l /bin/busybox -rwxr-xr-x 1 root root 916520 Dec 21 21:59 /bin/busybox localhost ~ # file /bin/busybox /bin/busybox: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped localhost ~ # ldd /bin/busybox linux-gate.so.1 => (0xb77aa000) libm.so.6 => /lib/libm.so.6 (0xb776d000) libpam_misc.so.0 => /lib/libpam_misc.so.0 (0xb7769000) libc.so.6 => /lib/libc.so.6 (0xb7624000) libpam.so.0 => /lib/libpam.so.0 (0xb7617000) /lib/ld-linux.so.2 (0xb77ab000) libdl.so.2 => /lib/libdl.so.2 (0xb7612000) localhost ~ # ls -l /bin/bb lrwxrwxrwx 1 root root 7 Dec 21 21:59 /bin/bb -> busybox localhost ~ # ls -l /bin/busybox.static lrwxrwxrwx 1 root root 2 Dec 21 21:59 /bin/busybox.static -> bb not a regression, thus not a stable blocker the src_install needed tweaking too ... the build was fine http://sources.gentoo.org/sys-apps/busybox/busybox-1.17.4.ebuild?r1=1.2&r2=1.3 |