Bug 13731

Summary: exportfs -a segfaults
Product: [Retired] Red Hat Linux Reporter: Pekka Pietikäinen <pp>
Component: nfs-utilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 7.1CC: notting
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-24 21:59:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pekka Pietikäinen 2000-07-11 15:48:05 UTC
When /etc/exports contains an IP address (instead of a hostname) exportfs
-a segfaults.

When ltracing it, one can see

        gethostbyname("192.168.8.2")                      = 0x40134e44
        strlen(0x08052340, 4, 2, 4, 0x08052338)           = 11
        --- SIGSEGV (Segmentation fault) ---
        +++ killed by SIGSEGV +++

Comment 1 Glen Foster 2000-07-18 20:16:28 UTC
This defect is considered MUST-FIX for Winston Beta-5


Comment 2 Bill Nottingham 2000-07-22 22:26:18 UTC
Works for me. What does your /etc/exports look like?

Comment 3 Glen Foster 2000-07-24 21:59:25 UTC
We are unable to reproduce this behavior.  If you can still reproduce it, please
re-open this defect and submit a copy of your /etc/exports file for our
analysis.  Thanks.

Comment 4 Pekka Pietikäinen 2000-07-24 23:02:43 UTC
beta4 fixes this bug.