Public bug reported:

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.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "last few lines of mij shutdown"
   
https://bugs.launchpad.net/bugs/1932525/+attachment/5505438/+files/journalctl-shutdown.txt

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to