-
Notifications
You must be signed in to change notification settings - Fork 142
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
[BUG] rename doesn't consider custom MOUNT #659
Labels
bug
Something isn't working
Comments
This might be simplistic but works for me :)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[MANDATORY] Describe the bug [MANDATORY]
The
rename
command contains aupdate_fstab
routine to update the fstab file of the jail to the new name. However, this is not applied to custom mounts, e.g., those initiated by aMOUNT
command in a template.[MANDATORY] Bastille and FreeBSD version (paste
bastille -v && freebsd-version -kru
output)0.10.20231125
14.0-RELEASE-p3
14.0-RELEASE-p3
14.0-RELEASE-p4
[MANDATORY] How did you install bastille? (port/pkg/git)
pkg
[optional] Steps to reproduce?
foo
MOUNT
command, e.g.,MOUNT /root/bastille/data data nullfs rw 0 0
bastille rename foo bar
/root/bastille/data /usr/local/bastille/jails/foo/root/data nullfs rw 0 0
[optional] Expected behavior
The
rename
command takes care of updating all entries in fstab, so my entry would be updated to/root/bastille/data /usr/local/bastille/jails/bar/root/data nullfs rw 0 0
The text was updated successfully, but these errors were encountered: