You are not logged in.

#1 2012-11-14 22:18:22

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

systemd-logind keeps failing on shutdown

I have been running a pure systemd setup on my laptop (x86_64) for 2 weeks not and one glitch which I was unable to track is systemd-logind.service failing on shutdown every time. The precise error in journal and /var/log/daemon.log via syslog-ng is:

Nov 13 18:00:02 bluemoon systemd[1]: systemd-logind.service: main process exited, code=exited, status=1/FAILURE
Nov 13 18:00:02 bluemoon systemd[1]: Stopped Login Service.
Nov 13 18:00:02 bluemoon systemd[1]: Unit systemd-logind.service entered failed state

Notice that I use systemctl poweroff from a tty. This happens regardless of the value of KillUserProcesses in logind.conf. I suspect this is somehow due to my partitioning layout, as the issue does not occur in a i686 arch kvm guest  with a single /, and systemd complains about /var being busy because of /var/log/journal on shutdown. Here is my fstab

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
UUID=dd4fc69d-d052-45e1-a9f5-c512f58d80fe / ext4 defaults,ro 0 1
UUID=64093d87-4adb-4a22-a905-00aeefbe238b /var ext4 defaults,noexec,nosuid,nodev 0 2
UUID=6ceb2996-54b0-4f0a-b87e-63e0a39084e9 /boot ext4 defaults,noexec,nosuid,nodev,ro 0 2
UUID=9e9a62ee-65b5-41db-8de2-c29e33dfae12 /var/lib reiserfs defaults,noexec,nosuid,nodev,barrier=flush 0 2
UUID=d5e91d36-efaa-4f50-94a8-4079cad032b5 /home ext4 defaults,nosuid,nodev 0 2
UUID=7c1ba48c-e6c8-4b5b-8746-94af4b799015 swap swap defaults 0 0
tmpfs /tmp tmpfs defaults,noexec,nosuid,nodev,size=1G 0 0
tmpfs /media tmpfs defaults,noexec,nosuid,nodev,size=128K,mode=0755 0 0
debugfs /sys/kernel/debug debugfs defaults 0 0

How do I debug this problem?

TiA.

Last edited by Leonid.I (2012-11-14 22:19:31)


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB