All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-security][PATCH] sssd: set pid path with /run
@ 2021-06-15  8:50 kai
  2021-06-20 22:51 ` Armin Kuster
  0 siblings, 1 reply; 2+ messages in thread
From: kai @ 2021-06-15  8:50 UTC (permalink / raw)
  To: akuster808; +Cc: yocto

From: Kai Kang <kai.kang@windriver.com>

/var/run is deprecated and set pid path with /run to store pid files for
the SSSD.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 recipes-security/sssd/sssd_2.5.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes-security/sssd/sssd_2.5.0.bb b/recipes-security/sssd/sssd_2.5.0.bb
index 4c92519..c699527 100644
--- a/recipes-security/sssd/sssd_2.5.0.bb
+++ b/recipes-security/sssd/sssd_2.5.0.bb
@@ -63,6 +63,7 @@ EXTRA_OECONF += " \
     --without-python2-bindings \
     --without-secrets \
     --with-xml-catalog-path=${STAGING_ETCDIR_NATIVE}/xml/catalog \
+    --with-pid-path=/run \
 "
 
 do_configure_prepend() {
@@ -88,8 +89,8 @@ do_install () {
         echo "d /var/log/sssd 0750 - - - -" > ${D}${sysconfdir}/tmpfiles.d/sss.conf
     fi
 
-    # Remove /var/run as it is created on startup
-    rm -rf ${D}${localstatedir}/run
+    # Remove /run as it is created on startup
+    rm -rf ${D}/run
 
     rm -f ${D}${systemd_system_unitdir}/sssd-secrets.*
 }
-- 
2.17.1


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

* Re: [meta-security][PATCH] sssd: set pid path with /run
  2021-06-15  8:50 [meta-security][PATCH] sssd: set pid path with /run kai
@ 2021-06-20 22:51 ` Armin Kuster
  0 siblings, 0 replies; 2+ messages in thread
From: Armin Kuster @ 2021-06-20 22:51 UTC (permalink / raw)
  To: kai.kang; +Cc: yocto

series merged.

thanks

On 6/15/21 1:50 AM, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
>
> /var/run is deprecated and set pid path with /run to store pid files for
> the SSSD.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  recipes-security/sssd/sssd_2.5.0.bb | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-security/sssd/sssd_2.5.0.bb b/recipes-security/sssd/sssd_2.5.0.bb
> index 4c92519..c699527 100644
> --- a/recipes-security/sssd/sssd_2.5.0.bb
> +++ b/recipes-security/sssd/sssd_2.5.0.bb
> @@ -63,6 +63,7 @@ EXTRA_OECONF += " \
>      --without-python2-bindings \
>      --without-secrets \
>      --with-xml-catalog-path=${STAGING_ETCDIR_NATIVE}/xml/catalog \
> +    --with-pid-path=/run \
>  "
>  
>  do_configure_prepend() {
> @@ -88,8 +89,8 @@ do_install () {
>          echo "d /var/log/sssd 0750 - - - -" > ${D}${sysconfdir}/tmpfiles.d/sss.conf
>      fi
>  
> -    # Remove /var/run as it is created on startup
> -    rm -rf ${D}${localstatedir}/run
> +    # Remove /run as it is created on startup
> +    rm -rf ${D}/run
>  
>      rm -f ${D}${systemd_system_unitdir}/sssd-secrets.*
>  }


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

end of thread, other threads:[~2021-06-20 22:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15  8:50 [meta-security][PATCH] sssd: set pid path with /run kai
2021-06-20 22:51 ` Armin Kuster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.