View previous topic :: View next topic |
Author |
Message |
mreff555 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1487487695526fa5a457a43.gif)
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Sun Jan 27, 2013 9:40 pm Post subject: Python 2.7 |
|
|
I just finished a Gentoo install with a nomultilib and hardened setup. I've never used these options before and I am having trouble which I don't recall ever running in to.
when I try to install python-2.7.3-r2 I get sandbox access violations. below is the sandbox log it pointed to. Has anyone ever run in to this?
Code: |
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: link
S: deny
P: /run/sem.autoconf
A: /run/sem.autoconf
R: /run/sem.autoconf
C: ./conftest
F: unlink
S: deny
P: /run/sem.rvv6B7
A: /run/sem.rvv6B7
R: /run/sem.rvv6B7
C: ./conftest
F: link
S: deny
P: /run/sem.autocftw
A: /run/sem.autocftw
R: /run/sem.autocftw
C: ./conftest
F: unlink
S: deny
P: /run/sem.LLFWGc
A: /run/sem.LLFWGc
R: /run/sem.LLFWGc
C: ./conftest
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mreff555 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1487487695526fa5a457a43.gif)
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Mon Jan 28, 2013 12:37 pm Post subject: |
|
|
Isn't the sandbox used on non-hardened installs as well? why am I just having this problem now?
Is it typical for python to try and access the /run directory? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dol-sen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/895601024436ad996b979b.gif)
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Tue Jan 29, 2013 12:59 am Post subject: |
|
|
Can you please post the output of:
Code: | emerge --info =dev-lang/python-2.7.3-r2 |
_________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mreff555 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1487487695526fa5a457a43.gif)
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Tue Jan 29, 2013 1:24 pm Post subject: |
|
|
Sorry in advance but pastebin has python dependancies.....
here you go
Code: |
Portage 2.1.11.31 (hardened/linux/amd64/no-multilib, gcc-4.6.3, glibc-2.15-r3, 3.7.4-build7 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.7.4-build7-x86_64-Intel-R-_Core-TM-_i3-2330M_CPU_@_2.20GHz-with-gentoo-2.1
Timestamp of tree: Sun, 27 Jan 2013 20:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-lang/python: 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.69
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
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.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --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="acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri gdbm gpm gtk hardened iconv ipv6 justify mmx modules mudflap ncurses nls nptl openmp pam pax_kernel pcre qt4 readline session sse sse2 ssl tcpd unicode urandom 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="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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moamahi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jan 2004 Posts: 5
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
prometheanfire Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/15206345510722e982f1e.jpg)
Joined: 21 Apr 2005 Posts: 87 Location: San Antonio, TX USA
|
Posted: Tue Jan 29, 2013 2:58 pm Post subject: |
|
|
I have not been able to reproduce (tested by running the following).
Code: | FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" USERLAND="GNU" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" ELIBC="glibc" USE="acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri gdbm gpm gtk hardened iconv ipv6 justify mmx modules mudflap ncurses nls nptl openmp pam pax_kernel pcre qt4 readline session sse sse2 ssl tcpd unicode urandom zlib" ebuild /usr/portage/dev-lang/python/python-2.7.3-r2.ebuild install |
Here is my emerge --info for my installed version as well (not what I tested, but also worksforme).
http://dev.gentoo.org/~prometheanfire/logs/e-info-python2_7.log _________________ -- Matthew Thode (prometheanfire) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moamahi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jan 2004 Posts: 5
|
Posted: Tue Jan 29, 2013 3:25 pm Post subject: sandbox |
|
|
Not sure but looks like a sandbox problem, infact emerging unsatable version ( ~amd64 sandbox 2.6). I finally compile python 2.7 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
prometheanfire Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/15206345510722e982f1e.jpg)
Joined: 21 Apr 2005 Posts: 87 Location: San Antonio, TX USA
|
Posted: Tue Jan 29, 2013 3:42 pm Post subject: |
|
|
Well, as long as a solution is found... I wonder why it messed up with your sandbox and not mine. _________________ -- Matthew Thode (prometheanfire) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|