halt und reboot bei Jessie: ssh hängt
Falls auch andere das Problem haben, dass bei Jessie ein halt und reboot
über ssh zu einer hängenden Sitzung führen sowie in VirtualBox der
Rechner zwar runterfährt, aber nicht abschaltet:
Ein
echo "
alias reboot='echo \"The system is going down for system reboot NOW!\" |\
/usr/bin/wall -n ; /bin/systemctl --force reboot'
alias halt='echo \"The system is going down for system halt NOW!\" |\
/usr/bin/wall -n ; /bin/systemctl --force poweroff'
" >> /root/.bashrc
führt dazu dass das ganze wieder so funktioniert wie gewohnt.
mfg
Matthias
Reply to: