Skip to contentSkip to conversation

systemd: fix typo in avoid-using-system-auth.patch

PATCH New Dmitry Rozhkov 1 participant 1 message Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: fix typo in avoid-using-system-auth.patch

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]: [email protected]: Failed

at step PAM spawning /lib/systemd/systemd: Operation not permitted

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

---
 .../systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch +1 -1
index f7a5b19..6e6f344 100644
@@ -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
 
Signature · 1 line
2.5.5