Gentoo Archives: gentoo-user

From: "Tomáš Linhart" <tomas.linhart@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] logrotate - strange error message
Date: Mon, 10 May 2010 11:09:41
Message-Id: AANLkTik2Qz4GqDcSA71OwiEUWgDa-_eSD4HwYeAC9kMM@mail.gmail.com
In Reply to: Re: [gentoo-user] logrotate - strange error message by Alan McKinnon
1 2010/5/10 Alan McKinnon <alan.mckinnon@×××××.com>:
2 > Please hash out all the lines in the denyhosts rotate file and run
3 > "logrotate -d /etc/logrotate.conf"
4 > Then let's see what error comes up.
5 >
6 > --
7 > alan dot mckinnon at gmail dot com
8 >
9 >
10
11 I hit the same problem few days ago but I didn't look for a solution
12 until today.
13 When I tried to run logrotate -d /etc/logrotate.d/denyhosts, it still
14 fails with the same error.
15
16 Finally I took a close look at the file /etc/logrotate.d/denyhosts and
17 I discovered that it contains CRLF as line separators. Converting them
18 to LF has solved the problem.
19
20 I just file a bug about it. See http://bugs.gentoo.org/show_bug.cgi?id=319133
21
22 Hope this helps.
23
24 Tomáš