From owner-freebsd-arch@FreeBSD.ORG Wed Oct 21 22:54:31 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 983131065672 for ; Wed, 21 Oct 2009 22:54:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 531D48FC31 for ; Wed, 21 Oct 2009 22:54:31 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id B5AB841C713; Thu, 22 Oct 2009 00:35:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id IWLFJsWBtkMc; Thu, 22 Oct 2009 00:35:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 6C0D241C72C; Thu, 22 Oct 2009 00:35:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 338A94448E6; Wed, 21 Oct 2009 22:30:17 +0000 (UTC) Date: Wed, 21 Oct 2009 22:30:17 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Ed Schouten In-Reply-To: <20091021222054.GJ1293@hoeg.nl> Message-ID: <20091021222851.O91695@maildrop.int.zabbadoz.net> References: <20091021222054.GJ1293@hoeg.nl> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Arch , freebsd-jail@freebsd.org Subject: Re: Setting the jail identifier from /etc/rc.conf X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-jail@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 22:54:31 -0000 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.