[Bug 1076180] [NEW] bad defaults in /etc/rsyslog.d/50-default.conf

Steve Langasek steve.langasek at canonical.com
Wed Nov 7 23:25:01 UTC 2012


Public bug reported:

rsyslog includes the following commented-out example which is wrong:

#daemon,mail.*;\
#       news.=crit;news.=err;news.=notice;\
#       *.=debug;*.=info;\
#       *.=notice;*.=warn       /dev/tty8

This doesn't work unless you prefix /dev/tty8 with '|'

Also, the following is uncommented by default:

daemon.*;mail.*;\
        news.err;\
        *.=debug;*.=info;\
        *.=notice;*.=warn       |/dev/xconsole

And xconsole is not installed by default, so this causes a warning on
rsyslog startup:

Nov  6 01:50:03 virgil rsyslogd-2039: Could not open output pipe
'/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]

The latter should just be commented out.  The former is maybe something
that should be fixed in the code (why should we need to specify a
special '|' character for a device file?)

** Affects: rsyslog (Ubuntu)
     Importance: Low
         Status: Confirmed

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

-- 
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/1076180

Title:
  bad defaults in /etc/rsyslog.d/50-default.conf

Status in “rsyslog” package in Ubuntu:
  Confirmed

Bug description:
  rsyslog includes the following commented-out example which is wrong:

  #daemon,mail.*;\
  #       news.=crit;news.=err;news.=notice;\
  #       *.=debug;*.=info;\
  #       *.=notice;*.=warn       /dev/tty8

  This doesn't work unless you prefix /dev/tty8 with '|'

  Also, the following is uncommented by default:

  daemon.*;mail.*;\
          news.err;\
          *.=debug;*.=info;\
          *.=notice;*.=warn       |/dev/xconsole

  And xconsole is not installed by default, so this causes a warning on
  rsyslog startup:

  Nov  6 01:50:03 virgil rsyslogd-2039: Could not open output pipe
  '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]

  The latter should just be commented out.  The former is maybe
  something that should be fixed in the code (why should we need to
  specify a special '|' character for a device file?)

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




More information about the foundations-bugs mailing list