Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454466 - app-misc/lirc-9.0-r2 - irexec init script uses deprecated --chuid
Summary: app-misc/lirc-9.0-r2 - irexec init script uses deprecated --chuid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: s-s-d-deprecated
  Show dependency tree
 
Reported: 2013-01-28 21:14 UTC by Karl Newman
Modified: 2016-08-02 17:31 UTC (History)
4 users (show)

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 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