← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 897467] Re: mythtv-setup starts mythtv daemon even if it wasn't running

 

The effort is duplicated because the actual mythtv-setup.real process
won't be able to start/stop the backend without superuser rights.

I have changed up the packaging a bit to actually test for the job
running however per your recommendations.  If it's not running it won't
offer to stop it, and if it wasn't running, it will check with the user
first if they actually want to start it after.

Thanks,

** Changed in: mythtv (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/897467

Title:
  mythtv-setup starts mythtv daemon even if it wasn't running

Status in “mythtv” package in Ubuntu:
  Fix Committed

Bug description:
  If you run mythtv-setup (as opposed to mythtv-setup.real) it assumes
  the mythtv daemon is running, and tries to kill it. If it isn't
  running this generates errors.

  Even worse, it then silently starts the daemon again when exiting.

  However, just because I have stopped editing the setup does not mean I
  am ready to have the daemon start yet. e.g. I might be exiting the
  setup because I am having problems scanning channels, and I want to
  try testing the TV card from the command line. I can't do this with
  the backend running trying to access the card.

  Please don't restart the daemon unless it was already running before
  it was killed. Maybe even ask first.

  Also:

  * Please don't bother asking if if the daemon should be killed if it
  isn't even running.

  * The mythtv-setup.real checks the daemon is running itself, why does
  mythtv-setup need to duplicate this effort?

  Brian May

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/897467/+subscriptions


References