Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2012 18:18:30 +0100
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        FreeBSD-Jail <freebsd-jail@freebsd.org>
Subject:   jail name is interpreted as jid when numeric
Message-ID:  <4F6B5EE6.8080006@gmx.com>

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

I found this somehow strange behavior and I am reporting it
just to hear your opinions.

> lab# jail -c name=asd persist
> lab# jail -c name=asd.asd persist

asd is interpreted as jail asd.asd

> lab# jail -c name=asd.asd.1 persist
> jail: jail 1 already exists

1 is interpreted as jail 1

This has to do with the fact that a numeric name is interpreted as jid
and this breaks the dot-seperated hierarchical jails concept.
I find this behavior somehow strange. Is it intended or it's bug?

Thanks for your insights, Nikos




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