libpam: use /run instead of /var/run in systemd tmpfiles
PATCH 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.
--- 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
@@ -1 +1 @@ -d /var/run/sepermit 0755 root root - - +d /run/sepermit 0755 root root - -
Signature · 1 line
2.35.1
A link to back up the claim would be helpful. Also, what makes this file and setting systemd specific?
Alex
Quoted 31 lines · Ricardo Salveti
/var/runin deprecated by systemd, use /run instead, as suggested by systemd.Signed-off-by Ricardo Salveti <[email protected]>--- 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
-2@@ -1 +1 @@ -d /var/run/sepermit 0755 root root - - +d /run/sepermit 0755 root root - - --2.35.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#163371):
https://lists.openembedded.org/g/openembedded-core/message/163371
Mute This Topic: https://lists.openembedded.org/mt/89838112/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 2 lines · Alexander Kanavin
A link to back up the claim would be helpful. Also, what makes this file and setting systemd specific?
This file is installed under tmpfiles.d, which is only used when systemd is enabled, which is why it is specific to it.
When using /var/run with systemd you will see the following message, which I can add to the commit message:
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.
Thanks,
Signature · 1 line
Ricardo Salveti
Quoted 6 lines · Ricardo Salveti
When using
/var/runwith systemd you will see the following message, which I can add to the commit message: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.
Yes please.
Thanks,
Alex