Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24963 - control-center-2.2.2 access violations
Summary: control-center-2.2.2 access violations
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-21 05:38 UTC by Mike Gardiner (RETIRED)
Modified: 2003-08-20 21:48 UTC (History)
0 users

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


Attachments
patch to control-center-2.2.2-r1.ebuild to correct sandbox errors. (control-center.sandbox.patch,340 bytes, patch)
2003-07-21 05:40 UTC, Mike Gardiner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gardiner (RETIRED) gentoo-dev 2003-07-21 05:38:51 UTC
Attempting to emerge control-center-2.2.2-r1 gives access violations, when
attempting to install the gconf schemas (as seen in related bug 17380).

The related build log follows:

if test -z "" ; then \
        for p in apps_gnome_settings_daemon_screensaver.schemas
apps_gnome_settings_daemon_default_editor.schemas
desktop_gnome_font_rendering.schemas ; do \
                GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults
/usr/bin/gconftool-2 --makefile-install-rule ./$p; \
        done \
fi
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas
ACCESS DENIED  mkdir:     /root/.gconfd
Failed to create /root/.gconfd: Permission denied
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas
ACCESS DENIED  mkdir:     /root/.gconfd
Failed to create /root/.gconfd: Permission denied
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas
ACCESS DENIED  mkdir:     /root/.gconfd
Failed to create /root/.gconfd: Permission denied
make[2]: Leaving directory
`/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2/schemas'
make[1]: Leaving directory
`/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2/schemas'
make[1]: Entering directory
`/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2'
make[2]: Entering directory
`/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ./mkinstalldirs
/var/tmp/portage/control-center-2.2.2-r1/image//usr/share/pixmaps
 /bin/install -c -m 644 ./control-center2.png
/var/tmp/portage/control-center-2.2.2-r1/image//usr/share/pixmaps/control-center2.png
make[2]: Leaving directory
`/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2'
make[1]: Leaving directory
`/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2'
man:
prepallstrip:
strip:
strip:
   usr/bin/gnome-background-properties
   usr/bin/gnome-window-properties
   usr/bin/gnome-theme-manager
   usr/bin/gnome-default-applications-properties
   usr/bin/gnome-file-types-properties
   usr/bin/gnome-ui-properties
   usr/bin/gnome-font-properties
   usr/bin/gnome-sound-properties
   usr/bin/gnome-keybinding-properties
   usr/bin/gnome-accessibility-keyboard-properties
   usr/bin/gnome-settings-daemon
   usr/bin/gnome-network-preferences
   usr/bin/gnome-mouse-properties
   usr/bin/gnome-control-center
   usr/bin/gnome-keyboard-properties
   usr/lib/libgnome-window-settings.so.1.0.0
   usr/lib/window-manager-settings/libmetacity.so
making executable: /usr/lib/libgnome-window-settings.so.1.0.0
>>> Completed installing into /var/tmp/portage/control-center-2.2.2-r1/image/
 
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-control-center-2.2.2-r1-30129.log"
 
mkdir:     /root/.gconfd
mkdir:     /root/.gconfd
mkdir:     /root/.gconfd
--------------------------------------------------------------------------------

(I really hope that comes out okay)
I'll attach the fix as another comment.

Reproducible: Always
Steps to Reproduce:
1. turn on the userpriv and usersandbox FEATURES in make.conf, or command line
2. emerge control-center




Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif gpm jpeg kde libg++
libwww mad mikmod mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv
zlib alsa gdbm berkdb slang readline svga tcltk java X sdl tcpd pam ssl perl
python esd imlib oggvorbis gnome gtk motif opengl mozilla gphoto2 -cups -arts
-qt -spell -nls"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CXXFLAGS="-march=pentium4 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox usersandbox userpriv buildpkg ccache"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-07-21 05:40:46 UTC
Created attachment 14808 [details, diff]
patch to control-center-2.2.2-r1.ebuild to correct sandbox errors.
Comment 2 foser (RETIRED) gentoo-dev 2003-07-23 04:33:45 UTC
so the problem is the configure script doesn't check the SCHEMAS_INSTALL environment var ? Is this similar to other bugs ? If it is we could just add it to the gnome2 eclass to be on the safe side.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-08-20 21:48:15 UTC
okay, i guess this is my bad. i can't reproduce this anymore with the same version of portage etc, so i think it's invalid. if anyone experiences it they'll reopen/repost.