Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2009 00:20:54 +0200
From:      Ed Schouten <ed@80386.nl>
To:        FreeBSD Arch <arch@freebsd.org>
Subject:   Setting the jail identifier from /etc/rc.conf
Message-ID:  <20091021222054.GJ1293@hoeg.nl>

next in thread | raw e-mail | index | archive | help

--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 <ed@80386.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091021222054.GJ1293>