diff mbox series

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

Message ID 20220804113818.31414-1-beniaminsandu@gmail.com
State Accepted, archived
Commit 09eabeff2168c416c18b1c375e095b472830a9b0
Headers show
Series libpam: use /run instead of /var/run in systemd tmpfiles | expand

Commit Message

Beniamin Sandu Aug. 4, 2022, 11:38 a.m. UTC
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(-)

Comments

Beniamin Sandu Aug. 5, 2022, 11:19 a.m. UTC | #1
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
>
>
diff mbox series

Patch

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