Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264469 - =sys-fs/e2fsprogs-1.41.4 sandbox violations due to ldconfig
Summary: =sys-fs/e2fsprogs-1.41.4 sandbox violations due to ldconfig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 264967 265258 266161 269016 278767 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-01 06:38 UTC by Nick Fortino
Modified: 2009-07-23 07:03 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,44.93 KB, text/plain)
2009-04-01 06:40 UTC, Nick Fortino
Details
Build log from coreutils-7.2 (coreutils-7.2-build.log,35.53 KB, text/plain)
2009-04-01 07:29 UTC, Andrew Church
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Fortino 2009-04-01 06:38:43 UTC
Upgrading to sandbox 1.7 causes an e2fsprogs emerge to fail with a sandbox violation. The ebuild attempts to open_wr /etc/ld.so.cache~ from src_install, which works under sandbox-1.6-r1, but not sandbox-1.7.

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3-asneeded, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 31 Mar 2009 21:30:01 +0000
app-shells/bash:     4.0_p10-r1
dev-lang/python:     2.6.1-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.7
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.19.51.0.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
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="/usr/portage/local/layman/sunrise /usr/local/portage /usr/shared_local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd test unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =sys-apps/sandbox-1.7
2. emerge -1 e2fsprogs
Comment 1 Nick Fortino 2009-04-01 06:40:47 UTC
Created attachment 186959 [details]
build.log

The build log.
Comment 2 Andrew Church 2009-04-01 07:10:13 UTC
I experienced similar failures trying to emerge both coreutils-7.2 and sandbox-1.6-r1; I had to use FEATURES=-sandbox to downgrade sandbox itself.  This looks like a fairly severe issue.
Comment 3 Andrew Church 2009-04-01 07:29:35 UTC
Created attachment 186962 [details]
Build log from coreutils-7.2

Executive summary:

[...]
config.status: creating po/Makefile
make 
ISE open_rd(Makefile): No such file or directory
        abs_path: (null)
        res_path: (null)
/usr/lib/libsandbox.so[0xb7f210fa]
/usr/lib/libsandbox.so[0xb7f2113c]
/usr/lib/libsandbox.so[0xb7f22ae5]
/usr/lib/libsandbox.so[0xb7f22b45]
/usr/lib/libsandbox.so(fopen64+0x111)[0xb7f281a1]
make[0x805c625]
make[0x805b372]
make[0x805c719]
make[0x805ca07]
make[0x8056fd1]
Comment 4 Paul Mulders 2009-04-01 13:18:49 UTC
very similar error on #264478
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-01 22:01:52 UTC
As the other bug has already been re-assigned to sandbox-herd, let's dupe this one although it's the one being reported earlier...

*** This bug has been marked as a duplicate of bug 264478 ***
Comment 6 SpanKY gentoo-dev 2009-04-03 23:24:44 UTC
not a dupe ... e2fsprogs is broken, it shouldnt be writing to ld.so.cache~.
Comment 7 Andrew Church 2009-04-04 02:49:11 UTC
I actually only noticed the ISE in the original poster's build log, not the ld.so.cache~ bug, so the coreutils issue is probably different.  Sorry, will repost as a separate issue.
Comment 8 Gianluigi Tiesi 2009-04-05 02:39:46 UTC
the problem is that in ebuild LDCONFIG should be /bin/true and not : (this does not work anymore with current toolchain used by e2fstools) also STRIP or it will strip binaries
Comment 9 SpanKY gentoo-dev 2009-04-05 03:15:36 UTC
thanks, should be fixed now

http://sources.gentoo.org/sys-fs/e2fsprogs/e2fsprogs-1.41.4.ebuild?r1=1.1&r2=1.2
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-05 13:45:32 UTC
*** Bug 264967 has been marked as a duplicate of this bug. ***
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 20:35:12 UTC
*** Bug 265258 has been marked as a duplicate of this bug. ***
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-15 19:32:51 UTC
*** Bug 266161 has been marked as a duplicate of this bug. ***
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-08 15:52:41 UTC
*** Bug 269016 has been marked as a duplicate of this bug. ***
Comment 14 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-23 07:03:30 UTC
*** Bug 278767 has been marked as a duplicate of this bug. ***