]> code.ossystems Code Review - openembedded-core.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:31:15 +0000 (10:31 +0100)
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>
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