[Bug 1682484] [NEW] systemd: Logging from gnome session is passed on to all syslog facilities

Dimitri John Ledkov launchpad at surgut.co.uk
Thu Apr 13 16:07:04 UTC 2017


Public bug reported:

Bug imported from Debian https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=837893

Package: systemd
Version: 231-6
Severity: normal

Since recently, log messages from programs running under the gnome
session have started appearing in all logs in /var/logs, including
/var/logs/kern.log, even though my rsyslog configuration has not
changed, and correctly only routes kern.* there.

This is very annoying since it fills the logs with messages that don't
belong there, and makes running logcheck tedious.

It seems this is a recent regression, since before I was able to route
these messages to a low-priority log using the following rsyslog
configuration:

  user.=info;user.=notice;\
          user.=warn              -/var/log/user-low.log

If I look at the messages directly with journalctl -o verbose, it seems
they do not set the syslog facility, which should make them end up with
user facility, but doesn't.

** Affects: systemd
     Importance: Unknown
         Status: Unknown

** Affects: systemd (Ubuntu)
     Importance: High
     Assignee: Dimitri John Ledkov (xnox)
         Status: Confirmed

** Affects: systemd (Ubuntu Zesty)
     Importance: High
     Assignee: Dimitri John Ledkov (xnox)
         Status: Confirmed

** Changed in: systemd (Ubuntu)
       Status: New => Confirmed

** Bug watch added: github.com/systemd/systemd/issues #5640
   https://github.com/systemd/systemd/issues/5640

** Also affects: systemd via
   https://github.com/systemd/systemd/issues/5640
   Importance: Unknown
       Status: Unknown

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

** Changed in: systemd (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Also affects: systemd (Ubuntu Zesty)
   Importance: High
     Assignee: Dimitri John Ledkov (xnox)
       Status: Confirmed

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

Title:
  systemd: Logging from gnome session is passed on to all syslog
  facilities

Status in systemd:
  Unknown
Status in systemd package in Ubuntu:
  Confirmed
Status in systemd source package in Zesty:
  Confirmed

Bug description:
  Bug imported from Debian https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=837893

  Package: systemd
  Version: 231-6
  Severity: normal

  Since recently, log messages from programs running under the gnome
  session have started appearing in all logs in /var/logs, including
  /var/logs/kern.log, even though my rsyslog configuration has not
  changed, and correctly only routes kern.* there.

  This is very annoying since it fills the logs with messages that don't
  belong there, and makes running logcheck tedious.

  It seems this is a recent regression, since before I was able to route
  these messages to a low-priority log using the following rsyslog
  configuration:

    user.=info;user.=notice;\
            user.=warn              -/var/log/user-low.log

  If I look at the messages directly with journalctl -o verbose, it seems
  they do not set the syslog facility, which should make them end up with
  user facility, but doesn't.

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



More information about the foundations-bugs mailing list