You are not logged in.

#1 2012-05-18 16:54:02

warped
Member
Registered: 2009-08-19
Posts: 41

systemd reports: missing shutdown bin. What package provides this bin

Hi *

Just done full upgrade & have problems with sys hang on shutdown.
I'm using systemd. systemd debug log states "failed to execute shutdown binary, freezing: No such file or directory"
Indeed I can't find shutdown binary. Strange.
It looks like this binary wasn't installed at all during system upgrade.
Is current archlinux using something other binary for shutdown ?
What arch package provides shutdown binary ?

Offline

#2 2012-05-18 16:57:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: systemd reports: missing shutdown bin. What package provides this bin

$ pacman -Qo /sbin/shutdown
/sbin/shutdown is owned by sysvinit 2.88-3

I suspect systemd must either provide it's own shutdown bin, or it uses a different mechanism and there is no shutdown ... I haven't used systemd yet though.

Edit:

pacman -Si systemd
<snip>
Optional Deps  :
<snip>
                 systemd-sysvcompat: symlink package to provide sysvinit binaries

Do you have systemd-sysvcompat installed?

Last edited by Trilby (2012-05-18 16:59:11)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-05-18 22:24:03

warped
Member
Registered: 2009-08-19
Posts: 41

Re: systemd reports: missing shutdown bin. What package provides this bin

@Trilby,

Thx for replay.
Currently situation is following:
-I replicate system in question to VM
-I remove packages: systemd+libsystemd; delete content of /usr/lib/systemd/*; install: avahi dbus-core udev systemd
-on VM system boots/shutdown in seconds. Good.

Thing which blocks shutdown is related to usage BindTo= in systemd .service file.
I believe this is kind of incompatibility of systemd v44 with current Arch packages as my exact config works perfect with Arch@11.2011
Commenting BindTo= in .service file returns system to correct shutdown, so again it looks like bug of systemd....

Regarding systemd-sysvcompat: AFAIK this package allows to have SysV compatibility when Your system has systemd based init.
My original post was based of false suspicion that my system is lacking some binaries as this was reported by systemd. In reality it seems that systemd reports such message when BindTo= bug appears....

-br

Offline

#4 2012-05-30 18:58:06

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: systemd reports: missing shutdown bin. What package provides this bin

I think I'm having the same issue.
Which .service file did you edit to correct shutdown?

Offline

#5 2012-05-30 18:59:52

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: systemd reports: missing shutdown bin. What package provides this bin

With systemd, you shut down your system using

# systemctl poweroff

and reboot it using

# systemctl reboot

Last edited by Runiq (2012-05-31 10:14:25)

Offline

#6 2012-05-31 09:43:24

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: systemd reports: missing shutdown bin. What package provides this bin

Indeed, you shut down the system with systemctl if you use systemd. The shutdown binaries are provided by either sysvinit (which you no longer have installed, I think) or systemd-sysvcompat which provides symlinks to systemctl.

Last edited by z0id (2012-05-31 09:45:26)


/usr/bin/drinking

Offline

#7 2012-05-31 13:33:19

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: systemd reports: missing shutdown bin. What package provides this bin

In my case that isn't the problem. I do still have initscripts installed and shutdown hangs regardless of whether i use shutdown -h now or systemctl poweroff.

Edit: It seems if I order it from the console shutdown works fine. Only when using KDE's shutdown button it hangs.

Last edited by BasT (2012-05-31 13:34:39)

Offline

Board footer

Powered by FluxBB