Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: "andreas.kling@gmail.com" <andreas.kling@gmail.com>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v3] systemd: add runtime dependencies to pam	plugins.
Date: Thu, 28 Sep 2017 07:37:11 +0000	[thread overview]
Message-ID: <360d718b5d554d5d93b19ead209eb3bd@XBOX02.axis.com> (raw)
In-Reply-To: <20170927094014.2666-1-andreas.kling@gmail.com>

> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> andreas.kling@gmail.com
> Sent: den 27 september 2017 11:40
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH v3] systemd: add runtime dependencies to pam
> plugins.
> 
> From: Andy Kling <andreas.kling@peiker-cee.de>
> 
>   This ensures pam plugins required by /etc/pam.d/systemd-user
>   to open a user session are installed.
> 
>   systemd[1]: Starting User Manager for UID 994...
>   systemd[6493]: PAM unable to dlopen(/lib/security/pam_keyinit.so)
> 
>   Drop package systemd-pam to prevent confusion.
>   It is unused for a long time now.
> 
>   v2: improve commit message
>   v3: drop systemd-pam

The patch version information does not belong in the commit message.
You should add this kind of information below the three dashes below.

> Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
> ---

This is where information about the patch belongs, e.g., what has changed 
in the various versions of the patch.

>  meta/recipes-core/systemd/systemd_234.bb | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb
> index 881896bfb5..acc4c4623b 100644
> --- a/meta/recipes-core/systemd/systemd_234.bb
> +++ b/meta/recipes-core/systemd/systemd_234.bb
> @@ -31,6 +31,12 @@ SRC_URI += " \
>             "
>  SRC_URI_append_qemuall = " file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch"
> 
> +PAM_PLUGINS = " \
> +    pam-plugin-unix \
> +    pam-plugin-loginuid \
> +    pam-plugin-keyinit \
> +"
> +
>  PACKAGECONFIG ??= "xz \
>                     ${@bb.utils.filter('DISTRO_FEATURES', 'efi pam selinux ldconfig usrmerge', d)} \
>                     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
> @@ -100,7 +106,7 @@ PACKAGECONFIG[importd] = "--enable-importd,--disable-importd"
>  PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn"
>  PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit"
>  PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
> -PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
> +PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam,${PAM_PLUGINS}"
>  # Verify keymaps on locale change
>  PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
>  # Update NAT firewall rules
> @@ -295,7 +301,6 @@ PACKAGES =+ "\
>      ${PN}-kernel-install \
>      ${PN}-rpm-macros \
>      ${PN}-binfmt \
> -    ${PN}-pam \
>      ${PN}-zsh-completion \
>      ${PN}-xorg-xinitrc \
>      ${PN}-container \
> --
> 2.14.1
> 
> --

//Peter



  reply	other threads:[~2017-09-28  7:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25  8:59 [PATCH] systemd: move pam files to own package andreas.kling
2017-09-26 13:30 ` Burton, Ross
2017-09-26 17:17 ` [PATCH v2] " andreas.kling
2017-09-26 17:19   ` Burton, Ross
2017-09-27  9:40   ` [PATCH v3] systemd: add runtime dependencies to pam plugins andreas.kling
2017-09-28  7:37     ` Peter Kjellerstedt [this message]
2017-09-28 16:35     ` [PATCH v4] " andreas.kling
2017-09-29 16:31       ` Burton, Ross
2017-10-02 18:06         ` Andy
2017-10-09 19:00           ` Andy
2017-10-10 16:34             ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=360d718b5d554d5d93b19ead209eb3bd@XBOX02.axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=andreas.kling@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox