Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30762 - gst-plugins sandbox access violation since portage 2.0.49-r10
Summary: gst-plugins sandbox access violation since portage 2.0.49-r10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 30933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-09 09:43 UTC by M. Iffland
Modified: 2003-11-06 08:05 UTC (History)
6 users (show)

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 M. Iffland 2003-10-09 09:43:04 UTC
on 2 Athlon XP machines (one is a mobile, if that helps any):
the gst-plugins don't emerge, and therefore no new gnome. 
it says access violation and the log file contains the following files:
open_wr:   /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink:    /etc/gconf/gconf.xml.defaults/.testing.writeability
mkdir:     /etc/gconf/gconf.xml.defaults/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/schemas/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/schemas/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/schemas/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/schemas/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/system/gstreamer
mkdir:     /etc/gconf/gconf.xml.defaults/schemas/system/gstreamer

further up it says:
ACCESS DENIED  open_wr:   /etc/gconf/gconf.xml.defaults/.testing.writeability
ACCESS DENIED  unlink:    /etc/gconf/gconf.xml.defaults/.testing.writeability
ACCESS DENIED  open_wr:   /etc/gconf/gconf.xml.defaults/schemas/system/gstreamer
 
I tried a chmod 777 -R /etc/gconf

Reproducible: Always
Steps to Reproduce:
1.emerge gst-plugins
2.
3.

Actual Results:  
gst-plugins & therefore gnome doesn't emerge

Expected Results:  
GNOME should compile

Gentoo Base System version 1.4.3.10
Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test6-bk8)
=================================================================
System uname: 2.6.0-test6-bk8 i686 mobile AMD Athlon(tm) 4 2400+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://darkstar.ist.utl.pt/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.mirror.sdv.fr
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm arts crypt encode foomaticdb gpm libg++ libwww mad mikmod motif
ncurses nls pdflib png qt sdl svga truetype xml2 gdbm berkdb slang readline tcpd
pam perl python imlib oggvorbis opengl X gtk gnome alsa acpi avi cdr cups dvd
esd flash gb gif gtk2 gphoto2 imap java jpeg -kde maildir mozilla mysql mmx mpeg
oss quicktime samba scanner spell sse ssl tcltk usb xinerama xmms xv zlib"


and the Desktop:

Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-xfs-r3)
=================================================================
System uname: 2.4.20-xfs-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://gentoo.mirror.sdv.fr http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm crypt encode foomaticdb gpm libg++ libwww mad mikmod ncurses nls
pdflib png truetype xml2 gdbm berkdb slang readline arts bonobo svga sdl tcpd
pam perl python imlib oggvorbis qt motif opengl X gtk gnome alsa acpi avi cdr
cups dvd esd flash gb gif gtk2 gphoto2 imap java jpeg -kde maildir mysql mmx
mpeg oss quicktime samba scanner spell sse ssl tcltk usb xinerama xmms xv zlib"
Comment 1 Andrei Ivanov 2003-10-09 14:22:13 UTC
Me too... :(
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-10-09 22:32:36 UTC
i can confirm this, but i'm guessing it's a portage update that might have
something to do with it, because it used to work perfectly for me. something
about version 2.0.49-r10 which i just updated to today and the reporter is
using.
Comment 3 M. Iffland 2003-10-10 00:14:50 UTC
It seems to work with portage 2.0.49-r3, but not with -r10 or -r12
Comment 4 foser (RETIRED) gentoo-dev 2003-10-10 06:00:19 UTC
portage team, what changes could have caused this ?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-10-10 08:09:32 UTC
Foser, I don't know why this differs between versions of portage, but it
can be fixed by the following change in the ebuild:

src_install() { 
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 einstall || die 
        dodoc AUTHORS COPYING INSTALL README RELEASE TODO 
}

In other words, adding, GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 does the
trick
Comment 6 foser (RETIRED) gentoo-dev 2003-10-10 12:01:30 UTC
hmm yeah, i added a fix based on agriffis suggestion to gst-plugins-0.6.3
.. please rsync and try again when it has propagated.
Comment 7 Rupert Schlick 2003-10-10 13:36:42 UTC
Same problem here, but also with portage 2.0.49-r3 and not fixed by gst-plugins-0.6.3
(I unmerged the former version):

/tmp/sandbox-gst-plugins-0.6.3-11645.log:

open_wr:   /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink:    /etc/gconf/gconf.xml.defaults/.testing.writeability
open_wr:  
/etc/gconf/gconf.xml.defaults/schemas/system/gstreamer/default/%gconf.xml.tmp
open_wr:   /etc/gconf/gconf.xml.defaults/system/gstreamer/default/%gconf.xml.tmp

thunder root # emerge --update -p gnome
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] media-libs/gst-plugins-0.6.3
[ebuild  N    ] media-plugins/gst-plugins-oss-0.6.3
[ebuild     U ] gnome-base/libgnomeprintui-2.4.0 [2.2.1.3]
[ebuild     U ] media-gfx/eog-2.4.0 [2.2.2]
[ebuild  N    ] gnome-extra/gucharmap-1.0.0
[ebuild     U ] gnome-extra/libgtkhtml-2.4.0 [2.2.4]
[ebuild     U ] gnome-extra/yelp-2.4.0 [2.2.3]
[ebuild     U ] gnome-base/libgtop-2.0.5 [2.0.4]
[ebuild     UD] app-cdr/cdrtools-2.01_alpha14 [2.01_alpha18]
[ebuild  N    ] gnome-extra/nautilus-cd-burner-0.5.3
[ebuild     UD] sys-libs/ncurses-5.3-r1 [5.3-r4]
[ebuild     UD] sys-apps/texinfo-4.5 [4.6]
[ebuild     UD] dev-python/python-fchksum-1.6.1-r1 [1.7.1]
[ebuild     UD] sys-libs/readline-4.3-r4 [4.3-r5]
[ebuild     UD] dev-lang/tcl-8.3.4 [8.4.3]
[ebuild     UD] dev-lang/tk-8.3.4-r1 [8.4.3]
[ebuild     UD] dev-lang/python-2.2.3-r1 [2.2.3-r2]
[ebuild     UD] sys-apps/portage-2.0.49-r3 [2.0.49-r10]
*** Portage will stop merging at this point and reload itself,
    recalculate dependencies, and complete the merge.
 
[ebuild     UD] sys-devel/libperl-5.8.0 [5.8.1]
[ebuild     UD] dev-lang/perl-5.8.0-r12 [5.8.1-r2]
[ebuild     UD] sys-devel/autoconf-2.57-r1 [2.57a-r1]
.....<snip>......
[ebuild     U ] gnome-base/gnome-2.4 [2.2.2-r1]
 
Comment 8 foser (RETIRED) gentoo-dev 2003-10-10 13:43:30 UTC
hmm you need the 'fixed' gst-plugins-0.6.3 .. needs to propagete first.

But the fixed version wasn't so fixed after all, i'll give a shout when it's
really fixed.
Comment 9 Rupert Schlick 2003-10-10 13:49:45 UTC
uuups - sorry foser, I didn't realize the timezone (22:44 local time here).
I'll try again when you fixed the fix. 
Comment 10 foser (RETIRED) gentoo-dev 2003-10-11 03:42:11 UTC
*shout*

it should most likely be propagate by now, header version (in 3rd line) of
the correct ebuild is 'v 1.9'. Please test.
Comment 11 foser (RETIRED) gentoo-dev 2003-10-12 05:11:33 UTC
*** Bug 30933 has been marked as a duplicate of this bug. ***
Comment 12 Rupert Schlick 2003-10-12 05:20:04 UTC
Tested. Emerge works now, thanks a lot.

Rupert
Comment 13 Nicholas Jones (RETIRED) gentoo-dev 2003-10-12 09:55:35 UTC
The configure/build is writing to /etc/, that's not legal.
Nothing changed from -r3 to -r10 in snadbox. This wasn't
a sandbox issue, it was an ebuild-allowing-bad-things issue.

Close please, or remove dev-poratge from cc.
Comment 14 foser (RETIRED) gentoo-dev 2003-10-12 10:32:32 UTC
i'm getting mixed reactions here, does the current version in portage work
for everybody ? If not, what is the output ?
Comment 15 Thomas Seifert 2003-10-12 15:52:42 UTC
works fine here. great work!
Comment 16 Mike Gardiner (RETIRED) gentoo-dev 2003-11-06 08:05:49 UTC
gst-plugins-0.6.4 and portage-2.0.49-r15 built fine with no problems. closing.