Probably update-grub would need to restore that; but also sed may want to fsyncdata() the temporary file before renaming it (and sync the directory after) to be safe.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2150675 Title: /etc/default/grub found empty (0 bytes) after unattended upgrade on Ubuntu 26.04 while updating to kernel 7.0.0-15 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2150675/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
