File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
files/common/lib/systemd/system/zfs-volume-wait.service.d Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # During upgrade verification, the root filesystem will be booted as a
3
+ # container using systemd-nspawn. When the zfs-volume-wait service runs
4
+ # in this container, it will fail to complete in a timely manner,
5
+ # resulting in a failure to start the upgrade container (the logic that
6
+ # starts the container will timeout).
7
+ #
8
+ # The service fails to complete in a timely manner because "/dev" in the
9
+ # container is not the same as "/dev" on the host. The ZVOL devices that
10
+ # the service is waiting to appear in "/dev", will not appear within the
11
+ # container (by design).
12
+ #
13
+ # Thus, to workaround this problem, we explicitly disable this service
14
+ # from running when inside of the container.
15
+ #
16
+ [Unit]
17
+ ConditionVirtualization=!container
You can’t perform that action at this time.
0 commit comments