[mythtv-users] service mythbackend start fails - HOME env variable
Michael T. Dean
mtdean at thirdcontact.com
Fri Feb 22 18:50:04 UTC 2008
On 02/22/2008 12:43 PM, Nick Morrott wrote:
> On 22/02/2008, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>
>> On 02/22/2008 11:46 AM, Fredrik Hallgarde wrote:
>> > A fix that is allowing for customization of user running the backend and
>> > avoids hardcoding things into the init.d script or requiring changes to it.
>>
>> As Marko said, you need a proper init_script. Anduin Withers and Nick
>> Morrott spent quite a bit of time working on the new init script for
>> Fedora, so try it out, and I think it will solve your issues.
>>
> I'm not running current SVN due to ongoing illness and subsequent lack
> of time at the moment (but I still check the lists). As a result, I'm
> not sure if the recent changes to MythTV regarding checking for a good
> configuration will affect how the Fedora startup scripts I worked on
> last year will run.
>
Your changes to the start script should allow MythTV to work properly on
Fedora. They were a large part of the reason I campaigned for the
"don't even try to run in a broken configuration" change.
> The Fedora initscript/config ensures that $HOME is set, which is one
> of the key reasons for failed mythbackend startups and
> mythfilldatabase issues. If you are running Fedora, they are by far
> the best (IMNSHO) and most flexible way to control mythbackend. Copy
> the config file to /etc/sysconfig/mythbackend, and update it as
> required.
Yep. I agree everyone using Fedora should be using them.
Mike
More information about the mythtv-users
mailing list