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

Michael T. Dean mtdean at thirdcontact.com
Mon Dec 31 20:05:05 UTC 2007


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


More information about the mythtv-dev mailing list