Dan Langille Profile picture
Mountain biker. Dev turned sysadmin. Websites & databases. Conference organizer.
Aug 8, 2021 4 tweets 2 min read
Current status: feeding puffs to a 9-month old while taking notes on @FreshPorts. The new jail will be minimal; only pkg installed. /usr/ports will be populated but git operations will be performed from the host, not the jail.

What about permissions?

1/n Image @FreshPorts Most scripts on the host run as the freshports user. Scripts which invoke git upon the ports tree at /jails/freshports/usr/ports need to run as root (via sudo) because the tree is chown -R root:wheel

2/n
Dec 13, 2019 5 tweets 2 min read
I’m trying to do a #FreeBSD vnet jail using a different subnet than the host. Routing seems to be the issue. I think the host needs an IP address in the jails subnet to act as the gateway. Correct?

The vnet needs to be attached to **not** em0. I thought about creating tap0, putting 192.168.0.1 on that, and attaching it to bridge0 instead of em0.