[mythtv-users] How to use tmdb.pl with MythVideo/MythWeb
Andrew Burgess
aab at cichlid.com
Sun Apr 5 22:49:17 UTC 2009
On Sun, 2009-04-05 at 18:17 -0400, Bobby Gill wrote:
> Andrew is encountering the similar challenge, but *IS* using SELinux,
> so this seems strange to me.
Seems odd that it works from the command line and then starting
mythfrontend from same command line it won't work
> "The error you are receiving (Insecure dependency in require while
> running setgid) has to do with perl's taint mode. The perl
> interpreter runs scripts in taint mode if you request it with the -T
> flag or automatically if the script file has the setuid or setgid flag
> set.
I will look to see if that's set globally somehow - it's not in the
scripts.
Hmmm. Adding -T doesn't change anything implying it already thinks it's
on. And the error message does say it's running setgid...
Oh crap. It's mythfrontend that's setuid/gid here. Damn!
Sure enough, turning that off changes everything.
Now it complains the args are incorrect:
2009-04-05 15:45:12.363 GetVideoList returned 1 possible matches
2009-04-05 15:45:12.363 Video Data Query: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -D "
2009-04-05 15:45:12.669
Usage : /usr/share/mythtv/mythvideo/scripts/tmdb.pl -D <movieid>
It's leaving off the movieid. This is trunk [20282M], is that expected
behavior?
Getting closer! :-)
More information about the mythtv-users
mailing list