+++ This bug was initially created as a clone of Bug #244994 +++ With RHEL5-Server-20070620.nightly when installing to iSCSI root, I end up with the following entries in /etc/fstab: /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults,_netdev 1 2 It's clearly not the driveIsIscsi() logic which is failing, since /boot is getting marked with _netdev and: >>> os.path.islink("/sys/block/sda/device") True >>> target = os.readlink("/sys/block/sda/device") >>> target '../../devices/platform/host0/session1/target0:0:0/0:0:0:0' >>> re.search("/platform/host[0-9]*/session[0-9]*/target[0-9]*:[0-9]*:[0-9]*/[0-9]*:[0-9]*:[0-9]*:[0-9]*", target) <_sre.SRE_Match object at 0x2aaaac4358a0> Need the flag set so that we can disable Xen bridging on iSCSI root - see bug #238143 -- Additional comment from markmc on 2007-06-26 06:57 EST -- Okay, the problem turns out to be that the mount options from the LogicalVolumeDevice are taken by the FileSystemSetEntry during the "partitiondone" step. However, the device is only marked with _netdev during the "enablefilesystems" step, which comes after the "partitiondone" step. Attaching a patch which fixes the problem by adding a getOptions() method to FileSystemSetEntry which means the device options are only read when /etc/fstab is being written during the "preinstallconfig" step which comes after the "enablefilesystems" step. -- Additional comment from markmc on 2007-06-26 06:59 EST -- Created an attachment (id=157877) anaconda-device-options.patch
Cloning from RHEL5 - rawhide looks to have the same problem, although I haven't actually reproduced with rawhide