← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1408651] Re: Needs systemd unit or sysv init script, fix if-up.d script

 

pitti:

Thanks for adding this.  Some quick questions regarding usage with systemd.  
1) Will the Wants & After stanzas for mysql cause it to only start after mysql is fully spawned and functional?  We made it work specifically to check for a valid mysql connection rather than just wait for the upstart job in the past because of race conditional 
problems.

2) We were previously sourcing /etc/default/locale and explicitly
setting the LANG.  Can this still be accomplished with systemd?

-- 
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/1408651

Title:
  Needs systemd unit or sysv init script, fix if-up.d script

Status in mythtv package in Ubuntu:
  Fix Committed

Bug description:
  mythtv-backend only ships an upstart job. With
  https://blueprints.launchpad.net/ubuntu/+spec/core-1411-systemd-
  migration it needs an init.d script or a systemd script to also work
  under systemd.

  On top of that, /etc/network/if-up.d/mythtv-backend.if-up.d does

    stop mythtv-backend || true
    start mythtv-backend || true

  which is upstart specific. It must use "invoke-rc.d mythrv-backend
  restart" instead, which works for all init systems.

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


References