Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 10:09:47 GMT
From:      Oleg Ginzburg <olevole@olevole.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/183986: zfs jail allow delegate fs to jail twice
Message-ID:  <201311151009.rAFA9lE4065188@oldred.freebsd.org>
Resent-Message-ID: <201311151010.rAFAA0Y8019167@freefall.freebsd.org>

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

>Number:         183986
>Category:       bin
>Synopsis:       zfs jail allow delegate fs to jail twice
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 15 10:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        10.0 BETA3
>Organization:
>Environment:
FreeBSD s13.my.domain 10.0-BETA3 FreeBSD 10.0-BETA3 #5 r257946: Mon Nov 11 09:11:38 UTC 2013     root@s13.my.domain:/usr/jails/src/obj_amd64_10/usr/jails/src/src_10/src/sys/GENERIC.CBSD  amd64
>Description:
zfs jail allow delegate fs to jail twice, (by name and/or jid) although after the second sets should be warning:

cannot jail 'XXX': dataset already exists


>How-To-Repeat:
% jls -h jid name path
jid name path
1 jail1 /usr/jails/jails/jail1
2 jail2 /usr/jails/jails/jail2

% zfs jail 1 zroot/j1dt
% zfs jail jail2 zroot/j1dt
% zfs jail 1 zroot/j1dt
cannot jail 'zroot/j1dt': dataset already exists

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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