#1111660 /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path /run/lock

Package:
systemd
Source:
systemd
Description:
system and service manager
Submitter:
Christian Kujau
Date:
2025-08-29 00:05:03 UTC
Severity:
normal
#1111660#5
Date:
2025-08-20 20:10:55 UTC
From:
To:
Dear Maintainer,

after upgrading from bookworm to trixie, systemd reports, sometimes:

 systemd-tmpfiles[229]: /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring.

The file has not been modified by me, and I do wonder why it's mentioned twice:

$ grep -r '/run/lock ' /usr/lib/tmpfiles.d/
/usr/lib/tmpfiles.d/debian.conf:d /run/lock    1777 root root -   -
/usr/lib/tmpfiles.d/legacy.conf:d /run/lock 0755 root root -

I've since removed the entry from debian.conf to silence the message.

Thank you,
Christian.

*** End of the template - remove these template lines ***