[PATCH 2/2] Do not use _rnetdev as fstab option for network based /

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In RHEL-5 we use _rnetdev for network based /, and various pieces
of the RHEL-5 initscripts key of on this to do special things. So I thought
it would be good to do the same in Fedora. Testing has revealed that
Fedora's mount command cannot handle this options on things go boom,
so use plain _netdev for / just like we do with other network based fs, and
as we've been doing in previous Fedora releases.
---
 storage/__init__.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 4e8fc4b..fdb8c91 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1658,10 +1658,7 @@ class FSSet(object):
             options = options or "defaults"
             for netdev in netdevs:
                 if device.dependsOn(netdev):
-                    if mountpoint == "/":
-                        options = options + ",_rnetdev"
-                    else:
-                        options = options + ",_netdev"
+                    options = options + ",_netdev"
                     break
             devspec = device.fstabSpec
             dump = device.format.dump
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux