Public bug reported: /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) ** Affects: rsyslog (Ubuntu) Importance: Undecided Status: New ** Affects: systemd (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- 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/1766567 Title: rsyslog config of tmpfiles generates bogus log messages Status in rsyslog package in Ubuntu: New Status in systemd package in Ubuntu: New 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp