[Bug 407862] Re: Messages not being sent to system logs

Barry Warsaw 407862 at bugs.launchpad.net
Wed Sep 7 13:45:01 UTC 2011


Nikolaus, can you provide exact steps to reproduce the problem for you?

I have a fully up-to-date 10.04.3 LTS.  /var/log/syslog is owned by
syslog:adm.  Note that if your file does *not* have these ownerships,
you should `sudo chown syslog:adm /var/log/syslog` before you begin.

$ tail -f /var/log/syslog
# In another shell
$ logger testing
# testing shows up in syslog
# In another shell
$ pkill -HUP rsyslogd
# In the tail, I see the 'HUPed... lightweight' message
$ logger testing
# The message shows up in the tail

So that all looks to work perfectly.  /var/log/syslog is still owned by
syslog:adm.  Now I do

$ logrotate --force --verbose /etc/logrotate.conf

All the logs get rotated, and /var/log/syslog is still owned by
syslog:adm, and it contains the 'HUPed...lightweight' message.  Writing
a log message to it continues to work fine.

** Changed in: rsyslog (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/407862

Title:
  Messages not being sent to system logs

Status in Rsyslog:
  Fix Released
Status in “rsyslog” package in Ubuntu:
  Incomplete

Bug description:
  First reported on Ubuntu 9.10 Alpha3
  It affects Ubuntu 10.04 Lucid Lynx Final Release, too.

  rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="2296"
  x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type
  'lightweight'.

  After the above message in syslog no more messages are sent to any
  system logs. Plugging and unplugging an usb device produce no
  messages, although the device is mounted an works fine. Also, nothing
  is produced by the logger command.

  The problem occurs in a desktop and in a VirtualBox virtual machine.
  It occurred soon after karmic alpha 3 installation and persisted after
  installing all available updates in both environments.

  I'm attaching a typical syslog.

To manage notifications about this bug go to:
https://bugs.launchpad.net/rsyslog/+bug/407862/+subscriptions




More information about the foundations-bugs mailing list