Date: Sun, 31 Mar 2013 20:24:52 -0600 From: Jamie Gritton <jamie@FreeBSD.org> To: Dirk Engling <erdgeist@erdgeist.org> Cc: freebsd-jail@FreeBSD.org Subject: Re: rc.d/jail and jail.conf Message-ID: <5158EFF4.9060604@FreeBSD.org> In-Reply-To: <5158A379.2030702@erdgeist.org> References: <515721F8.9090202@erdgeist.org> <51574D3F.9040300@quip.cz> <51588435.2010400@erdgeist.org> <51589607.7040401@quip.cz> <5158A379.2030702@erdgeist.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/31/13 14:58, Dirk Engling wrote: > On 31.03.13 22:01, Miroslav Lachman wrote: > >>> So I guess, I am out of luck here, because users used to think of their >>> jails as what they saw in the hostname field on jls. If I am writing >>> tools that use jail_getid to map the jailname to the jid, it will never >>> match that hostname and I also can not copy the hostname to the jailname. >> >> I understand what you are talking about, but jails in these days are >> something different from what jails were at the begining in 4.x days and >> users must accept that jailname is something different than hostname. > >> In these days, you can have jails with many IP addresses or without IP >> address. Hostname needn't to be unique etc. >> >> Dot (.) is not allowed in jailname because of hierarchical jails, >> where dot is used as hierarchy separator. > > Humm, this seems a strange thing to answer to my question. Once you see > jails as virtual servers (which I understand is not the only way to do, > but the biased way I and most jail users I talk to happen to deploy them > in huge quantities), the natural approach to name them is via their > hostname. I find it hard to grasp to tell them "don't" ;) > > And still I find the choice of '.' as a separator unfortunate, '/' > springs in mind, but there might have been reasons. It just seemed like the natural thing to do. Possibly inspired by sysctl, but honestly I don't recall. I hadn't considered that jails would be named after the hostname, probably because I'd never done that with my own jails or non-jail virtualization. - Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5158EFF4.9060604>