[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd halt



On Tue, 2 Oct 2018, sergio wrote:


Как правильно выключать debian с systemd?

говорю sudo halt, система доходит до "reboot: System halted" и всё.

Это баг или так и должно быть? Баг какого пакета?

Если нажать 'выключить' в оконном менеджере, то система выключается
полностью.

--
sergio.


  Ответ я не знаю, самому стало интересно, нашел вот это описание.

  https://unix.stackexchange.com/a/196014/5132

  Особенно порадовало
  - Forget about the manual page that marcelm quoted;
    it's not from the right toolset at all, and is a description
    of another toolset's command, incorrect for systemd's.

  И краткий вывод, что да, halt просто останавливает CPU
  и не пытается отключить питание.

Ю.

  p.s. Не откажу себе в удовольствии:
  In the systemd toolset
        halt,poweroff,reboot, telinit, and shutdown
  are all symbolic links to /bin/systemctl.

Reply to: