← Back to team overview

touch-packages team mailing list archive

[Bug 612900] Re: rsyslog does not reopen /dev/xconsole on reload

 

** Also affects: hundredpapercuts
   Importance: Undecided
       Status: New

** Changed in: hundredpapercuts
       Status: New => Confirmed

** Changed in: hundredpapercuts
   Importance: Undecided => High

** Changed in: rsyslog (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/612900

Title:
  rsyslog does not reopen /dev/xconsole on reload

Status in One Hundred Papercuts:
  Confirmed
Status in rsyslog package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: rsyslog

  Package:  rsyslog        4.2.0-2ubuntu8
  Uname : 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010 i686 unknown GNU/Linux
  Distro: Lucid (10.04.1 LTS)

  On getting a reload (e.g. from sudo reload rsyslog, or from log
  rotation) rsyslogd closes all open logfiles, pipes, etc, but does not
  seem to reopen the fifo /dev/xconsole  This means that xconsole then
  hangs.

  Before reload: 
  # ls -l 6402/fd/
  total 0
  lrwx------ 1 root root 64 2010-08-03 10:21 0 -> socket:[36483]
  l-wx------ 1 root root 64 2010-08-03 10:21 10 -> /var/log/mail.log
  l-wx------ 1 root root 64 2010-08-03 10:21 11 -> /var/log/user.log
  l-wx------ 1 root root 64 2010-08-03 10:21 12 -> /var/log/mail.info
  l-wx------ 1 root root 64 2010-08-03 10:21 13 -> /var/log/mail.warn
  l-wx------ 1 root root 64 2010-08-03 10:21 14 -> /var/log/mail.err
  l-wx------ 1 root root 64 2010-08-03 10:21 15 -> /var/log/news/news.crit
  l-wx------ 1 root root 64 2010-08-03 10:21 16 -> /var/log/news/news.err
  l-wx------ 1 root root 64 2010-08-03 10:21 17 -> /var/log/news/news.notice
  l-wx------ 1 root root 64 2010-08-03 10:21 18 -> /var/log/debug
  l-wx------ 1 root root 64 2010-08-03 10:21 19 -> /var/log/messages
  lrwx------ 1 root root 64 2010-08-03 10:21 20 -> /dev/xconsole
  lr-x------ 1 root root 64 2010-08-03 10:21 3 -> /proc/kmsg
  l-wx------ 1 root root 64 2010-08-03 10:21 4 -> /var/log/ufw.log
  l-wx------ 1 root root 64 2010-08-03 10:21 5 -> /var/log/auth.log
  l-wx------ 1 root root 64 2010-08-03 10:21 6 -> /var/log/syslog
  l-wx------ 1 root root 64 2010-08-03 10:21 7 -> /var/log/daemon.log
  l-wx------ 1 root root 64 2010-08-03 10:21 8 -> /var/log/kern.log
  l-wx------ 1 root root 64 2010-08-03 10:21 9 -> /var/log/lpr.log

  Immediately after reload:
  # ls -l 6402/fd/
  total 0
  lrwx------ 1 root root 64 2010-08-03 10:21 0 -> socket:[36483]
  lr-x------ 1 root root 64 2010-08-03 10:21 3 -> /proc/kmsg

  Some minutes after reload:
  # ls -l 6402/fd/
  total 0
  lrwx------ 1 root root 64 2010-08-03 10:21 0 -> socket:[36483]
  l-wx------ 1 root root 64 2010-08-03 10:21 1 -> /var/log/syslog
  l-wx------ 1 root root 64 2010-08-03 10:21 10 -> /var/log/messages
  l-wx------ 1 root root 64 2010-08-03 10:21 2 -> /var/log/mail.log
  lr-x------ 1 root root 64 2010-08-03 10:21 3 -> /proc/kmsg
  l-wx------ 1 root root 64 2010-08-03 10:21 4 -> /var/log/mail.info
  l-wx------ 1 root root 64 2010-08-03 10:21 5 -> /var/log/daemon.log
  l-wx------ 1 root root 64 2010-08-03 10:21 6 -> /var/log/debug
  l-wx------ 1 root root 64 2010-08-03 10:21 7 -> /var/log/mail.warn
  l-wx------ 1 root root 64 2010-08-03 10:21 8 -> /var/log/mail.err
  l-wx------ 1 root root 64 2010-08-03 10:21 9 -> /var/log/kern.log

  It seems that files are only reopened when needed, but /dev/xconsole
  is not reopened, possibly because it is a named pipe.

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