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

Mount issue ? #818

Closed
msvp opened this issue Jan 18, 2025 · 4 comments
Closed

Mount issue ? #818

msvp opened this issue Jan 18, 2025 · 4 comments

Comments

@msvp
Copy link

msvp commented Jan 18, 2025

Hello from France !

I've just upgrade to bastille-0.12.20250111.

And now, I can't mount any directory :

bastille mount mysqlwiseapp-jail /msvpdata /msvpdata nullfs rw 0 0
Detected invalid mount permissions in FSTAB.
Format: /host/path /jail/path nullfs ro 0 0
Read: /msvpdata /msvpdata nullfs rw 0 0
Usage: bastille mount TARGET HOST_PATH JAIL_PATH [filesystem_type options dump pass_number]

Any idea ?

Thanks !

@o-techie
Copy link

o-techie commented Jan 18, 2025

I can confirm I'm having the same issue. Apparently is caused by #800 at:

if ! echo "${_perms}" | grep -Eq 'r[w|o],.*$'; then
error_notify "Detected invalid mount permissions in FSTAB."

It seems to be rectified at the current master:

if ! echo "${_perms}" | grep -Eq 'r[w|o](,.*)?$'; then
error_notify "Detected invalid mount permissions in FSTAB."

@yaazkal
Copy link
Collaborator

yaazkal commented Jan 18, 2025

Unfortunatelly that issue landed in the release, it's now fixed in HEAD

@tschettervictor
Copy link
Collaborator

@msvp Can you test #802.

We are allowing all mount options according to fstab documentation, and one bug slipped past.

@msvp
Copy link
Author

msvp commented Jan 18, 2025

#802

Works !

Thanks

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

4 participants