Bug 208736 - freebsd-update does not work when /var/empty is a RO filesystem
Summary: freebsd-update does not work when /var/empty is a RO filesystem
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.3-BETA2
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 05:29 UTC by Alan
Modified: 2016-12-20 21:53 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2016-04-12 05:29:55 UTC
Making /var/empty its own read-only filesystem is common on systems with root on ZFS, and is the suggested configuration in the FreeBSD wiki (https://wiki.freebsd.org/RootOnZFS).  freebsd-update should probably detect such configurations when running with the "upgrade" option, and either abort gracefully with a warning or ignore the steps it would normally take on /var/empty.  Currently it stops with very little diagnostic output.

I've confirmed this on several amd64 systems configured with root on ZFS while attempting to upgrade via 'freebsd-update upgrade -r 10.3-RELEASE".