Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385437 - PAX failed -m
Summary: PAX failed -m
Status: RESOLVED DUPLICATE of bug 164504
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 00:21 UTC by josan_pansa
Modified: 2011-10-03 15:25 UTC (History)
1 user (show)

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


Attachments
details of error in paquets (pax-m.txt,100 bytes, text/plain)
2011-10-03 01:02 UTC, josan_pansa
Details
esplicyting more (pax-m.txt,187 bytes, text/plain)
2011-10-03 01:09 UTC, josan_pansa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description josan_pansa 2011-10-03 00:21:51 UTC
very packages failed related to error QA PAX failed M packages describes this are app-emulation/emul-linux-x86-soundlibs  and app-emulation/emul-linux-x86-medialibs 

Reproducible: Always

Steps to Reproduce:
1.emerge openoffice
2.Fallback PaX marking -m /usr/lib64/openoffice/program/soffice.bin
3.equery k openoffice-bin responds /usr/lib64/openoffice/program/soffice.bin has incorrect MD5sum
Actual Results:  
openoffice yes load ,libreoffice no 


scanelf -qT /usr/lib32/libmpg123.so.0.29.3  
  libmpg123.so.0.29.3: (memory/data?) [0x21FB2] in (optimized out: previous mpg123_strlen) [0x11A70]
  libmpg123.so.0.29.3: (memory/data?) [0x2292D] in (optimized out: previous mpg123_strlen) [0x11A70]
  libmpg123.so.0.29.3: (memory/data?) [0x22944] in (optimized out: previous mpg123_strlen) [0x11A70]
  libmpg123.so.0.29.3: (memory/data?) [0x22955] in (optimized out: previous mpg123_strlen) [0x11A70]
  libmpg123.so.0.29.3: (memory/data?) [0x22989] in (optimized out: previous mpg123_strlen) [0x11A70]
  libmpg123.so.0.29.3: (memory/data?) [0x229B0] in (optimized out: previous mpg123_strlen) [0x11A70]
  libmpg123.so.0.29.3: (memory/data?) [0x22A2F] in (optimized out: previous mpg123_strlen) [0x11A70]
  /usr/lib32/libmpg123.so.0.29.3

objdump -d /usr/lib32/libmpg123.so.0.29.3
is very very large the output
Comment 1 josan_pansa 2011-10-03 00:26:16 UTC
emerge --info         
Portage 2.1.10.20 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3
Timestamp of tree: Sun, 02 Oct 2011 22:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdb cdda cddb cdr cdrw cli consolekit cracklib crypt cups cxx dbus debug declarative dri dts dv dvd dvdr dvdread ebook embedded emboss encode exif fam fat fbdev fbsplash ffmpeg firefox flac fortran gdbm gdu gif gnome gnutls gpm gstreamer gtk gzip hal html iconv introspection java java6 javacomm javamail javascript jpeg kde kipi lame lcms ldap libnotify libsamplerate lm_sensors lzma mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python python3 qt qt3 qt3support qt4 rar readline sdl semantic-desktop sensord session spell sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification stream svg sysfs tcpd theora thumbnail tiff truetype udev unicode usb v4l v4l2 vorbis vp8 wavpack webm webstart x264 xattr xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="ctxfi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx nouveau radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

scanelf -lpqt
TEXTREL  /usr/lib32/opengl/ati/lib/libGL.so.1.2
TEXTREL  /usr/lib32/libatiadlxx.so
TEXTREL  /usr/lib32/libpostproc.so.51.2.0
TEXTREL  /usr/lib32/libmpg123.so.0.29.3
TEXTREL  /usr/lib32/libaticaldd.so
scanelf: scanelf_dir(): could not opendir /usr/games/bin: Permission denied
Comment 2 josan_pansa 2011-10-03 01:02:11 UTC
Created attachment 288619 [details]
details of error in paquets

programs failed to start because of failed load of shared library and revdep-rebuild no detect them
Comment 3 josan_pansa 2011-10-03 01:09:44 UTC
Created attachment 288621 [details]
esplicyting more
Comment 4 Anthony Basile gentoo-dev 2011-10-03 13:09:58 UTC
I can't make sense of what your bug is about.  You kernel isn't a pax kernel.  Your toolchains isn't hardened.  And you're last reports are about revdep-rebuild not finding missing library, not about pax marking.
Comment 5 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-10-03 13:30:32 UTC
For the little I could understand the complain is that there textrels in mpg123?
Well then it is a duplicate of #164504.

Anyway I can't understand how textrels affect you if you aren't using a hardened toolchain nor a hardened kernel.

*** This bug has been marked as a duplicate of bug 164504 ***
Comment 6 josan_pansa 2011-10-03 15:23:06 UTC
solved putting USE -PaX in /etc/make.conf and reemerge -uN world
Comment 7 josan_pansa 2011-10-03 15:25:14 UTC
solved putting USE -PaX in /etc/make.conf and reemerge -uN world && system