Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518820 - app-i18n/ibus-1.5.8 - sandbox violation in /run/user/0/dconf by `gsettings list-recursively org.freedesktop.ibus.general'
Summary: app-i18n/ibus-1.5.8 - sandbox violation in /run/user/0/dconf by `gsettings li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-02 13:02 UTC by Attila Tóth
Modified: 2014-08-18 06:06 UTC (History)
11 users (show)

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


Attachments
build log (build.log,67.34 KB, text/plain)
2014-08-04 13:33 UTC, Martin Gysel (bearsh)
Details
emerge --info app-i18n/ibus (emerge_info,5.89 KB, text/plain)
2014-08-04 13:35 UTC, Martin Gysel (bearsh)
Details
buid log 2 (build.log,200.25 KB, text/x-log)
2014-08-09 14:08 UTC, fmiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2014-08-02 13:02:43 UTC
Until the end of compile phase, everything is fine.
In the install phase:
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-3929.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: /run/user/0/dconf
A: /run/user/0/dconf
R: /run/user/0/dconf
C: gsettings list-recursively org.freedesktop.ibus.general


Reproducible: Always
Comment 1 John Covici 2014-08-03 15:57:46 UTC
Yep, I can duplicate this problem.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-04 10:48:10 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 3 Martin Gysel (bearsh) 2014-08-04 13:33:53 UTC
Created attachment 382230 [details]
build log
Comment 4 Martin Gysel (bearsh) 2014-08-04 13:35:01 UTC
Created attachment 382232 [details]
emerge --info app-i18n/ibus
Comment 5 fmiz 2014-08-09 14:08:33 UTC
Created attachment 382592 [details]
buid log 2

If it can be of any help, here is my build log and emerge --info:

Portage 2.2.11-r1 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.15.5-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.15.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     4051180 total,   2658440 free
KiB Swap:    2097148 total,   1675452 free
Timestamp of tree: Sat, 09 Aug 2014 13:15:01 +0000
ld ld di GNU (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo jkolo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7-avx -mtune=corei7-avx -fomit-frame-pointer -maes"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=corei7-avx -mtune=corei7-avx -fomit-frame-pointer -maes"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10 --load-average=8"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/ http://91.121.124.139/gentoo-distfiles/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu"
MAKEOPTS="-j8 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/var/lib/layman/jkolo"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist branding bzip2 cairo cdda cli colord cracklib crypt cxx dbus dri dts eds emboss encode exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection jpeg lcms libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session socialweb spell sse sse2 sse3 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis x264 xcb xml xv xvid zlib zsh-completion" ABI_X86="64" 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="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" 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 ublox ubx" INPUT_DEVICES="evdev vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it it_IT en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vmware" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-i18n/ibus-1.5.5 was built with the following:
USE="X gtk gtk3 introspection nls python -deprecated -gconf -test -vala -wayland" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
Comment 6 John Bowler 2014-08-13 04:22:59 UTC
I'm seeing this too on a fresh install with a systemd profile; arm/13.0/desktop/gnome/systemd

Although it seems to happen at the end of the 'compile' step the '.compiled' flag is created and a subsequent "ebuild ibus-1.5.8.ebuild install" succeeds, and creats the '.installed' flag (which didn't exist before.)  After the ebuild has been run I *do* have a /run/user/0/dconf directory with a 2 byte 'user' file in it (both bytes 0).

Looks like the install step is playing outside the sandbox on a systemd system.

I worked round the problem by using "ebuild ... install" followed by "ebuild ... qmerge"
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2014-08-17 09:42:49 UTC
Got it too, same sandbox violations.
Comment 8 Yixun Lan archtester gentoo-dev 2014-08-18 06:06:42 UTC
this should be fixed in 1.5.8-r1.

sorry about this, I've dropped the "dconf" sed operation src_prepare(), my bad