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

Bug 62838

Summary: lirc pid file in wrong location
Product: Gentoo Linux Reporter: Jordan <xero>
Component: New packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jordan 2004-09-04 11:18:22 UTC
* Starting lircd...
lircd 0.7.0pre7: can't open or create /var/lib/run/lircd.pid
lircd 0.7.0pre7: No such file or directory  

Most pid files are in /var/run and this is where I'd think this was meant to go, however because the lirc ebuild uses econf to configure --localstatedir is set to /var/lib accordingly and for some reason this makes lirc put its pid file in the wrong location. Simply adding --localstatedir=/var in the ebuild fixes this, although of course this means it's being passed localstatedir twice, despite that it seems to work fine..
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-08 09:13:39 UTC
thanx for pointing that out, fixed