Comment 10 for bug 542627

Revision history for this message
Mario Limonciello (superm1) wrote :

Marc:

I would generally agree with you, but we don't have a hard dependency on mysql currently because there is no such thing as a conditional job.

If the patch I posted above doesn't work, I do have another idea though.

We can have two different packages that own the upstart jobs:

mythtv-backend-master
mythtv-backend-slave

These packages would both conflict upon one another, but also both could resolve a dependency of mythtv-backend. The slave package would have a job that doesn't refer to mysql at all. The master package could have a job that depends on mysql for both shutdown and startup fixing the problems.