Summary: | app-misc/lirc-0.8.5 user environmnet not set by "start-stop-daemon --start ..." in /etc/init.d/irexec | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wilson M. Michaels <thebitpit> |
Component: | Current packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zzam |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wilson M. Michaels
2009-08-31 16:11:27 UTC
With current baselayout, start-stop-daemon is supposed to update $HOME whenever --user is specified, to match that user's home. Since $HOME for ${IREXEC_USER} in /etc/passwd is presumably the same as /home/${IREXEC_USER} , the proposed patch should not be necessary. However, it could be possible that the actual fix for your issue was the removal of the "--chdir /" option (which is valid according to the start-stop-daemon manpage currently) Please confirm if there are any issues with irexec and newer lirc's. I confirm that the current version of /etc/init.d/irexec works properly for me. Thanks for taking the time to look into this. My working solution involves settings in /etc/conf.d/irexec: IREXEC_OPTS="/home/mythtv/.lircrc" IREXEC_USER="mythtv" Everything works as expected without modifying /etc/init.d/irexec |