The mythtv logrotate_script doesn't send a SIGHUP to the mythbackend. Reproducible: Always Steps to Reproduce: 1 2. 3. Actual Results: The postrotate-command outputs: logrotate_script: line 1: [: missing `]' There's a missing space between "/var/run/mythbackend.pid" and ']': --- /etc/logrotate.d/mythtv.orig 2010-02-23 08:06:39.331680715 +0100 +++ /etc/logrotate.d/mythtv 2010-02-23 08:06:09.137415465 +0100 @@ -10,6 +10,6 @@ sharedscripts missingok postrotate -[ -f "/var/run/mythbackend.pid"] && /bin/kill -HUP `cat /var/run/mythbackend.pid` +[ -f "/var/run/mythbackend.pid" ] && /bin/kill -HUP `cat /var/run/mythbackend.pid` endscript }
Fixed. Sorry it took so long for me to notice this.