jails Jails not found

Code:
# ezjail-admin list | grep mailin
DS  N/A  127.0...       mailin                         /usr/jails/mailin

# ezjail-admin start mailin
Starting jails: mailinjls: jail "mailin" not found
.
/etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables  is obsolete.  Please consider migrating to /etc/jail.conf.
Error: Could not start mailin.
  You need to start it by hand.

I have tried deleting and recreating it but the error persists. Any ideas?
 
EZJail is old, its developer walked away many, many years ago. I suggest using a different jail management tool.
 
So, given my websites and mail depend on these jails and there is a lot of complex configuration, how would I migrate them to a different tool?
 
Does ezjail have an export command?

Bastille has the ability to import ezjail jails, though I haven’t tried it myself.

Bastille is nice because apart from some stuff it has to handle by itself, all the config is done in jail.conf which essentially allows you to step away at any time and manage the jails with standard jail tooling.

It’s a jail management wrapper, but doesn’t really complicate the jail config.
 
Why is it still included in ports? Someone should deprecate it?
Presumably because some people still use it. It's just the management tool, it's not the actual jail itself, apart from issues like this, there isn't necessarily any reason for people to switch if it's working for them. But, I do agree that sometimes it would be nice to know that something is largely abandoned beyond 3rd party security patches.

I personally use Bastille and while I haven't used ezjail, the following link does go through the process. Just make sure to try it on a test jail before anything that you care about.
 
Back
Top