public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles
@ 2022-03-17  3:05 Ricardo Salveti
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Salveti @ 2022-03-17  3:05 UTC (permalink / raw)
  To: openembedded-core; +Cc: daiane.angolini

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

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
---
 meta/recipes-extended/pam/libpam/pam-volatiles.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/pam/libpam/pam-volatiles.conf b/meta/recipes-extended/pam/libpam/pam-volatiles.conf
index d8b8259a93..1263feb03d 100644
--- a/meta/recipes-extended/pam/libpam/pam-volatiles.conf
+++ b/meta/recipes-extended/pam/libpam/pam-volatiles.conf
@@ -1 +1 @@
-d /var/run/sepermit 0755 root root - -
+d /run/sepermit 0755 root root - -
-- 
2.35.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles
@ 2022-08-04 11:38 Beniamin Sandu
  2022-08-05 11:19 ` Beniamin Sandu
  0 siblings, 1 reply; 3+ messages in thread
From: Beniamin Sandu @ 2022-08-04 11:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: 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/

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
---
 meta/recipes-extended/pam/libpam/99_pam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/pam/libpam/99_pam b/meta/recipes-extended/pam/libpam/99_pam
index 97e990d10b..a88247be13 100644
--- a/meta/recipes-extended/pam/libpam/99_pam
+++ b/meta/recipes-extended/pam/libpam/99_pam
@@ -1 +1 @@
-d root root 0755 /var/run/sepermit none
+d root root 0755 /run/sepermit none
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles
  2022-08-04 11:38 [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles Beniamin Sandu
@ 2022-08-05 11:19 ` Beniamin Sandu
  0 siblings, 0 replies; 3+ messages in thread
From: Beniamin Sandu @ 2022-08-05 11:19 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

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

Thanks,
Beni

On Thu, Aug 4, 2022 at 2:37 PM Beniamin Sandu <beniaminsandu@gmail.com>
wrote:

> 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/
>
> Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
> ---
>  meta/recipes-extended/pam/libpam/99_pam | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/pam/libpam/99_pam
> b/meta/recipes-extended/pam/libpam/99_pam
> index 97e990d10b..a88247be13 100644
> --- a/meta/recipes-extended/pam/libpam/99_pam
> +++ b/meta/recipes-extended/pam/libpam/99_pam
> @@ -1 +1 @@
> -d root root 0755 /var/run/sepermit none
> +d root root 0755 /run/sepermit none
> --
> 2.25.1
>
>

[-- Attachment #2: Type: text/html, Size: 1416 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-05 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-04 11:38 [PATCH] libpam: use /run instead of /var/run in systemd tmpfiles Beniamin Sandu
2022-08-05 11:19 ` Beniamin Sandu
  -- strict thread matches above, loose matches on Subject: below --
2022-03-17  3:05 Ricardo Salveti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox