cvs commit: src/usr.sbin/jexec jexec.8 jexec.c
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 18.104.22.168 mail1.barnet.com.au /usr/jails/mail1.barnet.com.au
19 22.214.171.124 mail5.barnet.com.au /usr/jails/mail5.barnet.com.au
18 126.96.36.199 dbmail1.barnet.com.au /usr/jails/dbmail1.barnet.com.au
16 188.8.131.52 ldap1.barnet.com.au /usr/jails/ldap1.barnet.com.au
15 184.108.40.206 mail2.barnet.com.au /usr/jails/mail2.barnet.com.au
14 220.127.116.11 mail5.barnet.com.au /usr/jails/mail5.barnet.com.au
13 18.104.22.168 ports /usr/jails/ports
11 22.214.171.124 mail5.barnet.com.au /usr/jails/mail5.barnet.com.au
Spot the three jails with 126.96.36.199... 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 Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://www.mavetju.org/weblog/
More information about the cvs-src