Multiple copies of irexec started at login

Bug #624172 reported by Reuben Thomas
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: lirc

I use irexec to generate multimedia keystrokes from my Apple remote. Hence, I created a Startup Applications entry for irexec. Sometimes when I log in, multiple copies of irexec are run. It seems that this could be because irexec is not always killed when I log out: for example, in my current session, one of the copies of irexec has a PID just a little greater than my gnome-session, whereas the other has a lower PID, which seems to be similar to PIDs of other processes created when I first logged in after rebooting, e.g. mpd.

I don't know whether this bug is properly considered to be in lirc or in some program related to GNOME session management, but as I cannot tell it seemed logical to start here (with the specific program that is causing problems), especially as I have not noticed this behaviour with any other program.

I suppose there are multiple questions to answer:

1. Should irexec be killed (or die) when I log out? It seems that some programs started in my session, like mpd, persist when I log out.

2. When I log in, should irexec realise that it is already running and not start a second instance?

If either 1 or 2 were happening, then I would not have a problem...

Sorry if this is a bit vague, and let me know what other information I can provide to help track down the bug.

(In case you're wondering, the reason this bug is a problem is because when there are multiple copies of irexec running, each IR control keypress is acted on once per copy of irexec, so when I press "play/pause", nothing seems to happen, because the music is first paused, then immediately unpaused, for example.)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: lirc 0.8.6-0ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Wed Aug 25 18:59:59 2010
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
SourcePackage: lirc

Revision history for this message
Reuben Thomas (rrt) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lirc (Ubuntu):
status: New → Confirmed
Revision history for this message
Zicu Radu (zradu1100) wrote :

Confirm this bug in precise.

Revision history for this message
Alec Leamas (leamas-alec) wrote :

The key issue her is how irexec is started. When you add the irexex entry, do you provide the --daemon/-d option? If so, try without it.

If the --daemon option isn't active, this is likely a gnome bug. program started from ~/.config/autostart is certainly a session issue.

If you are still interested in this please provide some feeedback. Otherwise, without further input, let's close this bug.

Changed in lirc (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Reuben Thomas (rrt) wrote :

Feel free to close it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lirc (Ubuntu) because there has been no activity for 60 days.]

Changed in lirc (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.