Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478814 - exec permission denied if FEATURES="userpriv"
Summary: exec permission denied if FEATURES="userpriv"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 13:59 UTC by djinnZ
Modified: 2013-08-04 12:59 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 djinnZ 2013-07-30 13:59:08 UTC
After upgraded the gentoo box of mine seem unable to compile if the feture flag "userpriv" is set.
The most common error is "gentoo ./configure: /bin/sh: bad interpreter" in configure phase.
FEATURES="-userpriv" emerge -1 sandbox not help.
If userpriv is disabled everything seems work fine, "sandbox" and "usersandbox" make no difference.

fstab:
builddir    /tmp/.build  tmpfs rw,dev,suid,exec,relatime,size=7168m,nr_inodes=7M,mode=0775 0 0


emerge --info
Portage 2.1.13.2 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.8.6-hardened x86_64)
=================================================================
System uname: Linux-3.8.6-hardened-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.2
KiB Mem:     8177424 total,   2173444 free
KiB Swap:    3145716 total,   3145716 free
Timestamp of tree: Tue, 30 Jul 2013 07:45:01 +0000
ld ld di GNU (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo djinnZ
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -fomit-frame-pointer -O2 -g0"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/vim/vimfiles/after/syntax /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -fomit-frame-pointer -O2 -g0"
DISTDIR="/usr/portage/pkg/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --color y --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="AUTHORS.* HACKING.* INSTALL.* LICENSE.* TODO.* Changes.* ChangeLog.* NEWS.* THANKS.* COPYNG.*"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/pkg/packages/dite"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/gentoo"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="32bit 64bit X a52 aac aacs acl acpi action_modeswitch aften aio alisp alsa amba amd64 amr ap apache2 apng asm avx bash-completion berkdb binfilter bittorrent bluetooth bolddiag bzip2 cairo caps cdda cddb cdemu-daemon cdio cdr celt chm clamdtop cli compat consolekit contrast contrib cpudetection cracklib crypt css cups curl curlwrappers custom-cflags custom-optimization cvs cxx daemon dbus declarative desktopglobe development device-mapper dga directfb djvu dmx dri dvd dvdr ebook edd emf emovix encode equalizer exif extensions extra-tools extras fat fbcon fdt ffmpeg flac flatfile fontconfig fontforge fpx ftp fuse g3dvl gallium gbm gcj gd gdbm geoip ggi gif gimp git gles1 gles2 glibc-omitfp gmp gnutls graphite gs gstreamer gtk gudev hardened highlight holidays html hwdb iconv icu id3tag imagemagick imap imaps inotify iodbc iproute2 iptables ithreads java javascript jbig jemalloc jit jpeg jpeg2k justify kde keymap kipi kqemu ladspa lame lcms libkms llwm lm_sensors lzma lzo math matroska mbrola mdadm melt mikmod milter mime minizip mixemu mktemp mmx mng modules mp3 mp4 mpeg mpg123 mudflap multicall multilib multimedia multiuser musepack musicbrainz ncurses network nfs nfsv3 nfsv4 nlpsolver nls npp nptl nsplugin nspluginwrapper ntfs ntfsprogs ntp nut ocr odbc odbcmanual odk offlinehelp ogg openexr opengl openmp openvg optimisememory optimization optimized-qmake osmesa pam pax_kernel pcre pcsc-lite pdf pdfimport phonon php pic plugins png pnm policykit postgres postproc ppds ptpax pulseaudio pulseudio qalculate qemu-ifup qt-dbus qt-faststart qt-webkit qt3support qt4 qthelp qtscript quicktime quota quvi raw rdesktop readline reiserfs remote rfc3779 ruby run-as-root samba scanner script scripting scripttools sdl secure-delete semantic-desktop sensord session sharedmem skype smartcard smbsharemodes smp sndfile sockets socks5 speex spell sql sqlite sqlite3 sse sse2 sse3 ssl strong-optimization subversion svg syslog system-sqlite sysvipc taglib tcl tcpd templates test-programs themes theora threads tiff tk tools truetype truetype-debugger udev unicode unlock-notify urandom usb usbredir utils vcd vim-pager vim-syntax vorbis vpx wavpack webinterface webkit width wifi winbind wmf x264 xa xanim xattr xcb xcomposite xinerama xinetd xml xmlpatterns xmlreader xmlwriter xpm xscreensaver xsl xtpax xulrunner xv xvid xvmc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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="keyboard mouse evdev ps2mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-javascript wiki-publisher scripting-beanshell" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="mustek mustek_usb gt68xx" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-31 13:58:12 UTC
Please attach one complete build log that exhibits the failure to this bug report.