Re: logrotate failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 20 November 2006 19:00, David G. Miller wrote:
>Gene Heskett wrote:
[...]
>> I repeat, no upgrade, fresh install.  But I repeat myself... :)
>
>The important questions is, what happens if you do the following?
>
>cd /etc/logrotate.d
>grep named *
>
>On a system with bind installed, you should see:
>
>[root@fraud logrotate.d]# grep named *
>named:/var/log/named.log {
>named:    create 0644 named named
>named:        /sbin/service named reload  2> /dev/null > /dev/null ||
> true

And I get:
===========
[root@coyote logrotate.d]# grep named *
named:/var/log/named.log {
named:    create 0644 named named
named:        /sbin/service named reload  2> /dev/null > /dev/null || true
named.rpmnew:/var/log/named.log {
named.rpmnew:    create 0644 named named
named.rpmnew:        /sbin/service named reload  2> /dev/null 
> /dev/null || true
============
and
============
[root@coyote logrotate.d]# rpm -q --whatprovides /etc/logrotate.d/named
bind-9.3.3-6.fc6
============
The former essentially proving that there was an /etc/logrotate.d/named
file there before I installed bind yesterday.

As to how it got there, I really and truely have NDI.  The fact that the 
syslog file, where I had installed some expansions that have now been 
posted here already, wasn't modified, tells me that I did *not* copy 
my /FC2/etc/logrotate.d to the FC6 installs /etc/logrotate.d.

>on a system without bind you should see:
>
>[root@bend logrotate.d]# grep named *
>[root@bend logrotate.d]#

And I would have seen the first 3 lines pasted above.

>The only file in /etc/logrotate.d that includes some manipulation with
>the named user is:
>
>[root@fraud logrotate.d]# rpm -q --whatprovides /etc/logrotate.d/named
>bind-9.2.4-16.EL4

And just in case rpm exits on the first answer as opposed to all answers, 
what would it say on a system without bind?  An intrigueing question 
that..

Thanks.

-- 
Cheers Dave, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux