| Summary: | gnome-extra/gnome-media-2.22.0 Sandbox access violation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Graham Murray <graham> |
| Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | a |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
/var/log/sandbox/sandbox-16692.log
build.log config.log strace.gst-inspect.log |
||
|
Description
Graham Murray
2008-05-08 18:35:36 UTC
The same on ~amd64. my bad, this can't be reproduced with FEATURES="usersandbox userpriv". Added the addpredict back. @herd, I'd be curious to know which damn make rule tries to touch /root/.gconf while I explicitely added --disable-schemas-install. If we could fix it, we could remove this ugly hack from a couple of ebuilds. Created attachment 152589 [details]
/var/log/sandbox/sandbox-16692.log
Created attachment 152591 [details]
build.log
Created attachment 152593 [details]
config.log
Created attachment 152605 [details]
strace.gst-inspect.log
The culprit is configure.ac which runs gst-inspect-0.10 on gconfaudiosink and gconfaudiosrc, both of which load gconf which then spawns gconfd for root.
Attached is the log of running "strace -f gst-inspect-0.10 gconfaudiosrc 2>&1 | grep gconf"
I'm not really sure what to do about that... Maybe we could patch configure.ac not to run gst-inspect as we already make sure that things are there in the first place? Maybe just a comment above the sandbox addpredict stuff is enough?
@herd, thoughts, comments?
In general, I'd say we should leave these types of checks in, as a belt-and-suspenders type thing. However, these deps are directly in the package, and gst-inspect has been one of the worst offenders in the tree for sandbox violations for as long as I can remember, so it'd be nice to do *something*. I vaguely remember someone doing what was necessary to make it use a dummy homedir for this kind of thing; is that possible? How was this fixed? |