[systemd-devel] proper way to shutdown/reboot host with systemd

Jon Stanley jonstanley at gmail.com
Tue Aug 26 12:17:20 PDT 2014


On Tue, Aug 26, 2014 at 3:11 PM, Vasiliy Tolstov <v.tolstov at selfip.ru> wrote:
> What problem to run sync before that? I'm not understand. Also i can
> run firfreeze ioctl to fs and run reboot. To get dirty data writed to
> disk.

Problem is that none of the shutdown logic of any init system (be it
systemd, upstart, sysvinit, whatever) is ever called by calling
reboot(). Any application shutdown which needs to happen doesn't.
Unmounting of filesystems doesn't happen. And so forth.


More information about the systemd-devel mailing list