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

Bug 454466

Summary: app-misc/lirc-9.0-r2 - irexec init script uses deprecated --chuid
Product: Gentoo Linux Reporter: Karl Newman <SiliconFiend>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED FIXED    
Severity: normal CC: candrews, gregg.casillo, navid.zamani, proxy-maint
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377843    

Description Karl Newman 2013-01-28 21:14:12 UTC
The irexec init.d script included with lirc-9.0-r2 uses both the deprecated --chuid argument and its replacement --user. It should be safe to remove the --chuid from the script.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-29 14:50:41 UTC
FYI: there are some obsolete files that ago forgot to remove in Nov 2012.
Comment 2 Gregg Casillo 2014-03-17 15:28:17 UTC
I'm trying to get some buttons on my MythTV MCE remote to work to suspend my PVR, and I cannot figure out how to get irexec to run as a daemon using this init script. Is there a working init script somewhere? FWIW, I am running lirc-0.9.2-r5.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2014-03-17 15:45:26 UTC
(In reply to Gregg Casillo from comment #2)
> I'm trying to get some buttons on my MythTV MCE remote to work to suspend my
> PVR, and I cannot figure out how to get irexec to run as a daemon using this
> init script. Is there a working init script somewhere? FWIW, I am running
> lirc-0.9.2-r5.


Although this (i assume) does not actually relate to the bug as filed above, if you start irexec via the init script then it should by definition (unless it crashes/fails to run) run as a daemon.

Does irexec crash out? what happens when you try to run /etc/init.d/irexec start ?
Comment 4 Navid Zamani 2014-08-31 17:49:44 UTC
Hi. I have this bug for a couple of years now.

Could someone remove

  --chuid ${IREXEC_USER}

from the file

  /etc/init.d/irexec

And put that into the repository/portage? (Which I can’t.)

That fixes it.
Comment 5 Craig Andrews gentoo-dev 2016-07-31 22:38:30 UTC
https://github.com/gentoo/gentoo/pull/1988