Summary: | media-video/totem 2.24.3 sandbox violation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | razamatan |
Component: | [OLD] GNOME | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome, m27315, pacho, sandbox |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 238650 | ||
Attachments: | emerge --info |
Description
razamatan
2009-05-18 17:05:46 UTC
Created attachment 191703 [details]
emerge --info
emerge --info
this seems related to http://bugs.gentoo.org/262731 , but this is involving the .gnome2 subdir, not the .gconf stuff... actually.. i found http://bugs.gentoo.org/126667 what i'm experiencing is the fact that i've relocated root's homedir to somewhere else (/home/.root specifically), and used a symlink at /root for backwards compatibility. however, i didn't update the /etc/passwd entry to reflect the new home. having updated root's homedir in /etc/passwd, it installed fine w/o the sandbox violation.... however, it still stands that addpredict should handle symlink and absolute paths that it should be watching for.... i guess this has become a feature/bug for ebuilds.... re-assigning to portage devs since addpredict is a portage feature. I'm not sure why sandbox doesn't handle this already. To summarize, we have: addpredict /root/.gnome2 And /root is a symlink to /home/.root/.gnome2. (1) i thought portage set $HOME already to some tmp dir ? (2) are some stupid gnome utils not respecting that $HOME ? (3) symlinks for important dirs are known to not work with sandbox (3a) that'd make this a dupe of Bug 80085 (3b) use `mount --bind` as symlinks across symlinks are also known to break in general with *nix systems (In reply to comment #6) > (1) i thought portage set $HOME already to some tmp dir ? probably > (2) are some stupid gnome utils not respecting that $HOME ? indeed, I just checked that both gconf and gstreamer do not read $HOME but actually refer to /etc/passwd. I guess that's why we added so many addpredicts all over the place. Must squash'em all now. *** Bug 302551 has been marked as a duplicate of this bug. *** *** Bug 302551 has been marked as a duplicate of this bug. *** *** Bug 302551 has been marked as a duplicate of this bug. *** Since glib-2.30 we patched glib to support G_HOME which is used to override default glib behavior. Eclass was adapted to export that to $T so that tests should run fine. Since then, glib upstream saw the light and patch next glib release (most likely 2.36) to respect HOME so this should be the end of our problems here. Last but not least, I set totem to simply not use gst-inspect as we already check dependencies when bumping. |