Bug 41711 - gnuplot emerge build on text console uses svgalib and access to /dev/svga is restricted by sandbox
Bug#: 41711 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: Martin.vGagern@gmx.net
Component: Applications
URL: 
Summary: gnuplot emerge build on text console uses svgalib and access to /dev/svga is restricted by sandbox
Keywords:  
Status Whiteboard: 
Opened: 2004-02-15 15:38 0000
Description:   Opened: 2004-02-15 15:38 0000
When I emerge gnuplot on a text console, I get a sandbox access violation form
the make process in the tutorials directory which executes the just built
gnuplot to render some examples. On the text console gnuplot starts up and
loads svgalib, but the sandbox forbids access to /dev/svga, so make fails.
Strangely simply setting DEISPLAY=":0.0" did not solve the problem. Emerge in
an X terminal, however, worked. Only bad for people who have no X at all...

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Olivier Fisette 2004-08-07 12:49:31 0000 -------
Fixed in gnuplot-4.0-r1 by allowing access to /dev/svga. It's a bit of a hack,
so if anyone knows a more secure way to do it, go ahead...