Re: Mythtv Backend Init Script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/08/07, John Pierce <john.j35@xxxxxxxxx> wrote:

> And I was using the atrpms myth packages, it just did not have a
> .mysql.txt file in the / folder.

The mythbackend init script available from atrpms.net does not setup
$HOME when the script is run at boot time. This means that $HOME
defaults to / which is why you end up with /.mythtv/ entries in the
filesystem.

The updated scripts in MythTV SVN
(http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/init_scripts)
have been updated to daemonise mythbackend with a user (defaults to
root, see below) so that the MythTV config entries are created/read at
init time for a real user.

When starting mythbackend from a terminal, $HOME is already configured
and so mythbackend uses $HOME/.mythtv/. This is the reason you can end
up with separate MythTV configurations in /, /root/ and /home/mythtv/
if you also run mythfrontend as the user 'mythtv'

The reason the atrpms.net scripts do not use the daemonise 'user'
option is due to the lack of the audio and video groups on Fedora.
mythbackend requires access to the AV hardware when it starts and by
default on Fedora, only the root user has access to this. A user needs
to amend their installation's console permissions/udev scripts to
allow non-root users the access to the capture hardware they require
to allow mythbackend to run as another user.

-- 
Nick

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux