[mythtv] Ticket #4356: Mythfilldatabase fails to enter new data if run automatically, but works fine manually

Daniel Kristjansson danielk at cuymedia.net
Mon Dec 31 18:35:03 UTC 2007


On Mon, 2007-12-31 at 12:27 -0600, Carl Fongheiser wrote:
> On Dec 31, 2007 12:21 PM, Eric Bosch <eric.bosch at comcast.net> wrote:
>         That's the strange part.  The backend is run chuid mythtv,
>         which I have
>         confirmed that wget IS in the path, as that is the same user I
>         run it
>         manually with.  I will continue to investigate, but I have it
>         set up the 
>         same way I did when running 32-bit, and have it running now as
>         64-bit.
> 
> Just because the backend is setuid mythtv doesn't mean that that it
> gets the mythtv user's default path.  In fact, that's virtually
> guaranteed not to happen.  Whatever script you have to start
> mythbackend will need to set up the proper path in the environment. 

Yup, the mythbackend init.d script needs to set the PATH for whatever
directories it needs. Modern distros seem to be stripping both root
and user paths down to the essentials.

-- Daniel




More information about the mythtv-dev mailing list