mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #07185
[Bug 585791] Re: mythvideo's cronjob assumes root can access mythtv tv's home directory
Ah this was filed against the wrong source package and lost.
That cron job has been dropped since then with current builds.
** Package changed: mythvideo (Ubuntu) => mythtv (Ubuntu)
** Changed in: mythtv (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/585791
Title:
mythvideo's cronjob assumes root can access mythtv tv's home directory
Status in “mythtv” package in Ubuntu:
Fix Released
Bug description:
I mount mythtv's home directory using Kerberized NFS. The local root
user is unable to access /home (unless root first kinits, of course).
The result is that /etc/cron.hourly/mythvideo does not work for me.
However, there is no good reason for it to fail and the fix is simple:
simply fold the if into the su! The following works for me:
#!/bin/sh
#Hourly massive update to ensure users see graphics coming in for upcoming recordings and current recordings
su mythtv -c '
if [ -f "$HOME/.mythtv/config.xml" ]; then
/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -MW >> "/var/lo\
g/mythtv/jamu.log";
fi'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/585791/+subscriptions