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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux