[systemd-devel] systemd-tmpfiles duplicate line for path, ignoring

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu May 10 06:10:45 UTC 2018


On Wed, May 09, 2018 at 09:01:06PM -0600, Chris Murphy wrote:
> Hi,
> 
> I see this in the journal
> 
> May 09 14:36:06 f28h.local systemd-tmpfiles[3273]:
> [/etc/tmpfiles.d/suspendfix.conf:7] Duplicate line for path
> "/proc/acpi/wakeup", ignoring.
> 
> This file contains:
> 
> w /proc/acpi/wakeup - - - - PWRB
> w /proc/acpi/wakeup - - - - XHC
> 
> 
> They aren't really duplicate lines, as the lines themselves differ.
> The paths involved are duplicates. I guess the obvious work around is
> to use separate .conf files?
No, it'll still warn about duplicate files.
tmpfiles is not smart enough to understand that multiple values can
be meaningfully written to a file. Something to fix on our side.

Zbyszek


More information about the systemd-devel mailing list