mythvideo assumes passwd db is local
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Low
|
Unassigned | ||
mythplugins (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The /etc/cron.
# diff -u /etc/cron.
--- /etc/cron.
+++ /etc/cron.
@@ -1,7 +1,8 @@
#!/bin/sh
#Hourly massive update to ensure users see graphics coming in for upcoming recordings and current recordings
-DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
+DIRECTORY=$(getent passwd mythtv | cut -d':' -f6)
if [ -f "$DIRECTORY/
su mythtv -c "/usr/bin/python /usr/share/
fi
Mythbuntu 9.10 / 0.22.0+
Thank you for helping to improve Mythbuntu by opening this ticket. I am marking this ticket as confirmed because it appears to have enough information to help the developers understand the problem. It is possible I am wrong and another more experienced triager or developer may adjust the status of the ticket to "incomplete" and request additional information.