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

Re: systemd fails to poweroff - "A stop job is running for Session 2 of user $USER"



On Fri, 15 Aug 2014, Erwan David wrote:
> >> Right.  Debian Sid. 'halt' does not poweroff with systemd.

The halt/reboot/poweroff binary shipped from sysvinit source will request a
direct power-off, halt or reboot to the kernel.  Just give it the "-f"
option.  And don't complain if this causes data loss.

The manpage of systemd's halt/reboot/poweroff command seems to imply it
supports the "-f" option.  Again, don't complain if the use of the "-f"
option causes data loss.

That said, it is not that uncommon for the kernel to not find a way to
safely power down a X86 box.  I won't go into the gory details of why, but
regressions in kernel power-off support are not unheard of.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: