A workaround (certainly not a solution) is to put a "grep -v" in the
pipeline between the SHOWMOUNT and the awk that prints it in the
expected format for autofs. Using this, I was able to filter out the 3
mounts with spaces in them so that I can continue using autofs. A proper
solution appears to be modifying showmount to change the output format
for when it is going to be parsed by a script.

-- 
won't mount NFS mounts with space in the name
https://bugs.launchpad.net/bugs/663672
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to