Bug 1007868

Summary: if the export entry invalid exportfs should not export it;
Product: Red Hat Enterprise Linux 6 Reporter: JianHong Yin <jiyin>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED WONTFIX QA Contact: Yongcheng Yang <yoyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: eguan, xzhou
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1007871 (view as bug list) Environment:
Last Closed: 2017-12-06 11:25:52 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:
Bug Depends On:    
Bug Blocks: 1007871    

Description JianHong Yin 2013-09-13 13:20:05 UTC
Description of problem:
if the export entry invalid should not export it;

Version-Release number of selected component (if applicable):
[root@dhcp-13-188 ~]# lsb_release -sr; rpm -q nfs-utils; uname -r
6.4
nfs-utils-1.2.3-36.el6.x86_64
2.6.32-358.11.1.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:
[root@dhcp-13-188 ~]# exportfs -ua
[root@dhcp-13-188 ~]# exportfs -i *:/not.exist
exportfs: Failed to stat /not.exist: No such file or directory 

[root@dhcp-13-188 ~]# echo $?
0
[root@dhcp-13-188 ~]# exportfs 
/not.exist    	<world>


Expected results:
should return !0
should not export it

Additional info:

Comment 2 RHEL Program Management 2013-10-14 02:11:54 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Jan Kurik 2017-12-06 11:25:52 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/