Solved Jails - ezjail, qjail, iocage, other

lib13

Member

Reaction score: 3
Messages: 97

After almost a couple years away, I'd like to know about jails management systems, for a new server.
In the past I've used ezjail(7), then qjail(8).
Now, in 2018, are all these tools up-to-date with current? ezjail(7) is mentioned in the manual, so I guess it should be...

iocage(8) seems to require Python and ZFS, correct? If so, I'd like to use another option.

Is there any other jail management system that has some benefit over these?
There's no need for bhyve virtual machines.
 
OP
OP
L

lib13

Member

Reaction score: 3
Messages: 97

I didn't get any answer, at least I'd like to know if qjail runs on 11.1 or not.
qjail4 is version 4.9
pkg info qjail4 says that architecture is FreeBSD:10:*
qjail4 pkg doens't install /usr/local/etc/qjail.conf.sample as said it would. When fetching base.txz it fails with a malformed URL.

In https://sourceforge.net/projects/qjail/files/ there's a newer version qjail-5.4.tar.bz2

What does this all mean? Than qjail is no longer in the tree? That for 11.x one needs to install version 5.4 ad-hoc?
I'd appreciate some light on this.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,179
Messages: 29,464

I didn't get any answer, at least I'd like to know if qjail runs on 11.1 or not.
It does.
pkg info qjail4 says that architecture is FreeBSD:10:*
That's because you're running that command on FreeBSD 10.x. It doesn't say anything about the application's support for other versions. It only tells you that this particular installed package was built for FreeBSD 10.x.

sysutils/qjail4 looking at the Makefile:
Code:
IGNORE_FreeBSD_11=      Only for FreeBSD 10.x
IGNORE_FreeBSD_12=      Only for FreeBSD 10.x
This is what tells you it only works for FreeBSD 10.x.

What does this all mean? Than qjail is no longer in the tree? That for 11.x one needs to install version 5.4 ad-hoc?
Did you actually search for it? Have a look at sysutils/qjail.
 
OP
OP
L

lib13

Member

Reaction score: 3
Messages: 97

I was running 11.1, but not completely, as forgot to run freebsd-update install after upgrading and reboot.

This new 5.4 package didn't install any qjail.conf* file, too.

Thank you for the light you shedded on this.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,179
Messages: 29,464

I was running 11.1, but not completely, as forgot to run freebsd-update install after upgrading and reboot.
This isn't going to change what the package has been built for. Even if you fully upgrade the base OS but not the packages it's still going to show 'FreeBSD:10:*' because that's what the package was built for. As I said, pkg-info(8) only provides information about the package itself, not the state of support of the application within that package.
 
Top