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

Bug 15139

Summary: app-misc/lirc-0.6.6 ebuild fails to write a logfile
Product: Gentoo Linux Reporter: dweazle <gentoo-bugs>
Component: New packagesAssignee: Matt Keadle <mkeadle>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description dweazle 2003-02-04 18:28:48 UTC
After upgrading from 0.6.5 to 0.6.6:

* Starting lircd...
lircd 0.6.6: could not open logfile
lircd 0.6.6: No such file or directory                                         
        [ !! ]

afaik it tries to write it's logfile in /var/log/lircd (according to the manpage
 ), which exists and has no weird permissions (0.6.5 logged fine to this file,
it's chmod 644). the online documentation on lirc.org doesn't really give much
info on this. it says you can log through syslog, but i can't find anywhere how
to configure lirc/syslog to use this feature (local0-7? lirc.*?) :/

a second little remark: the documentation isn't installed either, it might be 
convienient to put the docs in /usr/doc/lirc

3rd: the new lirc tries to put it's pid-file in /var/lib/run, which is a weird
location imho. the ebuild script doesn't create this dir, but i think the pid
file should be rather located in /var/run

4rd and final note (I think this is more a lirc problem): you can't configure
your port/driver anywhere except in the init.d script, which is ofcourse not a
very elegant solution. (I use "start-stop-daemon --start --quiet --exec
/usr/sbin/lircd -- -H irman -d /dev/tts/2" in my /etc/init.d/lircd script)

I hope these thingies can be fixed sometime :)


Reproducible: Always
Steps to Reproduce:
Comment 1 Matt Keadle 2003-02-21 20:05:43 UTC

*** This bug has been marked as a duplicate of 14858 ***