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

Eric Bosch eric.bosch at comcast.net
Thu Jan 3 00:33:39 UTC 2008


Thanks for all the replies, but it looks like everything started working
with an upgrade of baselayout-2 on my system.

Michael T. Dean wrote:
> On 12/31/2007 01:35 PM, Daniel Kristjansson wrote:
>   
>> 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.
>>     
>
> Yep.  Again:  
> http://www.gossamer-threads.com/lists/mythtv/users/306521#306521
>
> I'll be on the -users list if you have more questions.
>
> Mike
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>   


More information about the mythtv-dev mailing list