[mythtv-users] How to use tmdb.pl with MythVideo/MythWeb
bobbygill at rogers.com
Sun Apr 5 22:57:00 UTC 2009
> It's because you're running mythfrontend setuid root and mythfrontend is
> running MythVideo and mythvideo is running tmdb.pl, so you're running
> tmdb.pl in a setuid root environment. TTBOMK, there shouldn't be any
> distribution left that requires running mythfrontend setuid root to achieve
> real-time scheduling for the display thread, so you should be able to remove
> the setuid bit on mythfrontend. See, "Enabling real-time scheduling of the
> display thread," at http://www.mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4for a bit more.
> Note, this also /might/ happen if you run mythfrontend as root directly
> (though I don't know for sure). If that's the case and you can't run
> mythfrontend as a non-privileged user, you'll have to either add a hack to
> the script or to all the command lines that execute tmdb.pl so that "./" is
> explicitly in the INC path (using perl's -I argument) or install
> MythTV/MythVideoCommon.pm into a "real" directory that's already in the Perl
> include path.
> mythtv-users mailing list
> mythtv-users at mythtv.org
Okay, I just ran mythfrontend with sudo and the script worked just fine,
looked up the movie and got all info and the poster. So from the link you
gave, would doing this basically resolve it:
# chmod a+s /usr/local/bin/mythfrontend /usr/local/bin/mythtv
It notes that being "unsecure." However I'm not sure how else to solve this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users