Hi,
On 07/04/2015 06:03 AM, Cui Bixuan wrote:
> Hi,
> Your method is better than mine (I learned that how to use logrotate command 
> again yesterday and
> found that remove messages-* is not a good idea).
>
> We can remove 'include /etc/logrotate.d' and delete 'grep including 
> /etc/logrotate.d $LTPTMP/tst_logrotate.out'
> in case to fix it, what do you think?  If ok, I will send a new patch.

OK.

> In addition, I have a question, Why including the rules in /etc/logrotate.d/ 
> will cause the case failed
> when run it at the second time?

You have already written the explanation -  it failed because file with 
the same name exists. Moreover, I can't reproduce it in my system. You 
should check what kind of rules do you have for "/var/log/messages" in 
/etc/logrotate.d/.

Thanks,
Alexey

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to