cockpit-file-sharing icon indicating copy to clipboard operation
cockpit-file-sharing copied to clipboard

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

Open ttufts opened this issue 7 months ago • 0 comments

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

ttufts avatar Jul 26 '24 16:07 ttufts