[Bug 1504659] Re: Duplicate line for path "/var/log" warning is shown when rsyslog is installed

Martin Pitt martin.pitt at ubuntu.com
Sun Oct 11 08:29:38 UTC 2015


Not sure what to do with this then -- I don't think we want to silence
the warning. If you write tmpfiles.d snippets they are useful to know
when something accidentally overlaps. We just know that this particular
instance is expected if you install rsyslog. Closing it as "wontfix"
won't magically make this warning go away either :-).

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

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

Title:
  Duplicate line for path "/var/log" warning is shown when rsyslog is
  installed

Status in systemd package in Ubuntu:
  Opinion

Bug description:
  On an snappy 15.04 stable system I see in the logs:
  systemd-tmpfiles[958]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.

  Bug 1434295 mentions this, but reports that systemd fails to start.
  This bug is about preventing systemd from displaying this in the logs.
  Looking at the snappy system, I'm not sure why it is doing that:

  $ cat /usr/lib/tmpfiles.d/var.conf
  #  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

  d /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 - - -
  v /var/lib/machines 0700 - - -

  d /var/spool 0755 - - -

  Perhaps this is a bug in systemd?

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



More information about the foundations-bugs mailing list