Bug 869180 - Dracut needs to include nfs3, nfs4 modules
Summary: Dracut needs to include nfs3, nfs4 modules
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 875216 (view as bug list)
Depends On: 855170
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-23 08:22 UTC by Sandro Mathys
Modified: 2013-08-01 18:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 855170
Environment:
Last Closed: 2013-08-01 18:36:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to install all NFS modules (1.75 KB, patch)
2012-10-23 10:40 UTC, Marcus Moeller
no flags Details | Diff

Description Sandro Mathys 2012-10-23 08:22:50 UTC
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 jkeating on 2012-09-06 19:38:18 EDT ---

*** Bug 854180 has been marked as a duplicate of this bug. ***

--- Additional comment from t.bubeck 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
dracut:/#

--- Additional comment from t.bubeck 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. "
https://fedoraproject.org/wiki/Fedora_18_Beta_Release_Criteria

--- Additional comment from kparal 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 jkeating 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. "
> https://fedoraproject.org/wiki/Fedora_18_Beta_Release_Criteria

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 kparal 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 updates on 2012-09-10 10:16:17 EDT ---

dracut-023-39.git20120910.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dracut-023-39.git20120910.fc18

--- Additional comment from updates on 2012-09-10 12:09:37 EDT ---

Package dracut-023-39.git20120910.fc18:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-2012-13731/dracut-023-39.git20120910.fc18
then log in and leave karma (feedback).

--- Additional comment from t.bubeck 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 kparal 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 updates 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.

Comment 1 Marcus Moeller 2012-10-23 10:40:34 UTC
Created attachment 632021 [details]
Patch to install all NFS modules

Comment 2 Harald Hoyer 2013-05-29 13:16:49 UTC
*** Bug 875216 has been marked as a duplicate of this bug. ***

Comment 3 Harald Hoyer 2013-05-29 13:17:30 UTC
commit ba111df2b99f9f1dc5c51442ad92bcefbf16bd91

Comment 4 Fedora End Of Life 2013-07-04 06:56:32 UTC
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.

Comment 5 Fedora End Of Life 2013-08-01 18:36:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.