[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Can't use jailname in jls/jexec

On Wed, 26 Jun 2013, fireglow wrote:

What could be the problem here?

Use the convenience construct

ezjail-admin console hostname

Notice the subtle difference between host names and jail names. Jail names have become more important with the recent move to the new jail(8) command and are used to identify a jail, however there are problems like the failure to include '.' in possible jail names.

ezjail has for long used the host name as a handle for jails, deriving a jail name from it by replacing all inappropriate chars by '_'.

However, the jail name is not set by the rc.d/jail script ezjail uses and that means, that ezjails are not directly accessible by the native jail commands.