> > Does anyone know how to fix this? Mythbackend seems to be the only
> > service which this happens to where it can't write to the new log file
> > after logrotate. I know it's possible to stpo/restart the service as
> > part of logrotate but that would mess up the recording.
> 
> Are you using the copytruncate option in the logrotate entry for mythtv?

No I haven't been so I will give that a go. Thanks for the suggestion.
My mythbackend file for logrotate now looks like this:

/var/log/mythtv/mythbackend.log {
    notifempty
    missingok
    copytruncate
    compress
    compresscmd /usr/bin/bzip2
    uncompresscmd /usr/bin/bunzip2
    compressext .bz2
    weekly
}

Does this look right?

Regards,
Phill
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to