← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 507436] Re: mythvideo/jamu should only run on backends

 

This bug was fixed in the package mythplugins -
0.22.0+fixes23527-0ubuntu1

---------------
mythplugins (0.22.0+fixes23527-0ubuntu1) lucid; urgency=low

  * New snapshot (r23527)
  * debian/control:
    - Recommends for python-imaging (LP: #500313)
  * debian/mythweb.postinst:
    - Check that a 'default' site is available before attempting to
      make a new one. (LP: #462405)
    - Check that the new site to enable exists before enabling.
  * debian/mythvideo.cron.*:
    - Redirect all output on stderr into the log file too (LP: #487880)
    - Check that a frontend is installed to determine if this job should
      be ran. (LP: #507436)
  * debian/mythvideo.logrotate:
    - Supply a logrotate script for jamu.

  [ Nicholas J Kreucher ]
  * debian/mythvideo.cron.*:
    - Use getent instead of grep /etc/passwd (LP: #511858)
 -- Mario Limonciello <superm1@xxxxxxxxxx>   Sun, 14 Feb 2010 19:24:14 -0600

** Changed in: mythplugins (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
mythvideo/jamu should only run on backends
https://bugs.launchpad.net/bugs/507436
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythplugins in ubuntu.

Status in “mythplugins” package in Ubuntu: Fix Released

Bug description:
Binary package hint: mythplugins

Right in the jamu code there is the following check:

if not mythdb.getSetting('BackendServerIP', hostname = localhostname):
 	sys.stderr.write(u"\n! Error: Jamu must be run on a MythTV backend. Local host (%s) is not a MythTV backend.\n" % localhostname)
	sys.exit(1)

and yet mythvideo installs a cron job in cron.hourly which executes the script with the above check in it.  mythvideo is typically installed on frontends, not backends so /etc/cron.hourly/mythvideo, as it is currently, does not belong in the mythvideo package.