libpam: use /run instead of /var/run in systemd tmpfiles

/var/run in deprecated by systemd, use /run instead, as suggested by systemd.

This fixes the following systemd boot warning:

systemd-tmpfiles[340]: /etc/tmpfiles.d/pam.conf:1: Line references path
below legacy directory /var/run/, updating /var/run/sepermit →
/run/sepermit; please update the tmpfiles.d/ drop-in file accordingly.

(From OE-Core rev: 09eabeff2168c416c18b1c375e095b472830a9b0)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ricardo Salveti
2022-03-17 12:23:28 -03:00
committed by Richard Purdie
parent ff7b415738
commit 43299607cc

View File

@@ -1 +1 @@
d /var/run/sepermit 0755 root root - -
d /run/sepermit 0755 root root - -