Bug#1120032: systemd: duplicated line in legacy.conf

Francesco Potortì Potorti at isti.cnr.it
Tue Nov 4 07:07:52 GMT 2025


Package: systemd
Version: 258.1-2
Severity: minor
File: /usr/lib/tmpfiles.d/legacy.conf

I get this in syslog:

2025-11-03T14:14:19.557320+01:00 tucano systemd-tmpfiles[35291]: /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring.

This is my legacy.conf, as shipped:

===File /usr/lib/tmpfiles.d/legacy.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.

# The functionality provided by these files and directories has been replaced
# by newer interfaces. Their use is discouraged on legacy-free systems. This
# configuration is provided to maintain backward compatibility.

d /run/lock 0755 root root -
L /var/lock - - - - ../run/lock
L$ /var/log/README - - - - ../../usr/share/doc/systemd/README.logs

# /run/lock/subsys is used for serializing SysV service execution, and
# hence without use on SysV-less systems.
d /run/lock/subsys 0755 root root -
============================================================



Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.2-2+b1
ii  libaudit1          1:4.1.2-1
ii  libblkid1          2.41.2-4
ii  libc6              2.41-12
ii  libmount1          2.41.2-4
ii  libpam0g           1.7.0-5
ii  libseccomp2        2.6.0-2
ii  libselinux1        3.9-2
ii  libssl3t64         3.5.4-1
ii  libsystemd-shared  258.1-2
ii  libsystemd0        258.1-2
ii  mount              2.41.2-4

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]  1.16.2-2
ii  linux-sysctl-defaults           4.14
ii  login                           1:4.16.0-2+really2.41.2-4
ii  ntpsec [time-daemon]            1.2.3+dfsg1-8
ii  systemd-cryptsetup              258.1-2

Versions of packages systemd suggests:
ii  libtss2-tcti-device0t64 [libtss2-tcti-device0]  4.1.3-1.2
ii  polkitd                                         126-2
pn  systemd-boot                                    <none>
ii  systemd-container                               258.1-2
pn  systemd-homed                                   <none>
pn  systemd-repart                                  <none>
pn  systemd-resolved                                <none>
pn  systemd-userdbd                                 <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.16.2-2
pn  dracut             <none>
ii  initramfs-tools    0.150
ii  libnss-systemd     258.1-2
ii  libpam-systemd     258.1-2
ii  udev               258.1-2

-- Configuration Files:
/etc/systemd/journald.conf changed:
[Journal]
SystemMaxUse=1G
ForwardToSyslog=yes


-- no debconf information



More information about the Pkg-systemd-maintainers mailing list