"systemd-tmpfiles --clean" returns an error

Description:

Whe issuing this command ~ $ sudo systemd-tmpfiles --clean It returns this error:

/usr/lib/tmpfiles.d/nut.conf:1: Duplicate line for path "/run/nut", ignoring.
/usr/lib/tmpfiles.d/nut.conf:2: Duplicate line for path "/var/lib/nut", ignoring.

Additional info:

package version(s):

  • nut 2.8.1-1
  • vanilla archlinux, fully updated as of 2023-12-12

link to upstream bug report, if any: https://github.com/networkupstools/nut/issues/2210

Steps to reproduce:

  1. Have a fully updated archlinux, install "nut" package.
  2. execute the command: ~ $ sudo systemd-tmpfiles --clean

Comment from user "jimklimov" in 'nut' github.

I suppose this is a packaging bug in that distribution, with their nut.conf conflicting with a /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf which may be generated and delivered by the NUT vanilla build (if they package and deliver it as well as theirs).