← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 982241] Re: mythexport daemon cannot start - no permission to write to logfile

 

** Changed in: mythexport (Ubuntu)
       Status: Confirmed => In Progress

-- 
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:
  In Progress

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