diff --git a/usr/local/share/bastille/clone.sh b/usr/local/share/bastille/clone.sh index 26c99065..f596fcb6 100644 --- a/usr/local/share/bastille/clone.sh +++ b/usr/local/share/bastille/clone.sh @@ -110,7 +110,7 @@ clone_validate_jail_name() { name_prefix="$(echo ${NEWNAME} | cut -c1-7)" name_suffix="$(echo ${NEWNAME} | rev | cut -c1-2 | rev)" if find "${bastille_jailsdir}"/*/jail.conf -maxdepth 1 -type f -print0 2> /dev/null | xargs -r0 -P0 grep -h -oqs "e0b_${name_prefix}xx${name_suffix}" 2>/dev/null; then - error_exit "[ERROR]: Invalid jail name due to epair naming limitations. See documentation for details." + error_exit "[ERROR]: The jail name causes a collision with the epair interface naming. See documentation for details." fi fi fi diff --git a/usr/local/share/bastille/create.sh b/usr/local/share/bastille/create.sh index 692bc65d..abb6ffcc 100644 --- a/usr/local/share/bastille/create.sh +++ b/usr/local/share/bastille/create.sh @@ -80,7 +80,7 @@ validate_name() { name_prefix="$(echo ${NAME_VERIFY} | cut -c1-7)" name_suffix="$(echo ${NAME_VERIFY} | rev | cut -c1-2 | rev)" if find "${bastille_jailsdir}"/*/jail.conf -maxdepth 1 -type f -print0 2> /dev/null | xargs -r0 -P0 grep -h -oqs "e0b_${name_prefix}xx${name_suffix}" 2>/dev/null; then - error_exit "[ERROR]: Invalid jail name, due to epair naming limitations. See documentation for details." + error_exit "[ERROR]: The jail name causes a collision with the epair interface naming. See documentation for details." fi fi } diff --git a/usr/local/share/bastille/rename.sh b/usr/local/share/bastille/rename.sh index 43cc1240..df87c512 100644 --- a/usr/local/share/bastille/rename.sh +++ b/usr/local/share/bastille/rename.sh @@ -104,7 +104,7 @@ validate_name() { name_prefix="$(echo ${NAME_VERIFY} | cut -c1-7)" name_suffix="$(echo ${NAME_VERIFY} | rev | cut -c1-2 | rev)" if find "${bastille_jailsdir}"/*/jail.conf -maxdepth 1 -type f -print0 2> /dev/null | xargs -r0 -P0 grep -h -oqs "e0b_${name_prefix}xx${name_suffix}" 2>/dev/null; then - error_exit "[ERROR]: Invalid jail name due to epair naming limitations. See documentation for details." + error_exit "[ERROR]: The jail name causes a collision with the epair interface naming. See documentation for details." fi fi fi