Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385495 - [gnome-overlay] =app-misc/tracker-0.12.3-r2: sandbox violations (remove and __xmknod)
Summary: [gnome-overlay] =app-misc/tracker-0.12.3-r2: sandbox violations (remove and _...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 12:30 UTC by Stefan Zwanenburg
Modified: 2011-10-03 21:47 UTC (History)
0 users

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


Attachments
patch for tracker-0.12.3-r2 sandbox violations (tracker-0.12.3-r2.ebuild.patch,452 bytes, patch)
2011-10-03 12:49 UTC, Stefan Zwanenburg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Zwanenburg 2011-10-03 12:30:48 UTC
When emerging =app-misc/tracker-0.12.3-r2 (in my case as a result of
updating gnome), several sandbox violations occur, all trying to remove or make
a device node for my graphics card (for which I have installed ati-drivers).

Reproducible: Always

Steps to Reproduce:
1.Emerge =app-misc/tracker-0.12.3-r2
2.
3.
Actual Results:  
Sandbox violations (see attachment)

Expected Results:  
Successful merging of tracker.

PS: this seems like the same kind of bug as #385433, so I'll try to change the ebuild the same as was done with clutter-gst.
Comment 1 Stefan Zwanenburg 2011-10-03 12:49:41 UTC
Created attachment 288673 [details, diff]
patch for tracker-0.12.3-r2 sandbox violations

While running ./configure, tracker checks for firefox and thunderbird. That is when the sandbox violations occur, unless DISPLAY is set to an invalid value (as in #385433.
As was noted in the other bug, this is an ugly hack.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-03 21:47:38 UTC
Fixed in a cleaner way. Thanks for reporting!

> commit e54848110f451f4ac2816ea98260763994bae258
> Author: Alexandre Rostovtsev <tetromino@gmail.com>
> Date:   Mon Oct 3 17:41:02 2011 -0400
>
> app-misc/tracker: put a stake through the foul heart of access violations (#385495)
>
> It looks like (a) overriding AC_PATH_PROG requires a full path (not just
> a relative one), and (b) AC_PATH_PROG actually tries to execute the
> programs that it finds, so we need to generate the firefox and thunderbird
> version wrapper scripts and pass them to configure even if we are not
> building firefox or thunderbird support.
> Thanks to Stefan Zwanenburg <stefanhetzwaantje@gmail.com> for reporting
> in bug #385495.