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

Malachi de AElfweald 1504659 at bugs.launchpad.net
Tue Apr 3 21:06:49 UTC 2018


They are being ignored (apparently incorrectly) in 18.04

Apr 03 13:17:58 odin systemd-tmpfiles[1033]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Apr 03 13:32:59 odin systemd[1]: systemd-tmpfiles-clean.service: Main process exited, code=dumped, status=11/SEGV
Apr 03 13:32:59 odin systemd[1]: systemd-tmpfiles-clean.service: Failed with result 'core-dump'.

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