Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2036069

Summary: leapp detects NFSD as an NFS partition
Product: Red Hat Enterprise Linux 7 Reporter: Suresh <sujagtap>
Component: leapp-repositoryAssignee: Ina <ivasilev>
Status: CLOSED ERRATA QA Contact: Upgrades and Supportability <upgrades-and-supportability>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.9CC: cbesson, mhecko, mmacura, mmoran, mreznik, peter.vreman, pmendezh, pstodulk, soutteri
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: leapp-repository-0.17.0-1.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-09 12:33:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suresh 2021-12-29 15:44:34 UTC
Description of problem:

leapp detects NFSD as an NFS partition

Version-Release number of selected component (if applicable):
leapp-0.13.0-1.el7_9.noarch                                 
leapp-deps-0.13.0-1.el7_9.noarch                           
leapp-upgrade-el7toel8-0.15.0-6.el7_9.noarch               
leapp-upgrade-el7toel8-deps-0.15.0-6.el7_9.noarch           
python2-leapp-0.13.0-1.el7_9.noarch                       

How reproducible:

every time

Steps to Reproduce:

1. yum Install 'nfs-utils' package to configure NFS server
2. Start nfs-server andf snable it

 #systemctl enable nfs-server
 #systemctl start nfs-server
 
3. Execute "leapp preupgrade"

4.It detects nfs mount even though no NFS mount is present. 
~~~
 cat /proc/mounts |grep nfs
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0          <<<<<--------------
~~~

And leapp detects NFSD as an NFS partition and shows below inhibitor

~~
Use of NFS detected. Upgrade can't proceed
~~

Actual results:

 #leapp preupgrade shows below inhabitor even though there was no NFS mount present
~~
Risk Factor: high (inhibitor)
Title: Use of NFS detected. Upgrade can't proceed
Summary: NFS is currently not supported by the inplace upgrade.
We have found NFS usage at the following locations:
- Currently mounted NFS shares

Remediation: [hint] Disable NFS temporarily for the upgrade if possible.
Key: 9881b25faceeeaa7a6478bcdac29afd7f6baaaed

~~

Expected results:

Leapp should not show  NFS inhabitor due to NFSD

Additional info:
================

Comment 6 Petr Stodulka 2022-01-19 20:41:26 UTC
Just to bring publicly the workaround for other interested people until we fix it:
 # systemctl stop /proc/fs/nfsd

We will update documentation properly in the meantime as well.

Comment 8 Petr Stodulka 2022-04-25 10:17:29 UTC
*** Bug 2078404 has been marked as a duplicate of this bug. ***

Comment 9 Michal Reznik 2022-06-01 13:18:10 UTC
Upstream fix in https://github.com/oamg/leapp-repository/pull/888.

Comment 14 errata-xmlrpc 2022-11-09 12:33:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (leapp and leapp-repository bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7895