From 92204706b00eb0171753ea368bae77f2a1b3c390 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sun, 15 Oct 2017 19:21:52 +0000 Subject: Update to D-Bus-1.10.24. Fixes #4143. Update to Systemd-235. Fixes #4147. Create /lib/systemd/systemd-user-sessions script to allow user login without systemd-logind. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11312 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/systemd.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'chapter06/systemd.xml') diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 9b132921c..84a66466e 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -196,6 +196,16 @@ ln -sfv ../lib/systemd/systemd /sbin/init systemd-machine-id-setup + Create the /lib/systemd/systemd-user-sessions + script to allow unprivileged user logins without + systemd-logind: + +cat > /lib/systemd/systemd-user-sessions << "EOF" +#!/bin/bash +rm -f /run/nologin +EOF +chmod 755 /lib/systemd/systemd-user-sessions + -- cgit v1.2.3-54-g00ecf