jails and loopback IPs

Jails on DragonFly can now route to loopback addresses (i.e. 127.0.0.1).  Because of this, they can work like shared IPs and the jail can connect to the host.

I think this means that you no longer have to bind jail services to specific IPs as you did previously.  Don’t quote me on that; I’ve run few jails in my life.

Update: I should have linked this too: the sysctl jail.defaults.allow_listen_override that makes it easier in the host system too.

Shallow src users, a note

If you follow the upgrade instructions in my 5.8 update post, there is one ‘gotcha’.   If your copy of /usr/src was downloaded using “make src-create-shallow”, you will not have any git history – or any branches other than 5.6.

The easy, cheesy way to fix it is to remove /usr/src, then type “make src-create” in /usr, and proceed from there.  There’s probably a way to edit in the other branches, but I haven’t tried it yet.  I’m counseling the brute force method for now.