linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #07925
[Bug 1092565] Re: mythtv-setup freezes on exit
I believe this is due to the backend not always stopping when told to do
so. After some investigation, we're not tracking the right PID with
upstart for the backend process.
Talking with #upstart, we need to use exec in the upstart job (so line
23 at https://github.com/MythTV/packaging/blob/master/deb/debian/mythtv-
backend.upstart should look like)
LANG=$LANG exec /usr/bin/mythbackend --syslog local7 --user
mythtv
I tested this locally, and it works. Without it, we're tracking the
wrong PID. With it, upstart tracks the right PID. (Although that is
discussed with the expect parts of upstart, the IRC channel told me to
use exec and check the PIDs match). rhpot1991 and dekarl confirmed that
their PIDs don't match without the exec command.
If this is the case, then this will probably also be the fix for LP: #1027561
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1092565
Title:
mythtv-setup freezes on exit
Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
Triaged
Bug description:
ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
PackageArchitecture: amd64
Package: mythtv-common 2:0.26.0+fixes.20121217.3d7a20c-0ubuntu0mythbuntu2 [origin: LP-PPA-mythbuntu-0.26]
I start:
Applications > System > MythTV Backend Setup.
I get asked for my password to shutdown
mythbackend and then I always get the "Warning: Backend is currently
running" message when I get in to the setup GUI and I click "close and
continue". Do whatever it was that I wanted to do, or do nothing at
all, "esc" out to exit.
If I Alt+Tab to other processes, I can get to the terminal screen underneath the
myth-setup GUI and it's stuck on "Locking input devices". I usually hit
ctrl+c and it takes a few seconds and closes it and then continues to
request a password to start mythbackend and ask if I want to run
mythfilldatabase.
I have discovered though, when presented with the "Warning: Backend is
currently running" if I just dismiss it with "esc", the mythtv-setup
successfully closes. The funny thing is, I get this warning EVERY
time, even though I clicked "Yes" to the is it OK to close all running
mythbackend instances and entered the password to do so. Even though
I get this warning, I have checked via pgrep and mythbackend is NOT
running when it tells me that it is.
When i start mythtv-setup.real i have no problems.
When i start mythtv-setup and enter my password for stopping the database, answer the first questions
with yes and answer the second question with "fortsetzen" or in english "continue anyway" it will not
freeze.
This problem is also shown from a group here:
http://www.gossamer-threads.com/lists/mythtv/users/531323?do=post_view_flat#531323
To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1092565/+subscriptions
References