Bug 2086693
Summary: | nfs-utils-2.6.1-2.rc4.fc36: busyloop in nfsrahead | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Damian Wrobel <dwrobel> | ||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 36 | CC: | bfields, luk.claes, mironov.ivan, steved, tbecker | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | armv7hl | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2022-05-20 13:05:08 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: | |||||||
Attachments: |
|
Description
Damian Wrobel
2022-05-16 13:20:54 UTC
Based on [1], nfsrahead is a tool for configuring "NFS mounts", so the question is why it is being invoked with "btrfs-1" parameter? Also the machine doesn't have any nfs mounts configured, so one might expect that there won't be any need to execute such a tool during a boot process. [1] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=blob;f=tools/nfsrahead/nfsrahead.man;h=5488f63359399e7e3e2896b0f1d1f7253693ef00;hb=18ac9c85d49d081dcfac8ba6ca63b4adc07c8ac6#l15 Seems to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2083926 Indeed it is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2083926. getopt returns an int and we were using a char for the return type. This is usually harmless, unless we are compiling to arm architectures in which char is unsigned. When we hit this combination, the compiler optimizes the test condition `getopt(argc, argv, "dF") != -1` to true, which results in the infinite loop. Thanks for the analysis. Marking it as duplicate of 2083926. *** This bug has been marked as a duplicate of bug 2083926 *** |