Skip to contentSkip to conversation

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

PATCH In review Beniamin Sandu 1 participant 2 messages Aug 4, 2022 – Aug 5, 2022

lore
Share & tools
lore
#0 lore raw

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

Update the deprecated path to remove the systemd warning:

/etc/tmpfiles.d/pam.conf:2: Line references path below legacy directory /var/run/, updating /var/run/console /run/console; please update the tmpfiles.d/

---
 meta/recipes-extended/pam/libpam/99_pam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/pam/libpam/99_pam +1 -1
index 97e990d10b..a88247be13 100644
@@ -1 +1 @@
-d root root 0755 /var/run/sepermit none
+d root root 0755 /run/sepermit none
Signature · 1 line
2.25.1
#1 lore raw

Please disregard this change, it seems I was looking in the wrong place and this file is not actually used with systemd.

Thanks,
Beni

Quoted 23 lines · Beniamin Sandu

Update the deprecated path to remove the systemd warning:

/etc/tmpfiles.d/pam.conf:2: Line references path below legacy directory /var/run/, updating /var/run/console /run/console; please update the tmpfiles.d/

---
 meta/recipes-extended/pam/libpam/99_pam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/pam/libpam/99_pam +1 -2
index 97e990d10b..a88247be13 100644
@@ -1 +1 @@
-d root root 0755 /var/run/sepermit none
+d root root 0755 /run/sepermit none
--

2.25.1