Setting the jail identifier from /etc/rc.conf

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Oct 21 22:54:31 UTC 2009


On Thu, 22 Oct 2009, Ed Schouten wrote:

> Hi,
>
> I haven't played with Jails for a long time, but I wanted to figure out
> how hard it is to make init spawn getties for certain jails. It
> shouldn't be too hard (jexec foo /usr/libexec/getty), but I can't seem
> to find a way to set the jid to a certain value from within rc.conf.
>
> It also seems jids cannot contain dots, which means I cannot set the jid
> equal to the hostname of the jail.
>
> Maybe a Jail hacker can give me some advice here? Wouldn't it be more
> sane if the kernel just used the hostname as an identifier if there is
> no jail with the same hostname yet? Or maybe we should at least provide
> a config tunable for this?

Redirect to freebsd-jail@  ; you may even find the answers to those
int he mail archive (unless those had been private threads I was on
Cc: on;-)


-- 
Bjoern A. Zeeb         It will not break if you know what you are doing.


More information about the freebsd-arch mailing list