Page MenuHomeDevCentral

Migrate jail configuration to /etc/jail.conf
Closed, ResolvedPublic

Description

/etc/jail.conf is the new preferred way to store Jail configuration

Currently, configuration is instead in the /usr/local/etc/ezjail/ folder.

Ysul
$ ls /usr/local/etc/ezjail/
ftp_nasqueron_org               mumble_nasqueron_org            tonderon_nasqueron_drake        uncle_slovius_nasqueron_org

uncle_slovius_nasqueron_org could be disabled in the process (and must be, as there is a race condition between ysul nginx and this nginx on start, @amj didn't disabled it, but only stopped it...)

Revisions and Commits

Event Timeline

dereckson raised the priority of this task from Normal to High.Jan 23 2017, 11:20
dereckson moved this task from Backlog to Next on the User-Dereckson board.
dereckson added a revision: Restricted Differential Revision.Jan 23 2017, 11:35
dereckson added a revision: Restricted Differential Revision.Jan 23 2017, 12:09

/etc/jail.conf has been populated 2017-10-27.

/usr/local/etc/ezjail has been deleted today.

Last reboot seems to be *before* this change, so we'll need to be cautious at next reboot:

Ysul
$ uptime
12:15PM  up 90 days,  8:03, 32 users, load averages: 0.22, 0.35, 0.51                                                                                  
$ jls                                                                                                                                  JID  IP Address      Hostname                      Path 
     1  212.83.187.132  ftp.nasqueron.org             /usr/local/jails/ftp.nasqueron.org
     2  212.83.187.132  mumble.nasqueron.org          /usr/local/jails/mumble.nasqueron.org