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)
6.6
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-09-14 08:08 EDT (History)
1 user (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)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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
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 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.