You are not logged in.
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
$ 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
@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
I think I'm having the same issue.
Which .service file did you edit to correct shutdown?
Offline
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
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
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