Nick wrote:

On 26/09/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Mon, Sep 26, 2005 at 10:48:37PM +1000, ffrr wrote:
When I reboot, I need to restart mythbackend before it can record
shows.

If I restart the backend daemon, it will work properly.
There are two main reasons why programs will work manually and not when
started at boot time:

1) Environment - when you start the program manually it inherits your
shell environment variables.  Those may be missing when started via cron
or init.

2) Timing w/ respect to prerequisites - your back end may be starting
before the ivtv (or equivalent) module has been loaded.  The best way to
avoid these kinds of problems is to start the application from the
runlevel scripts and NOT from the system's boot-up script.  Since
nothing else depends on the back end (except the front end), it should
be one of the very last daemons your system starts.

It is almost always the latter - you can use Jarod's rc.sysinit patch
to ensure that your video drivers are loaded before mythbackend tried
to start up. You can also manually modprobe your drivers, then sleep
for a few seconds, and then start mythbackend manually in rc.local.

Nick


well, mythbackend is starting late in run level 5 at the moment. Is rc.local run after that?
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to