Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482714 - media-tv/mythtv: provide systemd unit files
Summary: media-tv/mythtv: provide systemd unit files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2013-08-27 20:34 UTC by Stefan G. Weichinger
Modified: 2013-10-23 15:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan G. Weichinger 2013-08-27 20:34:38 UTC
mythtv does not yet bring systemd unit files.

The mythtv-wiki shows a possible file for mythbackend (working for me so far):

http://www.mythtv.org/wiki/Systemd_mythbackend_Configuration


Reproducible: Always
Comment 1 Richard Freeman gentoo-dev 2013-08-27 21:17:25 UTC
(In reply to Stefan G. Weichinger from comment #0)
> mythtv does not yet bring systemd unit files.
> 
> The mythtv-wiki shows a possible file for mythbackend (working for me so
> far):
> 
> http://www.mythtv.org/wiki/Systemd_mythbackend_Configuration
> 

What version is it working with?  That page specifically states that there could be issues with logging.

This has actually been on my todo for a while.
Comment 2 Stefan G. Weichinger 2013-08-27 21:24:08 UTC
(In reply to Richard Freeman from comment #1)

> What version is it working with?  That page specifically states that there
> could be issues with logging.
> 
> This has actually been on my todo for a while.

I run it with 0.26.0_p20130729 ... it records and I could watch recordings via a separate frontend. mythweb works etc

No specific logging problems noticed so far.

I see current logfiles in /var/log/mythtv ...
Comment 3 Stefan G. Weichinger 2013-09-02 18:17:29 UTC
(In reply to Stefan G. Weichinger from comment #2)
> (In reply to Richard Freeman from comment #1)
> 
> > What version is it working with?  That page specifically states that there
> > could be issues with logging.
> > 
> > This has actually been on my todo for a while.
> 
> I run it with 0.26.0_p20130729 ... it records and I could watch recordings
> via a separate frontend. mythweb works etc
> 
> No specific logging problems noticed so far.
> 
> I see current logfiles in /var/log/mythtv ...

I think I get it now:

"journalctl _SYSTEMD_UNIT=" does not show mythbackend.service as a choice ... which might be related to the special logging of mythtv. I will try to play with it soon ... right now the system records *essential* stuff from TV ;-)
Comment 4 Pacho Ramos gentoo-dev 2013-09-21 14:06:22 UTC
I could commit the unit files but... how major are that pending problems? :|
Comment 5 Richard Freeman gentoo-dev 2013-09-22 00:01:15 UTC
(In reply to Pacho Ramos from comment #4)
> I could commit the unit files but... how major are that pending problems? :|

I'll defer to those running under systemd.  If those using the files don't have any issues I'm also more than happy to commit them, and there will be another fixes bump coming soon (I'm a bit behind on that).

One of these days I'll get my box running mythtv running systemd...
Comment 6 Pacho Ramos gentoo-dev 2013-09-22 09:37:34 UTC
Will wait then :)
Comment 7 Stefan G. Weichinger 2013-09-23 06:46:17 UTC
(In reply to Pacho Ramos from comment #4)
> I could commit the unit files but... how major are that pending problems? :|


Aside from the mentioned issue w/ journalctl I don't see major problems. The system works and records fine. Currently I am away from home, so I can't debug things for the next week or so. I vote for committing the unit file to get more users to test it.
Comment 8 Richard Freeman gentoo-dev 2013-10-23 15:01:02 UTC
Ok, this is in portage.  I did some testing in a VM and it appears to work fine (short of actually setting up tuners/etc).

If there is a better solution for the logging I'm all ears, but mythtv-0.26+ is pretty intrusive there.