Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612880 - www-client/google-chrome-57.0.2987.98 install fails with sandbox violation
Summary: www-client/google-chrome-57.0.2987.98 install fails with sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-17 05:15 UTC by Jan Vansteenkiste
Modified: 2017-03-18 15:16 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,3.59 KB, text/plain)
2017-03-17 05:15 UTC, Jan Vansteenkiste
Details
access-violation-summary (sandbox-29720.log,630 bytes, text/plain)
2017-03-17 05:16 UTC, Jan Vansteenkiste
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vansteenkiste 2017-03-17 05:15:54 UTC
Created attachment 467284 [details]
build.log

>>> Install google-chrome-57.0.2987.98 into /var/tmp/portage/www-client/google-chrome-57.0.2987.98/image/ category www-client
>>> Unpacking google-chrome-stable_57.0.2987.98-1_amd64.deb to /var/tmp/portage/www-client/google-chrome-57.0.2987.98/image
>>> Unpacking data.tar.xz to /var/tmp/portage/www-client/google-chrome-57.0.2987.98/image
 * ACCESS DENIED:  symlinkat:    /var/tmp/portage/www-client/google-chrome-57.0.2987.98/image/usr/bin/google-chrome-stable
ln: failed to create symbolic link '/var/tmp/portage/www-client/google-chrome-57.0.2987.98/image/usr/bin/google-chrome-stable': Permission denied


-------------------------

Portage 2.3.5 (python 2.7.13-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 4.10.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem:    16139452 total,   7406016 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 17 Mar 2017 05:03:57 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

local
    location: /usr/local/portage/local
    masters: gentoo

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

vstone
    location: /var/lib/layman/vstone
    sync-type: laymansync
    sync-uri: https://github.com/vStone/vstone-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @allsets, @applications, @devtools, @emulation, @gentools, @graphics, @puppet, @services, @shelltools, @systemtools, @thinkpad, @vrtstuff, @xfce4
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 AdobeFlash-11.x PUEL google-chrome skype-4.0.0.7-copyright Q3AEULA Intel-SDP Broadcom Google-TOS NVIDIA-CUDA FraunhoferFDK TeamViewer RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=broadwell"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=broadwell"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aalib acl amd64 apng berkdb bindist bluetooth bzip2 cairo cgroups clang cli consolekit cracklib crypt curl cxx dbus dri egl exif ffmpeg flac fontconfig fortran gdbm gles2 gnome-keyring gtk gtk3 iconv idn imagemagick ipv6 jpeg libcaca mmx modules multilib ncurses nls nptl ogg opencl opengl openmp pam pcre perl pm-utils png pulseaudio python qt5 readline ruby seccomp session sse sse2 ssl svg tcpd theora tiff unicode vim-syntax x264 xattr zlib" ABI_X86="64 32" 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" APACHE2_MODULES="*" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl" NETBEANS_MODULES="groovy java php webcommon mobility" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jan Vansteenkiste 2017-03-17 05:16:57 UTC
Created attachment 467286 [details]
access-violation-summary
Comment 2 Mike Gilbert gentoo-dev 2017-03-18 15:16:37 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02ab578adfe6bcb83d7d208cf2f2d72375dcd2a

commit a02ab578adfe6bcb83d7d208cf2f2d72375dcd2a
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Mar 18 11:05:05 2017 -0400

    www-client/google-chrome: stop creating /usr/bin/google-chrome symlink
    
    Stable sandbox improperly canonicalizes symlink targets. This has been
    fixed in newer versions.
    
    The deb file now contains the symlink, so we don't need to create it.
    
    Bug: https://bugs.gentoo.org/612202
    Bug: https://bugs.gentoo.org/612880

 www-client/google-chrome-beta/google-chrome-beta-57.0.2987.98.ebuild    | 2 --
 .../google-chrome-unstable/google-chrome-unstable-58.0.3029.19.ebuild   | 2 --
 www-client/google-chrome/google-chrome-57.0.2987.98.ebuild              | 2 --
 3 files changed, 6 deletions(-)