Bug 1317238
Summary: | possible ld-linux.so.2 misbehaviour detected | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ali Akcaagac <aliakc> |
Component: | glibc | Assignee: | Carlos O'Donell <codonell> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | arjun.is, codonell, dj, fweimer, jakub, law, mfabian, pfrankli, siddhesh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-13 11:41:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ali Akcaagac
2016-03-13 09:20:24 UTC
(In reply to Ali Akcaagac from comment #0) > What should work - at least from the manuals - is this: > > /.fedora/usr/lib/ld-linux.so.2 --library-path /.fedora/usr/lib mv Please capture the output of: LD_DEBUG=all /.fedora/usr/lib/ld-linux.so.2 --library-path /.fedora/usr/lib mv We also need the exact versions (NVRs) of the glibc libraries involved. (In reply to Florian Weimer from comment #1) > We also need the exact versions (NVRs) of the glibc libraries involved. I have to apologize! This was my fault! During hot-swap there was no PATH set to /.fedora/bin, therefore the ld-linux.so.2 loader wasn't able to load any of the commands, because it couldn't find them. The glibc and the files involved are all from the glibc-2.21-13.fc22.i686 package. The solution was to either export or set a PATH or using absolute path within the ld.so call. My *crude* but valid solution from this morning looks like this: ;--- begin test.sh --- ROOT1="/" PATH1="/.cdrom" PATH2="/.cdrom-" LDSO1="${PATH1}/usr/lib/ld-linux.so.2 --library-path ${PATH1}/usr/lib" FILE1="${PATH1}/usr/bin/rm --force --recursive" FILE2="${PATH1}/usr/bin/mv --force --verbose" FILE3="${ROOT1}/usr/bin/rm --force --recursive" FILE4="${ROOT1}/usr/bin/mv --force --verbose" LIST1="${ROOT1}/bin ${ROOT1}/boot ${ROOT1}/etc ${ROOT1}/home ${ROOT1}/lib ${ROOT1}/lost+found ${ROOT1}/media ${ROOT1}/mnt ${ROOT1}/opt ${ROOT1}/root ${ROOT1}/sbin ${ROOT1}/srv ${ROOT1}/tmp ${ROOT1}/usr ${ROOT1}/var ${ROOT1}/.autorelabel ${ROOT1}/.readahead" LIST2="${PATH1}/bin ${PATH1}/boot ${PATH1}/etc ${PATH1}/home ${PATH1}/lib ${PATH1}/lost+found ${PATH1}/media ${PATH1}/mnt ${PATH1}/opt ${PATH1}/root ${PATH1}/sbin ${PATH1}/srv ${PATH1}/tmp ${PATH1}/usr ${PATH1}/var ${PATH1}/.autorelabel ${PATH1}/.readahead" ${LDSO1} ${FILE1} ${LIST1} ${LDSO1} ${FILE2} ${LIST2} ${ROOT1} ${FILE3} ${PATH1} ${FILE4} ${PATH2} ${PATH1} ;--- end test.sh --- |