[gnome-continuous] systemd: fix pam config to work with openembedded
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] systemd: fix pam config to work with openembedded
- Date: Wed, 24 Feb 2016 19:10:18 +0000 (UTC)
commit 62ae1537ddc76832d5edc027ce538a8668c8c694
Author: Ray Strode <rstrode redhat com>
Date: Wed Feb 24 14:08:16 2016 -0500
systemd: fix pam config to work with openembedded
manifest.json | 3 ++-
patches/systemd-pam-config.patch | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 5bda2f4..ea022db 100644
--- a/manifest.json
+++ b/manifest.json
@@ -102,7 +102,8 @@
{"src": "git:https://github.com/systemd/systemd",
"component": "minimal",
"initramfs-depends": true,
- "patches": ["systemd-Revert-core-mount-add-dependencies-to-dynamically-mo.patch"],
+ "patches": ["systemd-Revert-core-mount-add-dependencies-to-dynamically-mo.patch",
+ "systemd-pam-config.patch"],
"tag": "c5962fcff05a1e46138f9f8116513947398cb725",
"tag-reason": "timeout on boot, suspect next commit",
"cflags": {
diff --git a/patches/systemd-pam-config.patch b/patches/systemd-pam-config.patch
new file mode 100644
index 0000000..163336a
--- /dev/null
+++ b/patches/systemd-pam-config.patch
@@ -0,0 +1,34 @@
+From 4784c4243be8eb33ad890f789ea42770e0314069 Mon Sep 17 00:00:00 2001
+From: Ray Strode <rstrode redhat com>
+Date: Wed, 24 Feb 2016 14:06:01 -0500
+Subject: [PATCH] systemd-user: fix to match openembedded pam config
+
+systemd-user doesn't currently integrate with the
+pam configuration used by openembedded.
+
+this patch fixes that.
+---
+ src/login/systemd-user.m4 | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4
+index 7933508..16b73d2 100644
+--- a/src/login/systemd-user.m4
++++ b/src/login/systemd-user.m4
+@@ -1,11 +1,11 @@
+ # This file is part of systemd.
+ #
+ # Used by systemd --user instances.
+
+-account include system-auth
++account include common-account
+
+ m4_ifdef(`HAVE_SELINUX',
+ session required pam_selinux.so close
+ session required pam_selinux.so nottys open
+ )m4_dnl
+-session include system-auth
++session include common-session
+--
+2.7.0
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]