Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333131 - sys-apps/sandbox-2.3: /etc/sandbox.d/00default not installed correctly
Summary: sys-apps/sandbox-2.3: /etc/sandbox.d/00default not installed correctly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
: 333135 333225 333281 333311 333333 333427 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-17 08:25 UTC by Hans Nieser
Modified: 2010-08-21 16:16 UTC (History)
8 users (show)

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


Attachments
full build log (build.log,109.22 KB, text/plain)
2010-08-17 08:26 UTC, Hans Nieser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Nieser 2010-08-17 08:25:08 UTC
Was doing a world update on my ~amd64 gentoo box and findutils-4.5.9 failed with a sandbox violation:

make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/sys-apps/findutils-4.5.9/work/findutils-4.5.9'
make[1]: Leaving directory `/var/tmp/portage/sys-apps/findutils-4.5.9/work/findutils-4.5.9'
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-1212.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/lib/cf1269
A: /usr/lib/cf1269
R: /usr/lib64/cf1269
C: mkdir /usr/lib/cf1269 
--------------------------------------------------------------------------------

>>> Failed to emerge sys-apps/findutils-4.5.9, Log file:




Reproducible: Always




My emerge --info:

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.5, glibc-2.12.1-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 17 Aug 2010 07:30:20 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.3
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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/local/aphax-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 logrotate mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd 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 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 auth_digest" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Will attach build.log
Comment 1 Hans Nieser 2010-08-17 08:26:17 UTC
Created attachment 243313 [details]
full build log
Comment 2 Stoian Ivanov 2010-08-17 08:31:03 UTC
same here:

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 17 Aug 2010 07:30:20 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.3
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB bg"
MAKEOPTS="-j3"
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.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gmp gpm iconv jpeg kde lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mysql ncurses nls nptl nptlonly ogg opengl pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 readline reflection sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache   dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB bg" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 SpanKY gentoo-dev 2010-08-17 14:50:59 UTC
does it only occur with sandbox-2.3 ?  what about sandbox-2.2 ?
Comment 4 Ulrich Plate 2010-08-17 15:17:46 UTC
Only with sandbox-2.3, apparently. Reverted to sandbox-2.2 just now and got findutils to emerge normally.
Comment 5 Ian Abbott 2010-08-17 17:09:57 UTC
Likewise, I only get the sandbox violations with sandbox 2.3.
Comment 6 Ian Abbott 2010-08-17 17:16:58 UTC
(In reply to comment #5)
> Likewise, I only get the sandbox violations with sandbox 2.3.

And the same is true for all versions of findutils in portage (4.4.0, 4.4.2, 4.5.8, 4.5.9).

Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-17 17:40:29 UTC
I can reproduce this problem when I have no "userpriv" in my FEATURES. Can anyone of you confirm that compilation succeeds when you enable userpriv in FEATURES?

(Maybe you have to enable usersandbox as well but in my tests it only got triggered with userpriv being unset)
Comment 8 Nickolay Kolchin-Semyonov 2010-08-17 19:40:32 UTC
(In reply to comment #7)
> I can reproduce this problem when I have no "userpriv" in my FEATURES. Can
> anyone of you confirm that compilation succeeds when you enable userpriv in
> FEATURES?
> 

emerged successfully with "FEATURES=userpriv emerge findutils".
Comment 9 SpanKY gentoo-dev 2010-08-17 20:27:57 UTC
blah, need to tweak the dist targets in sandbox.d/ subdir
Comment 10 SpanKY gentoo-dev 2010-08-17 21:02:00 UTC
should be fixed with sandbox-2.3-r1
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-18 00:15:10 UTC
*** Bug 333135 has been marked as a duplicate of this bug. ***
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-18 00:15:15 UTC
*** Bug 333225 has been marked as a duplicate of this bug. ***
Comment 13 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-18 09:04:36 UTC
*** Bug 333281 has been marked as a duplicate of this bug. ***
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2010-08-18 14:39:01 UTC
*** Bug 333311 has been marked as a duplicate of this bug. ***
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2010-08-18 18:48:48 UTC
*** Bug 333333 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2010-08-19 15:53:59 UTC
*** Bug 333427 has been marked as a duplicate of this bug. ***
Comment 17 Octavian 2010-08-21 08:56:33 UTC
WORK with : FEATURES=userpriv
DOESN'T WORK with: sandbox-2.3-r1



>>> Emerging (4 of 395) dev-perl/libwww-perl-5.836
 * libwww-perl-5.836.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
 * CPV:  dev-perl/libwww-perl-5.836
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux ssl userland_GNU x86
>>> Unpacking source...
>>> Unpacking libwww-perl-5.836.tar.gz to /var/tmp/portage/dev-perl/libwww-perl-5.836/work
>>> Source unpacked in /var/tmp/portage/dev-perl/libwww-perl-5.836/work
>>> Preparing source in /var/tmp/portage/dev-perl/libwww-perl-5.836/work/libwww-perl-5.836 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/libwww-perl-5.836/work/libwww-perl-5.836 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/libwww-perl-5.836/image/
ACCESS DENIED  open_wr:      /var/cache/samba/gencache.tdb
Test server timeout
No response from server at pc67247005:57501
The can-we-talk-to-ourself test failed.
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for LWP
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-5731.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /var/cache/samba/gencache.tdb
A: /var/cache/samba/gencache.tdb
R: /var/cache/samba/gencache.tdb
C: /usr/bin/perl5.8.8 talk-to-ourself --port 57501 
--------------------------------------------------------------------------------



Comment 18 SpanKY gentoo-dev 2010-08-21 16:16:10 UTC
your report has nothing to do with this bug.  file a new one.