Hello,
I have installed Tumbleweed freshly from a USB stick to an older HP EliteBook 8530p machine. The installation was smooth at first. After reboot, I could log on to KDE, connect to wifi and add a few pieces of software in Yast. I think it also automatically added some updates. However, upon next reboots, I am getting the message:
[FAILED] Failed to start Login Service.
See 'systemctl staus systemd-logind.service' for details.
and the login screen will not appear.
When I open a terminal, I am getting:
user@localhost:~> systemctl staus systemd-logind.service
systemd-logind.service - Login Service
Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static; vendor preset: disabled)
Drop-In: /user/lib/systemd/system/systemd-logind.service.d
|-nosandbox.conf
Active: active (running) since Wed 2021-05-19 14:12:45 CEST; 18min ago
Docs: man:systemd-logind.service(8)
man:logind.conf(5)
https://www.freedesktop.org/wiki/Software/systemd/logind
https://www.freedesktop.org/wiki/Software/systemd/multiseat
Process: 1640 ExecStartPre=/sbin/modprobe -abq drm (code=exited, status=1/FAILURE)
Main PID: 1781 (systemd-logind)
Status: "Processing requests..."
Tasks: 1 (limit: 4642)
Memory: 2.0M
CGroup: /system.slice/systemd-logind.service
|-1781 /user/lib/systemd/systemd-logind
(I have copied this from the screen by hand, hopefully without errors).
[size=2]Unfortunately, my skills in this direction do not go very far, so I do not know how to resolve this.
[/size]
I do not have this file on current TW (assuming this is a typo and file is actually /usr/lib/sysyemd/systemd-logind.service.d/nosandbox.conf".
Active: active (running) since Wed 2021-05-19 14:12:45 CEST; 18min ago
So logind is actually active (otherwise you probably could not login at all)
Process: 1640 ExecStartPre=/sbin/modprobe -abq drm (code=exited, status=1/FAILURE)
This is likely the reason for error but I do not have this directive either. Post output of “cat /etc/os-release” and “systemctl cat systemd-logind.service”.
(I have copied this from the screen by hand, hopefully without errors).
And what prevents you from selecting text in terminal and pasting it into another window (browser)?
Hello,
thanks for your reply.
>This is likely the reason for error but I do not have this directive either. Post output of “cat /etc/os-release” and “systemctl cat systemd-logind.service”.
Here are the outputs.
user@localhost:~>cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20200326"
ID="opensuse-tumbleweed"
VERSIN_ID="20200326"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20200326"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
LOGO="distributor-logo"
user@localhost:~>
# /usr/lib/systemd/system/systemd-logind.service
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Login Service
Documentation=man:systemd-logind.service(8) man:logind.conf(5)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/logind
Documentation=https://www.freedesktop.org/wiki/Software/systemd/multiseat
Wants=user.slice
After=nss-user-lookup.target user.slice
# Ask for the dbus socket.
Wants=dbus.socket
After=dbus.socket
[Service]
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG CAP_LINUX_IMMUTABLE
DeviceAllow=block-* r
DeviceAllow=char-/dev/console rw
DeviceAllow=char-drm rw
DeviceAllow=char-input rw
DeviceAllow=char-tty rw
DeviceAllow=char-vcs rw
# Make sure the DeviceAllow= lines above can work correctly when referenceing char-drm
ExecStartPre=-/sbin/modprobe -abq drm
ExecStart=/usr/lib/systemd/systemd-logind
FileDescriptorStoreMax=512
IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectSystem=strict
ReadWritePaths=/etc /run
Restart=always
RestartSec=0
RestrictAddressFamilies=AF_UNIX AF_NETLINK
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RuntimeDirectory=systemd/sessions systemd/seats systemd/users systemd/inhibit systemd/shutdown
RuntimeDirectoryPreserve=yes
StateDirectory=systemd/linger
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service
WatchdogSec=3min
# Increase the default a bit in order to allow many simultaneous logins since
# we keep one fd open per session.
LimitNOFILE=524288
# /usr/lib/systemd/system/systemd-logind.service.d/nosandbox.conf
# To keep backward compat with system using NIS, turn off the
# IP sandboxing.
[Service]
IPAddressDeny=
>>(I have copied this from the screen by hand, hopefully without errors).
>And what prevents you from selecting text in terminal and pasting it into another window (browser)?
The point is, I do not have windows, nor an internet connection on the machine in question. For copying the latter output, I had to mount manually a USB stick and copy the text to a file.
Your version is more than one year old. For a rolling distribution it is really too much. Everything changed and nobody can even attempt to reproduce or verify issue anymore.
You are right, I should have thought about this before. After burning a new ISO bootable image, everything runs smoothly. Thank you for your help.