]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd: fix typo in avoid-using-system-auth.patch
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Wed, 10 Aug 2016 09:47:56 +0000 (12:47 +0300)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 17 Oct 2017 02:38:27 +0000 (04:38 +0200)
The patch 0015-systemd-user-avoid-using-system-auth.patch
makes PAM session for systemd-user include common-account file
which doesn't contain any session related lines and that breaks
launching "systemd --user" with the error:

Jul 29 13:03:24 intel-corei7-64 systemd[691]: user@0.service: Failed
at step PAM spawning /lib/systemd/systemd: Operation not permitted

This change fixes the patch by including common-session file
instead.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ecff74ab68ffca27ed856be6117124b8bc1ef2d6)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch

index f7a5b19da714a14bc5f1fdf874f0a0bc293b3e5c..6e6f344890bb4b0a7c97073bf7826643bc9a7be2 100644 (file)
@@ -29,7 +29,7 @@ index f188a8e..862d8d7 100644
  )m4_dnl
  session  required pam_loginuid.so
 -session  include system-auth
-+session  include common-account
++session  include common-session
 -- 
 2.8.3