mythexport daemon cannot start - no permission to write to logfile

Bug #982241 reported by Bradley Baetz on 2012-04-15
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mythexport (Ubuntu)
Undecided
rhpot1991

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

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mythexport (Ubuntu):
status: New → Confirmed
rhpot1991 (rhpot1991) on 2012-05-08
Changed in mythexport (Ubuntu):
assignee: nobody → rhpot1991 (rhpot1991)
rhpot1991 (rhpot1991) on 2012-10-12
Changed in mythexport (Ubuntu):
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers