Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88438 - gzip: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
Summary: gzip: error while loading shared libraries: cannot make segment writable for ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 01:41 UTC by Didier Conchaudron
Modified: 2005-04-21 18:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Didier Conchaudron 2005-04-09 01:41:17 UTC
I run 2.6.7-hardened-r9 and each time I use Gzip I got this message, for example:
# emerge vim

[...]

>>> Unpacking vim-6.3-lang.tar.gz to /var/tmp/portage/vim-core-6.3.068/work
gzip: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
tar: Child returned status 127
tar: Error exit delayed from previous errors

!!! ERROR: app-editors/vim-core-6.3.068 failed.
!!! Function unpack, Line 375, Exitcode 2
!!! failure unpacking vim-6.3-lang.tar.gz

I got the same problem at boot while gentoo is loading keymap...so it's a bit of a problem :-/

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Maybe the hardened kernel is responsible of this problem.
Comment 1 solar (RETIRED) gentoo-dev 2005-04-09 06:56:04 UTC
user error

You either enabled PAX_NOELFRELOCS in your kernel or did not enable the pic USE flag on gzip.
Comment 2 Didier Conchaudron 2005-04-11 14:22:59 UTC
ok in fact you're right solar, it was me :-/

this bug can be close now.
Comment 3 Adam Mondl (RETIRED) gentoo-dev 2005-04-21 18:41:07 UTC
Closed from comment #2