mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #07184
[Bug 585791] [NEW] mythvideo's cronjob assumes root can access mythtv tv's home directory
You have been subscribed to a public bug:
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'
** Affects: mythtv (Ubuntu)
Importance: Undecided
Status: New
--
mythvideo's cronjob assumes root can access mythtv tv's home directory
https://bugs.launchpad.net/bugs/585791
You received this bug notification because you are a member of Mythbuntu Bug Team, which is subscribed to mythtv in Ubuntu.