[Bug 1088677] Re: rtld: limit self loading check to normal mode only
Launchpad Bug Tracker
1088677 at bugs.launchpad.net
Tue Apr 23 15:36:31 UTC 2013
This bug was fixed in the package eglibc - 2.15-0ubuntu20.1
---------------
eglibc (2.15-0ubuntu20.1) quantal; urgency=low
* Add patch ubuntu/local-disable-nscd-netgroup-caching.diff to
disable netgroup caching in the default config (LP: #1068889)
* Backport any/cvs-malloc-deadlock.diff from upstream to prevent
glibc deadlocking in mallock arena retry paths (LP: #1081734)
* Fix futex issue (BZ #13844), backport from 2.16 (LP: #1091186)
* Drop patch any/local-disable-nscd-host-caching.diff, as this
bug was apparently resolved upstream a while ago (LP: #613662)
* Add patch any/cvs-ld-self-load.diff to restore ld.so's ability
to load itself, a behaviour accidentally removed (LP: #1088677)
* Drop dangling libnss_db.so symlink in libc6-dev (LP: #1088773)
-- Adam Conrad <adconrad at ubuntu.com> Sun, 27 Jan 2013 16:46:30 -0700
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1088677
Title:
rtld: limit self loading check to normal mode only
Status in “eglibc” package in Ubuntu:
Fix Released
Status in “eglibc” source package in Precise:
Fix Released
Status in “eglibc” source package in Quantal:
Fix Released
Bug description:
[Impact / Justification]
To be fair, this bug is (mostly) cosmetic, but when tools exit non-zero in scary ways, it can have knock-on effects elsewhere (to custom scripting, or just frightened users). The fix here is targeted, "obviously correct", and easily auditable, so I figured I'd pull it back to the LTS for a bit of polish.
[Test Case]
The SRU patch includes an addition to the glibc testsuite that tests that ld.so can now load itself correctly in a few different ways, but the easiest user verification is to run:
ldd /lib/ld-linux.so.2 (or /lib64/ld-linux-x86-64.so.2 on amd64)
And witness it fail before the upgrade, and work after.
[Regression Potential]
Regression potential here is low, the patch is from upstream, very simple, and it's quite clear what it does.
[Original Report]
Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault
that used to happen when rtld was loading itself in normal mode.
Unfortunately, that commit disallowed all modes of self loading,
including those that used to work before. This change limits the
check
for self loading to normal mode only, so that instruments like ldd
could
handle rtld properly.
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f3fd569c365ca5149fedbbc6c7a902aa1f8e5b60
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1088677/+subscriptions
More information about the foundations-bugs
mailing list