Bugzilla – Bug 5056
logrotate scripts still uses incorrect redirection
Last modified: 2014-04-14 09:18:18
You need to
before you can comment on or make changes to this bug.
Moved from https://www.cendio.com/bugzilla/show_bug.cgi?id=4471#c14 :
Actually, the resolution to this problem, which I assume was first removing
and then replacing this with
2>&1 > /dev/null
(which is what I find under /etc/logrotate.d in release 4.1.1) is still not
It should be
> /dev/null 2>&1
(First stdout is redirected to /dev/null, then this redirection is copied to
Fixed in r28829.
Tested using build 4323 on Ubuntu 12.04, works as expected.