Bug 1007868 - if the export entry invalid exportfs should not export it;
if the export entry invalid exportfs should not export it;
Status: NEW
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: Steve Dickson
Yongcheng Yang
Depends On:
Blocks: 1007871
  Show dependency treegraph
Reported: 2013-09-13 09:20 EDT by Yin.JianHong
Modified: 2017-11-13 21:42 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1007871 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Yin.JianHong 2013-09-13 09:20:05 EDT
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

How reproducible:

Steps to Reproduce:

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 $?
[root@dhcp-13-188 ~]# exportfs 
/not.exist    	<world>

Expected results:
should return !0
should not export it

Additional info:
Comment 2 RHEL Product and Program Management 2013-10-13 22:11:54 EDT
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.

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