[mythtv-users] mythbackend fails silenty
knowledgejunkie at gmail.com
Wed Sep 14 17:39:46 UTC 2005
On 14/09/05, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> On 09/14/05 03:52, Graeme Wilford wrote:
> >Turned out that running mythbackend on the command line caused it to
> >pick up mysql.txt from ~root/.mythtv/ and running it via 'service' or
> >directly via the init script caused it to pick up mysql.txt from
> >/.mythtv/ This is on FC3.
> >Wiping out /.mythtv/mysql.txt and linking it back to
> >~/root/.mythtv/mysql.txt did the trick for me.
> Probably better off copying the file (or, even better, moving the file
> and chown'ing it since root doesn't need it) from root's home directory
> to mythtv's. No normal users should have access to any files in root's
> home (or the directory itself). This won't affect Myth directly, but is
> a much cleaner approach overall.
On a related theme, what is the difference between starting a daemon
in /etc/rc.d/init.d with the service command and just running it from
the command line directly? I've always run init.d scripts using the
service command, but now this thread shows it may be problematic when
running scripts directly without it.
Thanks for any insight,
More information about the mythtv-users