mythtv-backend upstart config should wait for mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Undecided
|
Unassigned | ||
mythtv (Ubuntu) |
Fix Released
|
Undecided
|
Mario Limonciello |
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/
...
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/
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.
tags: | added: patch |
tags: |
added: patch-needswork removed: patch |
Changed in mythbuntu: | |
status: | Fix Committed → Fix Released |
I should note that I'm running 0.23.0+fixes25396.