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

MOUNTS trailing slash errors #2

Open
jerrac opened this issue Oct 7, 2013 · 0 comments
Open

MOUNTS trailing slash errors #2

jerrac opened this issue Oct 7, 2013 · 0 comments

Comments

@jerrac
Copy link

jerrac commented Oct 7, 2013

A trailing slash on the nfs share causes the mount to fail. No trailing slash on the nfs share, and a trailing slash on the mountpoint causes a CRIT error, but the mount does mount. No trailing slashes at all works with no errors.

Fails: MOUNTS=("rw|nfshost|/export/blah/|/mounts/blah/|")
Fails: MOUNTS=("rw|nfshost|/export/blah/|/mounts/blah|")
Works with error: MOUNTS=("rw|nfshost|/export/blah|/mounts/blah/|")
Works without error: MOUNTS=("rw|nfshost|/export/blah|/mounts/blah|")

Personally, I believe all should work with no error. We just have to strip any trailing slashes.

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