Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18237 - sandbox violation for gnome-extra/gnome-utils-2.2.1 (mkdir /root/.gconfd)
Summary: sandbox violation for gnome-extra/gnome-utils-2.2.1 (mkdir /root/.gconfd)
Status: RESOLVED DUPLICATE of bug 17380
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 13:01 UTC by chouser (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
updated ebuild, with sandbox fix (gnome-utils-2.2.3.ebuild,1.03 KB, text/plain)
2003-06-17 07:10 UTC, Mike Gardiner (RETIRED)
Details
required patch for updated ebuild (gconftool.Makefile.patch,1.84 KB, patch)
2003-06-17 07:11 UTC, Mike Gardiner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chouser (RETIRED) gentoo-dev 2003-03-26 13:01:05 UTC
If the root user doesn't have a .gconfd directory in his home dir, 
gnome-extra/gnome-utils-2.2.1.ebuild generates a sandbox violation trying to
create it.

Reproducible: Always
Steps to Reproduce:
1. mv /root/.gconfd /root/old.gconfd
2. ebuild /usr/portage/gnome-extra/gnome-utils/gnome-utils-2.2.1.ebuild merge

Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gnome-utils-2.2.1-24997.log"
 
mkdir:     /root/.gconfd
mkdir:     /root/.gconfd
mkdir:     /root/.gconfd
--------------------------------------------------------------------------------

Expected Results:  
A successful merge.

A workaround appears to be creating a .gconf dir for the root user manually:

mkdir /root/.gconfd
Comment 1 foser (RETIRED) gentoo-dev 2003-03-26 18:12:52 UTC
probably a dup

you don't give your 'emerge info' :(

*** This bug has been marked as a duplicate of 17380 ***
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-06-17 07:09:36 UTC
the following attachments are an updated ebuild, and a patch against the offending Makefile.in's in the source. there does exist a configure option to --disable-schema-install, which you'd hope would fix the problems as in bug 17380,  however unlike in that bug --disable-schema-install isnt implemented properly (or at all) in the Makefile.in's for gnome-utils which is why the patch is required.

please refer to the related bug 17380 for more information.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-06-17 07:10:48 UTC
Created attachment 13412 [details]
updated ebuild, with sandbox fix
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-06-17 07:11:20 UTC
Created attachment 13413 [details, diff]
required patch for updated ebuild