Re: logrotate failure

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

 



Gene Heskett <gene.heskett@xxxxxxxxxxx> wrote:

And they both do. When I ran it like Rick recommended, (logrotate -vf ./logrotate.conf) from the logrotate.d directory, then the real error popped out, and that was because there wasn't a user 'named' because bind wasn't installed. It is now and although bind isn't configured or running, logrorate, at least from the cli, now works. I even copied my old version of the logrotate.d/syslog from FC2 because it has all my additions in it, and it now Just Works(TM) from the cli at any rate.

To me thats a packageing error, there shouldn't be a file in logrotate.d for named UNTIL bind has been installed.

I guess most folks weren't bit because they do install bind. I generally use host files here.
Gene, by any chance was this box upgraded from a previous release? I don't have a named user on my box that got a clean install of FC6:

# cat /etc/passwd | grep named

nor do I have bind installed:

# rpm -qa | grep bind
bind-libs-9.3.3-6.fc6
ypbind-1.19-5
bind-utils-9.3.3-6.fc6

and logrotate works just fine. You might want to check to see if you still have a bind logrotate file in /etc/logrotate.d. It makes sure the rotated logs still have named:named as the owner and group which would cause the problem your seeing. The files in logrotate.d are placed there by each application that wants to have its logs rotated. All logrotate does is run the files. It's possible an upgrade that removed bind didn't remove /etc/logrotate.d/named.

Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux