From owner-freebsd-arch@FreeBSD.ORG Wed Oct 21 22:20:45 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 AD3F1106566B for ; Wed, 21 Oct 2009 22:20:45 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 556818FC18 for ; Wed, 21 Oct 2009 22:20:45 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 93C981CC4F; Thu, 22 Oct 2009 00:20:54 +0200 (CEST) Date: Thu, 22 Oct 2009 00:20:54 +0200 From: Ed Schouten To: FreeBSD Arch Message-ID: <20091021222054.GJ1293@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GmiNL4+5WUWrod5m" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Setting the jail identifier from /etc/rc.conf X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:20:45 -0000 --GmiNL4+5WUWrod5m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? --=20 Ed Schouten WWW: http://80386.nl/ --GmiNL4+5WUWrod5m Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkrfiUYACgkQ52SDGA2eCwXZkACeLifdSinZSzo2uY/qWN7YHxjw 6yUAn2W6QWZrCqa/8YXNcehNIAr+w4uD =NUt8 -----END PGP SIGNATURE----- --GmiNL4+5WUWrod5m--