Public bug reported:
Sometimes shutdown fails with the message:
/dev/.initramfs/progress_state: 1: Syntax error: Unterminated quoted
string error: '/etc/init.d/rc' exited outside the expected flow control.
The only thing that writes to this file appears to be the
update_progress() function in /usr/share/initramfs-
tools/scripts/functions. I've even unpacked the initramfs for the
current kernel to make sure that file isn't somehow corrupted. It looks
fine.
So /dev/.initramfs/progress_state ends up in an unusual state. Could
this be a race condition? Is anything happening in parallel at
shutdown? Could the file be partially written when it is sourced by
/etc/init.d/rc?
For now I've added something that prints the contents of
/dev/.initramfs/progress_state before it is sourced by /etc/init.d/rc.
However, if this is a race condition, I don't hold out much hope of
actually seeing anything useful any time soon...
So, any ideas? :-)
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
/dev/.initramfs/progress_state is corrupted at shutdown
https://bugs.launchpad.net/bugs/121165
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs