Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1049589

Summary: exportfs: Messages indicating unsupported operation that works
Product: Red Hat Enterprise Linux 7 Reporter: Tony Asleson <tasleson>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED CURRENTRELEASE QA Contact: JianHong Yin <jiyin>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: eguan, fs-qe, jiyin
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nfs-utils-1.2.9-2.0.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:05:58 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:
Bug Depends On:    
Bug Blocks: 1025505    

Description Tony Asleson 2014-01-07 20:01:34 UTC
Description of problem:

If you try to export a file system using exportfs that contains a space in the path the command will indeed create the export, but it will output a message indicating that it's not supported.


Version-Release number of selected component (if applicable):


How reproducible:
Every time


Steps to Reproduce:
1. Create a path to export that has a space
  eg. mkdir -p "/mnt/has space"

2. Call exportfs utilizing that path
  eg. exportfs *:"/mnt/has space"
3. Examine output for unsupported message

Actual results:
exportfs: /mnt/has space does not support NFS export

exit code = 0.

Expected results:
No output with exit code = 0


Additional info:

Patch posted upstream with correction.
http://www.spinics.net/lists/linux-nfs/msg41024.html

Comment 2 Steve Dickson 2014-01-08 19:05:29 UTC
*** Bug 1034540 has been marked as a duplicate of this bug. ***

Comment 4 JianHong Yin 2014-01-14 09:28:16 UTC
[03:46:46 root@ /mnt/tests/CoreOS/nfs-utils/commands/utils/exportfs]# mkdir -p '/dir with white spaces'
:: [   PASS   ] :: Running 'mkdir -p '/dir with white spaces'' (Expected 0, got 0)
--------------------------------------------------------------------------------

[03:46:46 root@ /mnt/tests/CoreOS/nfs-utils/commands/utils/exportfs]# exportfs -vi 10.12.0.56:'/dir with white spaces'
exporting 10.12.0.56:/dir with white spaces
:: [   PASS   ] :: Running 'exportfs -vi 10.12.0.56:'/dir with white spaces'' (Expected 0, got 0)
--------------------------------------------------------------------------------

test ENV:
------------------------------------------------
Time & CURDIR : [2014-01-14 03:46:41 @/mnt/tests/CoreOS/nfs-utils/commands/utils/exportfs]
Case Name     : /CoreOS/nfs-utils/commands/utils/exportfs
$HOSTNAME     : intel-mahobay-01.lab.eng.rdu.redhat.com
Distro Info   : RedHatEnterpriseWorkstation 7.0 : RHEL-7.0-20140110.0
NVR & host    : Linux intel-mahobay-01.lab.eng.rdu.redhat.com 3.10.0-67.el7.x86_64 #1 SMP Tue Jan 7 18:01:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
Package Info  :
	libnfsidmap-0.25-8.el7.x86_64
	package libsss_idmap is not installed
	nfs-utils-1.2.9-2.1.el7.x86_64
------------------------------------------------

Comment 5 Ludek Smid 2014-06-13 10:05:58 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.