Skip to content

Commit ccd4fe7

Browse files
author
Prakash Surya
committed
DLPX-75089 Upgrade verification should not enable nfs services
1 parent 52d370f commit ccd4fe7

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
#
3+
# During upgrade verification, the root filesystem will be booted as a
4+
# container using systemd-nspawn. When this service runs in this
5+
# container, it can cause corruption of the NFS volumes on the client
6+
# (due to us allowing all capabilities to the container). Thus, to
7+
# workaround this problem, we explicitly disable this service from
8+
# running when inside of the container.
9+
#
10+
ConditionVirtualization=!container
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
#
3+
# During upgrade verification, the root filesystem will be booted as a
4+
# container using systemd-nspawn. When this service runs in this
5+
# container, it can cause corruption of the NFS volumes on the client
6+
# (due to us allowing all capabilities to the container). Thus, to
7+
# workaround this problem, we explicitly disable this service from
8+
# running when inside of the container.
9+
#
10+
ConditionVirtualization=!container
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
#
3+
# During upgrade verification, the root filesystem will be booted as a
4+
# container using systemd-nspawn. When this service runs in this
5+
# container, it can cause corruption of the NFS volumes on the client
6+
# (due to us allowing all capabilities to the container). Thus, to
7+
# workaround this problem, we explicitly disable this service from
8+
# running when inside of the container.
9+
#
10+
ConditionVirtualization=!container
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
#
3+
# During upgrade verification, the root filesystem will be booted as a
4+
# container using systemd-nspawn. When this service runs in this
5+
# container, it can cause corruption of the NFS volumes on the client
6+
# (due to us allowing all capabilities to the container). Thus, to
7+
# workaround this problem, we explicitly disable this service from
8+
# running when inside of the container.
9+
#
10+
ConditionVirtualization=!container

0 commit comments

Comments
 (0)