Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 26, 2010 3:46 am 
Offline
Senior Newbie

Joined: Thu Sep 17, 2009 2:57 pm
Posts: 19
The strangest thing.

I was just diagnosing a webalizer issue, when I noticed that /usr/sbin/logrotate and /etc/logrotate.conf were missing.

The apt and auth logs didn't show anything amiss, so I don't think I've been hacked.

Firstly, could someone post the default /etc/logrotate.conf from Debian 5 here, please. I can't find it online, and re-installing logrotate does not create the file.

Also, any clues as to why these files would have disappeared?

Cheers,
Richard


Top
   
 Post subject:
PostPosted: Thu Aug 26, 2010 4:38 am 
Offline
Senior Newbie

Joined: Thu Sep 17, 2009 2:57 pm
Posts: 19
OK, found a copy of logrotate.conf.

Code:
 # see "man logrotate" for details
  # rotate log files weekly
  weekly

  # keep 4 weeks worth of backlogs
  rotate 4

  # create new (empty) log files after rotating old ones
  create

  # uncomment this if you want your log files compressed
  #compress

  # packages drop log rotation information into this directory
  include /etc/logrotate.d

  # no packages own wtmp, or btmp -- we'll rotate them here
  /var/log/wtmp {
      monthly
      create 0664 root utmp
      rotate 1
  }

  /var/log/btmp {
      missingok
      monthly
      create 0664 root utmp
      rotate 1
  }

  # system-specific logs may be configured here


But, why did these disappear? There's nothing in the shell history, nothing in the auth logs.

Very, very odd.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group