mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #03635
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
This bug was fixed in the package mythtv - 1:0.24.0+fixes27305-0ubuntu1
---------------
mythtv (1:0.24.0+fixes27305-0ubuntu1) natty; urgency=low
[ Mario Limonciello ]
* New 0.24 checkout (27305)
* Modify the upstart script to load the LANG first. (LP: #541042)
* Modify configure_mythplugins_without_mythtv_installed.patch to remove
SYSROOT from the mytharchive build process for it's additional support
files. (LP: #674626)
* Remove unused package, mythmovies from build process.
* Clean up the dependencies of a few packages, and harden them to the binary
version.
* Disable XvMC as it's causing crashes. VDPAU is better off in these
situations anyhow (LP: #660833)
* Remove sparc support.
* Make sure mysql is pingable before starting the backend (LP: #609402)
* Fixup some linitians:
- Extra license files
- Longer extended descriptions
- Duplicated synopsis
- Init.d script
* Add a new debian/rules rule called 'update-upstream-changelog'.
This finds all of the most recent svn commit messages and
creates changelog entries.
* Add a debian/README.Debian for explaining how to work with the package.
* In the update-upstream-changelog rule, search for the word mythbuntu
in the version string. If found, find the latest version on the PPA
to compare against.
* Get rid of the newest-revision rule in favor of one that will actually
update the changelog/checkout to the new version.
* Add a new helper script debian/do-new-release.sh that will run all of
these common tasks in preparation for an upload to ubuntu.
[ Thomas Mashos ]
* Set backend to not respawn if it dies 2 times in 1 hour (LP: #654846)
* Move metadata scripts and internetcontent to mythtv-common
* Fixed Replaces for mythtv-common
* Added python and perl bindings as recommends for BE/FE
* Fixes replaces in control.in for mythtv-common (LP: #676791)
* Added bindings as recommends to FR and BE in control.in
* Added Breaks mythtv-backend to mythtv-common (LP: #677206)
* Added conflicts/replaces for mythplugins-dbg to mythtv-dbg
* Added script to find latest mythtv svn revision in PPA
-- Mario Limonciello <Mario_Limonciello@xxxxxxxx> Sat, 20 Nov 2010 13:19:58 -0600
** Changed in: mythtv (Ubuntu)
Status: Fix Committed => Fix Released
--
mythtv-backend upstart config should wait for mysql
https://bugs.launchpad.net/bugs/609402
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Fix Released
Status in “mythtv” package in Ubuntu: Fix Released
Bug description:
mythtv-backend requires mysql, so it should not start until mysql has started and it should stop when mysql is stopping.
Due to bug #608423 mysql fails to start on my machine. Because of the 'respawn' directive in /etc/init/mythtv-backend.conf, my /var/log/syslog was quickly filled with the following:
...
Jul 23 19:18:01 myth init: mythtv-backend main process (26729) terminated with status 254
Jul 23 19:18:01 myth init: mythtv-backend main process ended, respawning
Jul 23 19:18:04 myth init: mythtv-backend main process (26735) terminated with status 254
Jul 23 19:18:04 myth init: mythtv-backend main process ended, respawning
Jul 23 19:18:08 myth init: mythtv-backend main process (26741) terminated with status 254
Jul 23 19:18:08 myth init: mythtv-backend main process ended, respawning
...
and my /var/log/mythtv/mythbackend.log was filled with "Can't connect to MySQL server on 'myth' (111)" errors.
The attached patch modifies the upstart config file to wait until mysql starts before starting mythtv-backend and stop mythtv-backend when mysql is stopping.
References