after logrotate logs are empty

Bug #1026660 reported by Jim Tarvid
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
logrotate (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

root@helen:/var/log# find /var/log -empty
/var/log/alternatives.log
/var/log/btmp
/var/log/auth.log
/var/log/mysql
/var/log/news/news.crit
/var/log/news/news.err
/var/log/news/news.notice
/var/log/mail.log
/var/log/syslog
/var/log/btmp.1
/var/log/ntop/access.log
/var/log/dist-upgrade
/var/log/mailman/locks.1
/var/log/mailman/smtp-failure
/var/log/mailman/locks
/var/log/mailman/mischief.1
/var/log/mysql.err
/var/log/landscape/sysinfo.log
/var/log/aptitude
/var/log/ufw.log
/var/log/apache2/other_vhosts_access.log
/var/log/mysql.log
/var/log/mail.err

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: logrotate 3.7.8-6ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jul 19 11:08:26 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: logrotate
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jim Tarvid (tarvid) wrote :
Revision history for this message
Jim Tarvid (tarvid) wrote :

service rsyslog restart did not restart syslog

killall rsyslogd
service rsyslog restart

did

Revision history for this message
Jim Tarvid (tarvid) wrote :

rsyslog failed to resume writing after a restart today

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in logrotate (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaron B. Russell (aaronr) wrote :

Workaround: open /etc/logrotate.d/rsyslog, and replace this line:

reload rsyslog >/dev/null 2>&1 || true

... with this line:

restart rsyslog >/dev/null 2>&1 || true

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.