mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #06706
[Bug 982241] Re: mythexport daemon cannot start - no permission to write to logfile
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: mythexport (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythexport in Ubuntu.
https://bugs.launchpad.net/bugs/982241
Title:
mythexport daemon cannot start - no permission to write to logfile
Status in “mythexport” package in Ubuntu:
Confirmed
Bug description:
Using precise (12.04) prerelease, the mythexport daemon doesn't start.
strace starting the service has:
....
open("/var/log/mythtv/mythexport.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied)
write(2, "Cannot write to '/var/log/mythtv"..., 118) = 118
and indeed:
root@guava:/var/log/mythtv# ls -l mythexport.log
-rw-r--r-- 1 syslog adm 295073 Apr 15 21:27 mythexport.log
The rest of mythtv 0.25 has moved to syslog and redirecting the output
in /etc/rsyslog.d/40-mythtv.conf - mythexport presumably needs to
match too. Changing the permissions on mythexport.log also fixes the
problem.
root@guava:/var/log/mythtv# dpkg -l mythexport
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===========================-===========================-======================================================================
ii mythexport 2.2.4-0ubuntu1 Export MythTV recording to portable media players
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythexport/+bug/982241/+subscriptions
References