Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26216 - libglade-2.0.1 sandbox violation
Summary: libglade-2.0.1 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 10:06 UTC by Scott A. Friedman
Modified: 2003-09-27 15:49 UTC (History)
0 users

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 Scott A. Friedman 2003-08-08 10:06:47 UTC
Attempting to install libglade-2.0.1 (in ~x86) results in sandbox violation for
file /etc/xml/catalog

Installing with FEATURES="-sandbox" works around the problem.

Scott
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-08-19 07:25:46 UTC
you dont really want to emerge without the sandbox. anyway, i can successfully emerge this with FEATURES="userpriv usersandbox sandbox", and FEATURES="sandbox" without a problem.
Comment 2 foser (RETIRED) gentoo-dev 2003-08-25 04:08:09 UTC
Try building with USE=-doc ?

Have you been erasing files in /etc ? Normally a build shouldnt try to create catalog files.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-09-09 01:47:18 UTC
does your catalog file exist before the emerge ? the ebuild patches out the xmlcatalog creation, and then adds the glade dtd in the postinst, which should be around the sandbox. can you post the actual sandbox violation message please ?
Comment 4 Scott A. Friedman 2003-09-09 11:25:54 UTC
Hi

I normally, do not ever emerge without SANDBOX - just tried it to see if it would work.

'doc' is/was not set.

no, I have not been deleting things in /etc

/etc/xml/catalog does exist (I cannot tell you if it was there before - sorry)

the violation was that the file /etc/xml/catalog could not be opened for writing

----

I have checked several other machines of mine which also have /etc/xml/catalog and are *not* using KEYWORD=~x86. If that is not supposed to be there then there is some other problem.

The violation I reported happened on a ~x86 machine. If that matters.

Scott
Comment 5 Scott A. Friedman 2003-09-09 12:08:08 UTC
Okay, I tried it again, and here is the error output.

make[2]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1/tests'
make[1]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1/tests'
make[1]: Entering directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1'
make[2]: Entering directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1'
/bin/sh ./mkinstalldirs /var/tmp/portage/libglade-2.0.1/image//usr/bin
mkdir -p -- /var/tmp/portage/libglade-2.0.1/image//usr/bin
 /bin/install -c libglade-convert /var/tmp/portage/libglade-2.0.1/image//usr/bin/libglade-convert
xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
ACCESS DENIED  open_wr:   /etc/xml/catalog
could not open /etc/xml/catalog for saving
make[2]: [install-data-local] Error 2 (ignored)
/bin/sh ./mkinstalldirs /var/tmp/portage/libglade-2.0.1/image//usr/lib/pkgconfigmkdir -p -- /var/tmp/portage/libglade-2.0.1/image//usr/lib/pkgconfig
 /bin/install -c -m 644 libglade-2.0.pc /var/tmp/portage/libglade-2.0.1/image//usr/lib/pkgconfig/libglade-2.0.pc
/bin/sh ./mkinstalldirs /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade
mkdir -p -- /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade
 /bin/install -c -m 644 glade-2.0.dtd /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade/glade-2.0.dtd
make[2]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1'make[1]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1'man:
prepallstrip:
strip:
strip:
   usr/lib/libglade-2.0.so.0.0.1
making executable: /usr/lib/libglade-2.0.so.0.0.1
>>> Completed installing into /var/tmp/portage/libglade-2.0.1/image/
 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-libglade-2.0.1-8517.log"
 
open_wr:   /etc/xml/catalog
--------------------------------------------------------------------------------
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-09-09 22:41:12 UTC
it looks like the patch to stop the Makefile executing xmlcatalog isnt working. i've added a new patch (Makefile.in.am-xmlcatalog.patch) for 2.0.1 as the old patch was written against 1.99, can you resync and try emerging libglade-2.0.1 again ? thanks.
Comment 7 Mike Gardiner (RETIRED) gentoo-dev 2003-09-15 03:44:53 UTC
Please test version 2.0.1 in portage
Comment 8 foser (RETIRED) gentoo-dev 2003-09-27 15:49:52 UTC
assume it worked, reclosing