[mythtv] mythfilldatabase environment requirements

Robin Gilks g8ecj at gilks.org
Thu Oct 4 00:09:14 UTC 2007

> On 03/10/2007, Robin Gilks <g8ecj at gilks.org> wrote:
>> I'm not sure what get inherited from the root user that runs the startup
>> scripts (especially at the point at which mythbackend gets started), so
>> it
>> could be that /etc/profile doesn't get loaded in which case a whole lump
>> of environment may be missing.
> Could it be that $HOME is not defined at startup for the user you are
> running mythbackend as? This is a well known issue on Fedora - we
> updated the Fedora init script some months ago to handle this
> correctly. Perhaps a simple debugging test would be to output the
> environment (especially $HOME) before the init script runs
> mythbackend.
> A good way to tell if you have a missing $HOME is if have /.mythtv/
> and /.qt directories off / instead of a user directory.

See my email that started this thread - HOME and PATH are set correctly
(as checked using /proc/[pid]/environ) for the backend. The problem I have
appears to be with the python grabber - it requires something that nobody
seems to know about :-(

Robin Gilks

More information about the mythtv-dev mailing list