Bug#902336: systemd: sddm login screen does not appear until after more than a minute

Martin Steigerwald martin at lichtvoll.de
Mon Jun 25 09:14:50 BST 2018


severity 902336 important
thanks

Martin Steigerwald - 25.06.18, 09:18:
> Package: systemd
> Version: 239-1
> Severity: normal
[…]
> % systemctl --state=failed
>   UNIT           LOAD   ACTIVE SUB    DESCRIPTION
> ● chrony.service loaded failed failed chrony, an NTP client/server
> ● upower.service loaded failed failed Daemon for power management
> […]

Regarding upower I see:

Jun 25 10:01:08 merkaba upowerd[6031]: /usr/lib/upower/upowerd: error while
loading shared libraries: libffi.so.6: cannot enable executable stack as shared object requires:

Despite "journalctl --full -xe" journalctl does not seem to show the full line.

But syslog has it:

Jun 25 10:01:08 merkaba upowerd[6034]: /usr/lib/upower/upowerd: error while
loading shared libraries: libffi.so.6: cannot enable executable stack as shared
object requires: Operation not permitted

% ldconfig -p | grep libffi.so.6
        libffi.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libffi.so.6
        libffi.so.6 (libc6) => /usr/lib/i386-linux-gnu/libffi.so.6

% ls -l /usr/lib/i386-linux-gnu/libffi.so.6 /usr/lib/x86_64-linux-gnu/libffi.so.6 
lrwxrwxrwx 1 root root 15 Feb 24  2016 /usr/lib/i386-linux-gnu/libffi.so.6 -> libffi.so.6.0.4
lrwxrwxrwx 1 root root 15 Feb 24  2016 /usr/lib/x86_64-linux-gnu/libffi.so.6 -> libffi.so.6.0.4

% ls -l /usr/lib/i386-linux-gnu/libffi.so.6.0.4 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
-rw-r--r-- 1 root root 30268 Feb 24  2016 /usr/lib/i386-linux-gnu/libffi.so.6.0.4
-rw-r--r-- 1 root root 35328 Feb 24  2016 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4


This may be a new issue with systemd 239-1 udev/upower. So may make sense
to clone this bug report for the upower issue.

The error does not seem to have to do with filesystem permissions:

% chmod 777 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
% systemctl start upower                                                                 
Job for upower.service failed because the control process exited with error code.
See "systemctl status upower.service" and "journalctl -xe" for details.

(Same error in syslog)

% chmod 644 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4


Ah, I got it: The action not permitted is "cannot enable executable stack
as shared object".

As I need back a working system, I removed any and all privilege limitations
from upower service, so that only:
 
% cat /lib/systemd/system/upower.service
[Unit]
Description=Daemon for power management
Documentation=man:upowerd(8)

[Service]
Type=dbus
BusName=org.freedesktop.UPower
ExecStart=/usr/lib/upower/upowerd
Restart=on-failure

[Install]
WantedBy=graphical.target

remains.

% systemctl daemon-reexec
% systemctl start upower"


Without upower Plasma desktop stalls with several things and Amarok
does not start.

Raising severity to important as that is quite a reduction in functionality.

Of course it may be that my self-compiled kernel does not allow something
that systemd expects to have, but there has been no notice of such in
apt-listchanges.

Rebooting system to see whether it at least leads to a fully operational
Plasma desktop again.

Thanks,
-- 
Martin




More information about the Pkg-systemd-maintainers mailing list