You are not logged in.

#1 2019-01-08 20:51:15

accensi
Member
Registered: 2015-03-29
Posts: 7

Wait at system poweroff or reboot

Since the commit on systemd-exit.service that changed exit on shutdown

      https://github.com/systemd/systemd/comm … 5b100b3c90

incorporated in Arch version systemd-239.370-1-x86_64.pkg.tar.xz

systemd is hanging on shutdown with the following messages:

jan 08 16:45:31 RJASTEC-01118 systemd[900]: /usr/lib/systemd/user/systemd-exit.service:7: Failed to parse failure action specifier, ignoring: exit-force
jan 08 16:45:31 RJASTEC-01118 systemd[900]: systemd-exit.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
jan 08 16:45:31 RJASTEC-01118 systemd[900]: Failed to enqueue exit.target job: Unit systemd-exit.service has a bad unit file setting.

Although shutdown does not happen frequently, it is an annoying wait.

Any hints or an upstream bug?

Offline

#2 2019-01-09 10:15:33

beef
Member
Registered: 2016-04-28
Posts: 16

Re: Wait at system poweroff or reboot

I get the same errors.

Offline

#3 2019-01-13 10:02:17

beef
Member
Registered: 2016-04-28
Posts: 16

Re: Wait at system poweroff or reboot

Problem appears to be solved for me.

After the next reboot and newest updates via pacman -Syu, shutdown went smooth again.

Offline

#4 2019-01-14 22:54:23

Kirill Bugaev
Member
Registered: 2018-08-03
Posts: 144

Re: Wait at system poweroff or reboot

If it will help there my

/usr/lib/systemd/user/systemd-exit.service 
[Unit]
Description=Exit the Session
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target

[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl --user --force exit

and

/usr/lib/systemd/system/systemd-exit.service
[Unit]
Description=Exit the Session
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target

[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl --force exit

Also check

/etc/systemd/system.conf
...
DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s
...

Offline

Board footer

Powered by FluxBB