Public bug reported:

/usr/lib/tmpfiles.d/00rsyslog.conf from rsyslog's package and
/usr/lib/tmpfiles.d/var.conf from systemd's package both try to manage
the directory /var/log.

rsyslog's file takes precedence but the duplicated rules cause this to
be logged:

  systemd-tmpfiles[3679]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate
line for path "/var/log", ignoring.

Also, both rules are different:

 $ grep '^d /var/log ' /usr/lib/tmpfiles.d/{00rsyslog,var}.conf
 /usr/lib/tmpfiles.d/00rsyslog.conf:d /var/log 0775 root syslog -
 /usr/lib/tmpfiles.d/var.conf:d /var/log 0755 - - -

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: rsyslog 8.14.0-2ubuntu1
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Jan  2 21:42:42 2016
SourcePackage: rsyslog
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.logcheck.ignore.d.server.rsyslog: [deleted]

** Affects: rsyslog (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530610

Title:
  tmpfiles.d conflicting rules to manage /var/log

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to