Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFS exports file import fails if there is more than a space after share path #108

Open
ttufts opened this issue Jul 26, 2024 · 0 comments
Open

Comments

@ttufts
Copy link

ttufts commented Jul 26, 2024

Bug Info

Describe the bug
exports file format supports unlimited whitespace between share name and options. When importing an exports file into cockpit, there is an error if there is more than a single space between parts of each line.

To Reproduce
Steps to reproduce the behavior:

  1. Create an exports file with multiple spaces between the mnt path and the options
  2. Attempt to import the exports file
  3. See error

Expected behavior
Properly parse exports file according to man page

Screenshots
If applicable, add screenshots to help explain your problem.
image

Client Side

Desktop (please complete the following information):

Server Side

  • OS: Debian 12 Privileged LXC running on Proxmox
  • Cockpit Version: 287.1-0+deb12u2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant