You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if grep -Eq "[[:blank:]]${_existing_mount}.*[[:blank:]]""${bastille_jailsdir}/${_jail}/fstab";then
Where grep -Eq "[[:blank:]]/usr/local/bastille/jails/dummy/root/tmp/app.*[[:blank:]]" will match against /usr/local/bastille/jails/dummy/root/tmp/app-test1
The text was updated successfully, but these errors were encountered:
Current build:
FreeBSD 14.2-RELEASE-p0
Bastille 0.12.20250111
I have the following scenario where the validation of existing mount fails when the first folder has a - on the name and the second do not.
# bastille mount dummy /tmp/app-test1 tmp/app-test1 nullfs rw 0 0
# bastille mount dummy /tmp/app tmp/app nullfs rw 0 0
It seems related to the validation below
bastille/usr/local/share/bastille/mount.sh
Line 120 in 1dedfed
Where
grep -Eq "[[:blank:]]/usr/local/bastille/jails/dummy/root/tmp/app.*[[:blank:]]"
will match against/usr/local/bastille/jails/dummy/root/tmp/app-test1
The text was updated successfully, but these errors were encountered: