I've created a thin jail using nullfs following the handbook jail page that is also using zfs and VNET so I can run some apps in a separate vlan and almost everything is working as expected, except that the jail is missing access to usr/local so I have none of the apps I installed, which I assume the jail is supposed to point to the ones from the host system once it is running, but I'm not too clear on that since the handbook only says how and I'm pretty new to jails.
The only deviation from that doc was the use of 14.3-RELEASE instead of 14.4-RELEASE(is that out?) and this line I found in this post since moving the var folder to the skeleton one was creating an error because of the empty folder inside.
But I also tried it exactly like the doc first, ignoring that error. I deleted the snapshot and re-did it properly once I saw it had issues, but it did not help.
First, I'd like to know if my understanding that my installed apps should be usable by the jail is correct since I'm just wasting my time if not.
And second, what should I look at to fix this? If I look into the final thinjail-nullfs-base folder, both the home and usr/local folder in the skeleton folder are completely empty and the rest of them have stuff but it differs from the host system.
The host is 14.3-RELEASE-p5 if that is relevant and the vnet stuff does seem to work since I have the correct ip if I do ifconfig using the toor user(since both my root and user use zsh, I can't use the jail with either currently).
The only deviation from that doc was the use of 14.3-RELEASE instead of 14.4-RELEASE(is that out?) and this line I found in this post since moving the var folder to the skeleton one was creating an error because of the empty folder inside.
Code:
chflags -Rvx noschg /usr/local/jails/templates/14.3-RELEASE-base/var
First, I'd like to know if my understanding that my installed apps should be usable by the jail is correct since I'm just wasting my time if not.
And second, what should I look at to fix this? If I look into the final thinjail-nullfs-base folder, both the home and usr/local folder in the skeleton folder are completely empty and the rest of them have stuff but it differs from the host system.
The host is 14.3-RELEASE-p5 if that is relevant and the vnet stuff does seem to work since I have the correct ip if I do ifconfig using the toor user(since both my root and user use zsh, I can't use the jail with either currently).