Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196331

Summary: dev-libs/DirectFB can not write to /var/log/directfb
Product: Gentoo Linux Reporter: wilhelm hagg <wilhelm.hagg>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description wilhelm hagg 2007-10-18 21:40:37 UTC
Applications that are using DirectFB can only run as root. The reason is that DirectFB can not write to /var/log/directfb for logging it's output.

I discovered this using vdr with vdr-xineliboutput and vdr-softdevice on a framebuffer for the Matrox G550 grahpics card.

I'm not sure how to solve this, but definitely i don't want to run vdr as root. I simply made /var/log writable for a group vdr is in.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 21:45:57 UTC
dev-libs/DirectFB does not even *create* /var/log/directfb. As such, setting proper permissions for custom log directories is not an ebuild problem, sorry.
Comment 2 Wilhelm Hagg 2007-11-12 20:53:34 UTC
I checked again, this is configured in /etc/directfbrc and yes, it can be configured to be at a writable location such as /var/vdr.