Red Hat Bugzilla – Bug 869180
Dracut needs to include nfs3, nfs4 modules
Last modified: 2013-08-01 14:36:40 EDT
This issue, originally reported against and fixed in F18, also turned up in F17 (with latest kernel) now. Please backport the fix accordingly.
+++ This bug was initially created as a clone of Bug #855170 +++
In 3.6 kernel all the different NFS protocols were broken up into separate kernel modules, so dracut will need to include the specific nfs2, nfs3, nfs4, and plain nfs modules in order for NFS mounting from dracut to work.
This has direct effect on Anaconda installs where stage2 comes from NFS.
--- Additional comment from firstname.lastname@example.org on 2012-09-06 19:38:18 EDT ---
*** Bug 854180 has been marked as a duplicate of this bug. ***
--- Additional comment from email@example.com on 2012-09-07 01:41:39 EDT ---
Created attachment 610624 [details]
console output of F18-TC6 showing broken NFS
Attached find a console output of Fedora 18 TC6. It shows, that dracut and mount are unable to mount NFS from a working NFS server.
dracut:/# ping -c 1 10.2.1.1
PING 10.2.1.1 (10.2.1.1) 56(84) bytes of data.
64 bytes from 10.2.1.1: icmp_req=1 ttl=64 time=0.339 ms
--- 10.2.1.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.339/0.339/0.339/0.000 ms
dracut:/# cat /proc/cmdline
initrd=fedora/18/x86_64/initrd.img inst.repo=nfsiso:10.2.1.1:/home/tmp/fedora/18/x86_64/iso/ selinux=0 BOOT_IMAGE=fedora/18/x86_64/vmlinuz
dracut:/# mkdir /tmp/aa
dracut:/# mount -t nfs 10.2.1.1:/home/tmp/fedora/18/x86_64/iso /tmp/aa
mount.nfs: Protocol not supported
--- Additional comment from firstname.lastname@example.org on 2012-09-07 01:46:13 EDT ---
Proposing as Beta blocker:
" It must be possible to install by booting the installation kernel directly, including via PXE, and correctly specifying a remote source for the installer itself, using whichever protocols are required to work for package retrieval at the current phase (Alpha, Beta, Final). This must work if the remote source is not a complete repository but contains only the files necessary for the installer itself to run. "
--- Additional comment from email@example.com on 2012-09-07 03:34:21 EDT ---
Jesse, please transfer the Blocks: field if you mark some bug as a duplicate, thanks. Doing it now.
--- Additional comment from firstname.lastname@example.org on 2012-09-07 13:56:53 EDT ---
(In reply to comment #3)
> Proposing as Beta blocker:
> " It must be possible to install by booting the installation kernel
> directly, including via PXE, and correctly specifying a remote source for
> the installer itself, using whichever protocols are required to work for
> package retrieval at the current phase (Alpha, Beta, Final). This must work
> if the remote source is not a complete repository but contains only the
> files necessary for the installer itself to run. "
Nit picky, but that criteria is not broken by this bug. During the install you can still select an NFS source and have it mounted at that point. This bug just prevents use of NFS as a stage2 source, which is independent of package install location.
I discovered that currently there is no release criteria for stage2 locations. I already proposed this as a beta blocker (by blocking the F18Beta bug) on the premise that even though there is no criteria we can make a judgement call and decide that this is a blocker anyway.
--- Additional comment from email@example.com on 2012-09-10 04:09:41 EDT ---
(In reply to comment #5)
That criterion was created to specifically cover stage2 download. "remote source for the installer itself" means remote location of the stage2 image.
There is a different criterion for remote location of the package repository.
--- Additional comment from firstname.lastname@example.org on 2012-09-10 10:16:17 EDT ---
dracut-023-39.git20120910.fc18 has been submitted as an update for Fedora 18.
--- Additional comment from email@example.com on 2012-09-10 12:09:37 EDT ---
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-023-39.git20120910.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
--- Additional comment from firstname.lastname@example.org on 2012-09-11 08:45:05 EDT ---
May be fixed in dracut-023-39.git20120910.fc18. But Fedora 18 Alpha RC2 still does not work with inst.repo=nfs.. (probably this new dracut was not used to build the included initramfs of RC2?).
--- Additional comment from email@example.com on 2012-09-11 10:01:26 EDT ---
(In reply to comment #9)
This does not qualify for Alpha criteria, it's not proposed for Alpha -> will not be in Alpha.
It's true it would be nice to have this in Alpha, but the change might be considered risky. If somebody thinks it's worth it, add F18Alpha-accepted into Blocks field and we will discuss it.
--- Additional comment from firstname.lastname@example.org on 2012-09-17 19:29:33 EDT ---
dracut-023-39.git20120910.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
Created attachment 632021 [details]
Patch to install all NFS modules
*** Bug 875216 has been marked as a duplicate of this bug. ***
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.