[Bug 1932525] Re: This bug is back on my pc - bug #1722481 Systemd Sync twice at shutdown

Launchpad Bug Tracker 1932525 at bugs.launchpad.net
Thu Dec 9 07:56:27 UTC 2021


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1932525

Title:
  This bug is back on my pc -  bug #1722481  Systemd Sync twice at
  shutdown

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  
  systemd should sync disks, before killing all processes on shutdown: bug #1722481 has returned.

  Is it possible this bug returned in ubuntu 21.04 - hirsute? see my
  systemd-shutdown in the txt file attached. ..or is a workaround
  possible for this?

  I notice this behavior when i shutdown and reboot. the laptop needs
  almost no time to shutdown, and then for 20 maybe 30 seconds the
  plymouth screen comes back with the rotating sign, waiting to sync
  probably, then the screen goes black and shutdown.  my laptop is a HP
  elitebook 820 with ssd hdd.

  
   - snap of text of original bugreport -

  [Impact]

   * systemd-shutdown binary is executed to complete system shutdown. In
  xenial, it calls sync() after killing all processes, and not before
  killing them. This means that processes are racing the SIGKILL/TERM
  timeouts to sync all IO to disk. To mitigate this race condition, and
  make the shutdown process more reliable the sync() should also happen
  before process killing spree starts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1932525/+subscriptions




More information about the foundations-bugs mailing list