I'm following the excellent handbook's chapter on creating jails (“Chapter 17. Jails and Containers”), and in particular §17.5.2 “Creating a Thin Jail Using NullFS”. I'm following the instructions almost verbatim, except that I'm creating a 14.1-RELEASE template rather than a 13.2-RELEASE template. But moving files from the downloaded user land to the skeleton results in an error:
Perhaps, the handbook needs to be updated? And what's the best way to fix the error?
Code:
# mv /usr/local/jails/templates/14.1-RELEASE-base/var /usr/local/jails/templates/14.1-RELEASE-skeleton/var
mv: /usr/local/jails/templates/14.1-RELEASE-base/var/empty: Operation not permitted
mv: /usr/local/jails/templates/14.1-RELEASE-base/var: Directory not empty
mv: /bin/rm /usr/local/jails/templates/14.1-RELEASE-base/var: terminated with 1 (non-zero) status
Perhaps, the handbook needs to be updated? And what's the best way to fix the error?