| Summary: | MythTV backend searches for configurations in /etc/mythtv/.mythtv | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Göran Uddeborg <goeran> |
| Component: | mythtv | Assignee: | Richard <hobbes1069> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | alex, jarod |
| Priority: | P5 | ||
| Version: | 17 | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
|
Description
Göran Uddeborg
2012-08-20 18:31:47 CEST
Sorry, I just started a new position at work so things have been a little busy.
Quick question:
In your /lib/systemd/system/mythbackend.service file, does it specify both a HOME environment and MYTHCONFDIR or just HOME?
Something to the effect of:
# Default setting assumes a system wide install. Otherwise it should be set to
# the folder containing the .mythtv subfolder containing the config.xml file
Environment=HOME=/etc/mythtv
^^^^
It specifies only HOME, and that seems to be how it was from the start: [goeran@pluto ~]$ grep Environment /usr/lib/systemd/system/mythbackend.service Environment=HOME=/etc/mythtv [goeran@pluto ~]$ rpm -Vf /usr/lib/systemd/system/mythbackend.service [goeran@pluto ~]$ It used to specify both but I was let to believe by upstream that HOME was preferred. It seems that for HOME, .mythtv is appended but for MYTHCONFDIR it is not. Try copying the service file from /lib/systemd/system into /etc/systemd/system and change HOME to MYTHCONFDIR. Had a chance to test myself and it does indeed fix the problem. I'm working on new builds now. You beat me to it with a couple of hours. Let me know if there is anything else I can help with. Fixed in 0.25.2-2. Works for me now. Thanks for the fix! |