2010/5/10 Alan McKinnon <alan.mckin...@gmail.com>: > Please hash out all the lines in the denyhosts rotate file and run > "logrotate -d /etc/logrotate.conf" > Then let's see what error comes up. > > -- > alan dot mckinnon at gmail dot com > >
I hit the same problem few days ago but I didn't look for a solution until today. When I tried to run logrotate -d /etc/logrotate.d/denyhosts, it still fails with the same error. Finally I took a close look at the file /etc/logrotate.d/denyhosts and I discovered that it contains CRLF as line separators. Converting them to LF has solved the problem. I just file a bug about it. See http://bugs.gentoo.org/show_bug.cgi?id=319133 Hope this helps. Tomáš