Only add it to /var and only when /var is on a _netdev.
Resolves: rhbz#1238603
From: "Brian C. Lane" bcl@redhat.com
Only add it to /var and only when /var is on a _netdev.
Resolves: rhbz#1238603 --- blivet/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py index 18c56f8..94a37b5 100644 --- a/blivet/__init__.py +++ b/blivet/__init__.py @@ -2826,7 +2826,7 @@ def fstab (self): for netdev in netdevs: if device.dependsOn(netdev): options = options + ",_netdev" - if root_on_netdev and mountpoint not in ["/", "/usr"]: + if root_on_netdev and mountpoint == "/var": options = options + ",x-initrd.mount" break if device.encrypted:
Added label: rhel7-branch.
Looks good to me.
Added label: ACK.
pushed.
Closed.
anaconda-patches@lists.fedorahosted.org