Skip to contentSkip to conversation

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

PATCH New Ricardo Salveti 1 participant 1 message Mar 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---

Change in v2:
- Extended commit message to include the systemd boot warning when using /var/run

 meta/recipes-extended/pam/libpam/pam-volatiles.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/pam/libpam/pam-volatiles.conf +1 -1
index d8b8259a93..1263feb03d 100644
@@ -1 +1 @@
-d /var/run/sepermit 0755 root root - -
+d /run/sepermit 0755 root root - -
Signature · 1 line
2.35.1