Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196331 - dev-libs/DirectFB can not write to /var/log/directfb
Summary: dev-libs/DirectFB can not write to /var/log/directfb
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 21:40 UTC by wilhelm hagg
Modified: 2007-11-12 20:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.