[Bug 1635423] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Fri Dec 16 09:39:21 UTC 2016


*** This bug is a duplicate of bug 1484027 ***
    https://bugs.launchpad.net/bugs/1484027

------- Comment From Christian.Rund at de.ibm.com 2016-12-16 04:30 EDT-------
(In reply to comment #5)
> Mostly a duplicate of bug 1484027. rsyslog ships
> /usr/lib/tmpfiles.d/00rsyslog.conf which overrides the default var.conf.
> This is just an informational message.

My point and the issue the problem in fact should address is that - given the tmpfiles.d behaviour as follows in man -S5 tmpfiles.d:
...
Files in /etc/tmpfiles.d override files with the same name in /usr/lib/tmpfiles.
and /run/tmpfiles.d. Files in /run/tmpfiles.d override files with the same name in
/usr/lib/tmpfiles.d. Packages should install their configuration files in
/usr/lib/tmpfiles.d. Files in /etc/tmpfiles.d are reserved for the local administrator,
who may use this logic to override the configuration files installed by vendor
packages. All configuration files are sorted by their filename in lexicographic order,
regardless of which of the directories they reside in. If multiple files specify the same
path, the entry in the file with the lexicographically earliest name will be applied. All
other conflicting entries will be logged as errors.
...

Considering this, the /usr/lib/tmpfiles.d/00rsyslog.conf file in line 6 (delivered by rsyslog 8.16.0-1ubuntu3 package) to my perception is derived as effective line for /var/log, the /usr/lib/tmpfiles.d/var.conf file line 14 delivered by systemd
in the 229-4ubuntu10 package will cause the logging. I think since that is an out-of-the-box setting to us, I would hereby request a discussion of the topic with decision to be taken among systemd and rsyslogd that ONE of the two parties is delivering a tmpfiles config only.

Thanks.

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

Title:
  Every 24h we see [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for
  path "/var/log", ignoring.  in the syslog

Status in Ubuntu on IBM z Systems:
  Triaged
Status in rsyslog package in Ubuntu:
  Fix Released
Status in systemd package in Ubuntu:
  Invalid

Bug description:
  Summary
  =======
  zEC12 System LPAR
  Linux r35lp50 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:12:40 UTC 2016 s390x s390x s390x GNU/Linux

  
  Details
  =======
  Every 24h systemd-tmpfiles is logging a message similar to this:
  Oct 18 15:18:41 sysname systemd-tmpfiles[34404]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.

  We have seen varying times on different Ubuntu system instances.

  
  Additional information
  ===================
  Pasting the contents of the '/usr/lib/tmpfiles.d/var.conf' file below:

  #  This file is part of systemd.
  #
  #  systemd is free software; you can redistribute it and/or modify it
  #  under the terms of the GNU Lesser General Public License as published by
  #  the Free Software Foundation; either version 2.1 of the License, or
  #  (at your option) any later version.

  # See tmpfiles.d(5) for details

  q /var 0755 - - -

  L /var/run - - - - ../run

  d /var/log 0755 - - -
  f /var/log/wtmp 0664 root utmp -
  f /var/log/btmp 0600 root utmp -

  d /var/cache 0755 - - -

  d /var/lib 0755 - - -

  d /var/spool 0755 - - -

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1635423/+subscriptions



More information about the foundations-bugs mailing list