Description of problem: logrotate config specifies "delaycompress" but lacks "compress". Version-Release number of selected component (if applicable): httpd-2.4.10-1.fc20.x86_64 How reproducible: Always Steps to Reproduce: 1. cat /etc/logrotate.d/httpd 2. 3. Actual results: logrotate config specifies "delaycompress" but lacks "compress". "delaycompress" only has effect when used in combination with "compress". Expected results: Depending on what the author intended, either add "compress" or remove "delaycompress". Additional info: $ cat /etc/logrotate.d/httpd /var/log/httpd/*log { missingok notifempty sharedscripts delaycompress postrotate /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true endscript }
I think this is intentional. The "compress" directive can be specified globally in /etc/logrotate.conf (it's commented out by a default, but user can uncomment it). In this case you have no clue that httpd should use "delaycompress". "delaycompress" without "compress" does not break anything.