[Bug 1766567] Re: rsyslog config of tmpfiles generates bogus log messages

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Apr 24 21:26:24 UTC 2018


Package: rsyslog 8.16.0-1ubuntu10

Package out of date, please upgrade, and check if it resolves the
problem you report...


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

** Changed in: rsyslog (Ubuntu)
       Status: New => 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/1766567

Title:
  rsyslog config of tmpfiles generates bogus log messages

Status in rsyslog package in Ubuntu:
  Incomplete
Status in systemd package in Ubuntu:
  Invalid

Bug description:
  /usr/lib/tmpfiles.d/00rsyslog.conf (in the rsyslog package) includes
  these lines:

  # Override systemd's default tmpfiles.d/var.conf to make /var/log writable by
  # the syslog group, so that rsyslog can run as user.
  # See tmpfiles.d(5) for details.

  # Type Path    Mode UID  GID  Age Argument
  d /var/log 0775 root syslog -

  Maybe this overriding works, but it also means that every time tmpfiles runs, we get log messages like this:
  Apr 24 13:46:37 cue systemd-tmpfiles[28279]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.

  I suspect the best fix for this is to move the systemd config for
  /var/log into its own file (/usr/lib/tmpfiles.d/systemd-varlog.conf),
  then have rsyslog add an empty file (or /dev/null symlink) to suppress
  it (/etc/tmpfiles.d/systemd-varlog.conf or /run/tmpfiles.d/systemd-
  varlog.conf). Or just use apt to move the file out of the way when
  rsyslog is installed.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: rsyslog 8.16.0-1ubuntu10
  ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
  Uname: Linux 4.15.0-15-generic x86_64
  ApportVersion: 2.20.9-0ubuntu6
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Tue Apr 24 14:56:42 2018
  InstallationDate: Installed on 2018-03-23 (31 days ago)
  InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180306.1)
  SourcePackage: rsyslog
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list