during the start process the script changes permissions of certains files. # Work around any strange permissions that may be on these files. chown -R "${MYTH_USER}" "$(dirname "${MYTH_LOG}")" chown -R "${MYTH_USER}" "$(dirname "${MYTH_PID}")" By default MYTH_PID is /var/run/mythbackend.pid so all files in /var/run have there proprietary change. Reproducible: Always Steps to Reproduce: 1. look at a find / -user mythuser -print 2. start mythbackend 3. look again at a find / -user mythuser -print Actual Results: all files in /var/run is owned by the mythuser Expected Results: no change in /var/run except /var/run/mythbackend.pid
I've fixed up the scripts. But I'm still getting an error about "QSettings: error creating .qt" on start. Which is annoying but not harmful since we're not using any QT plugins which is what it appears that file is used for. I'll have to look into it more.
I didn't copy over the new init scripts on my own machine before testing... Duh... it's all fixed now. Re-open if there's other problems. Quickest way to fix it yourself is # cp /usr/portage/media-tv/mythtv/files/0.18-mythbackend.rc /etc/init.d/mythbackend # chmod +x /etc/init.d/mythbackend # cp /usr/portage/media-tv/mythtv/files/0.18-mythbackend.cof /etc/conf.d/mythbackend
*** Bug 92548 has been marked as a duplicate of this bug. ***
*** Bug 93071 has been marked as a duplicate of this bug. ***