cvs commit: src/usr.sbin/jexec jexec.8 jexec.c
Edwin Groothuis
edwin at mavetju.org
Thu May 29 14:49:38 UTC 2008
On Thu, May 29, 2008 at 04:16:49PM +0200, Oliver Fromme wrote:
> Bjoern A. Zeeb wrote:
> > On Thu, 29 May 2008, Oliver Fromme wrote:
> > > I think that an admin who decides to use jexec with IP
> > > numbers or hostnames should be expected to be aware that
> > > there can be ambiguities, and that he should make sure
> > > that his IP numbers and/or hostnames are unique.
> >
> > I think that's a bad policy but ...
>
> As it currently stands, the hostname is a pretty good
> property to identify a jail. If the admin can guarantee
> that they're unique, it works very well.
I can, but can FreeBSD?
[~] root at field>jls
JID IP Address Hostname Path
21 202.83.176.10 mail1.barnet.com.au /usr/jails/mail1.barnet.com.au
19 202.83.178.78 mail5.barnet.com.au /usr/jails/mail5.barnet.com.au
18 202.83.178.80 dbmail1.barnet.com.au /usr/jails/dbmail1.barnet.com.au
16 202.83.178.77 ldap1.barnet.com.au /usr/jails/ldap1.barnet.com.au
15 202.83.176.13 mail2.barnet.com.au /usr/jails/mail2.barnet.com.au
14 202.83.178.78 mail5.barnet.com.au /usr/jails/mail5.barnet.com.au
13 202.83.178.83 ports /usr/jails/ports
11 202.83.178.78 mail5.barnet.com.au /usr/jails/mail5.barnet.com.au
Spot the three jails with 202.83.178.78... All caused by stopping
and starting of the jail.
Mind you, this is on a 6.3 machine which could have an unresolved
issue with regarding to these ghost jails.
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://www.mavetju.org/weblog/
More information about the cvs-src
mailing list