bin/140863: freebsd-update fails to check that writes will succeed,
will hilarious consequences
mark at coreland.ath.cx
Wed Nov 25 15:40:03 UTC 2009
>Synopsis: freebsd-update fails to check that writes will succeed, will hilarious consequences
>Arrival-Date: Wed Nov 25 15:40:02 UTC 2009
Having just completed:
# freebsd-update -r 8.0-RELEASE upgrade
# freebsd-update install
I rebooted and came back up in single-user mode to run
the final freebsd-update install command.
I mounted /usr and /var and forgot to set / to read-write.
freebsd-update gleefully installed half an update whilst spewing
errors, resulting in a system full of binaries linked to libraries
in /lib that no longer exist.
Due to other problems (mostly with sysinstall eventually doing
what it was told on the sixth reboot), it's taken most of the day
to even get this machine into a state where it can be fixed.
Do the above.
Check mounted partitions for acceptable flags. Check for chflags
on files to be replaced.
More information about the freebsd-bugs