From owner-freebsd-bugs@freebsd.org Sat Aug 29 01:25:21 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A15BF3C9B81 for ; Sat, 29 Aug 2020 01:25:21 +0000 (UTC) (envelope-from info@otovarah.ru) Received: from lytkarino.info (www.lytkarino.info [88.84.193.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bdf0c4ZZWz3VHV for ; Sat, 29 Aug 2020 01:25:20 +0000 (UTC) (envelope-from info@otovarah.ru) Received: from localhost (localhost [127.0.0.1]) by lytkarino.info (Postfix) with ESMTP id BAA2527CD04B for ; Sat, 29 Aug 2020 04:11:29 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=otovarah.ru; s=mail; t=1598663489; bh=BlUPqlgcmoGirYqaK/snhy8bw3Qf1Ghu8Y9EcC0NNeU=; h=To:Subject:From:Date:Reply-To:From; b=IbTRsumKPl4splDGVXpN5gMy1zKojAB8Th1XUi8uUDnqGoSbFjMe7xOqxNqsiLxNo 4zJuEBbWGms9CMvLNWQyZhBPMqCfXxmtLNx+rMkALj2VpZE8yYrWcMqSVzFgelGdzH wGeP7CcDgIaxyWP1Z4GH/dEjoTxweww9Sje6AVlU= X-Virus-Scanned: Debian amavisd-new at lytkarino.info Received: from lytkarino.info ([127.0.0.1]) by localhost (lytkarino.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m5ftET-oaDJP for ; Sat, 29 Aug 2020 04:11:28 +0300 (MSK) Received: by lytkarino.info (Postfix, from userid 5011) id E74D127DA346; Sat, 29 Aug 2020 00:48:28 +0300 (MSK) To: freebsd-bugs@freebsd.org Subject: =?UTF-8?B?0J7Qv9C+0LLQtdGJ0LXQvdC40LUg4oSWIDcyIDg1M8KgwqDQviDQtNC10L3QtdC20L3QvtC5INCy0YvQv9C70LDRgtC1Lg==?= X-PHP-Originating-Script: 5011:Php.php MIME-Version: 1.0 Auto-Submitted: auto-generated From: =?UTF-8?B?ampkYg==?= Date: Fri, 28 Aug 2020 21:48:28 +0000 Reply-To: =?UTF-8?B?ampkYg==?= <3030.vasil3030@gmail.com> Message-Id: <20200828215919.E74D127DA346@lytkarino.info> X-Rspamd-Queue-Id: 4Bdf0c4ZZWz3VHV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=otovarah.ru header.s=mail header.b=IbTRsumK; dmarc=pass (policy=none) header.from=otovarah.ru; spf=pass (mx1.freebsd.org: domain of info@otovarah.ru designates 88.84.193.98 as permitted sender) smtp.mailfrom=info@otovarah.ru X-Spamd-Result: default: False [1.00 / 15.00]; HAS_REPLYTO(0.00)[3030.vasil3030@gmail.com]; FROM_EXCESS_BASE64(1.50)[]; R_SPF_ALLOW(-0.20)[+ip4:88.84.193.98:c]; REPLYTO_DN_EQ_FROM_DN(0.00)[]; HAS_X_POS(0.00)[]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[otovarah.ru:+]; DMARC_POLICY_ALLOW(-0.50)[otovarah.ru,none]; NEURAL_HAM_SHORT(-0.10)[-0.100]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:50289, ipnet:88.84.193.0/24, country:RU]; REPLYTO_EXCESS_BASE64(1.50)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.938]; R_DKIM_ALLOW(-0.20)[otovarah.ru:s=mail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.964]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-bugs@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MAILMAN_DEST(0.00)[freebsd-bugs] Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 01:25:21 -0000 Оповещение № 72 853  о денежной выплате.   Уведомление для пользователя №72 853 Ваш emeil: freebsd-bugs@freebsd.org Возможная суммы выплаты: Уточнить на сайте.   Для уточнения суммы перейдите  по этой ссылке: https://bit.ly/2Qt5Zhu   ----- Нажмите здесь, чтобы посмотреть нашу политику конфиденциальности: https://www.otovarah.ru/privacy/ Форум отзывов From owner-freebsd-bugs@freebsd.org Sat Aug 29 10:12:08 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE56B3D3BE2 for ; Sat, 29 Aug 2020 10:12:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BdshS4jL2z4G2C for ; Sat, 29 Aug 2020 10:12:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A18F63D3BE1; Sat, 29 Aug 2020 10:12:08 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A15693D3A6B for ; Sat, 29 Aug 2020 10:12:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdshS3qn7z4G5m for ; Sat, 29 Aug 2020 10:12:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 671DF2431E for ; Sat, 29 Aug 2020 10:12:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07TAC8Zj064853 for ; Sat, 29 Aug 2020 10:12:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07TAC8cl064852 for bugs@FreeBSD.org; Sat, 29 Aug 2020 10:12:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 248986] Cannot mount jailed zfs dataset Date: Sat, 29 Aug 2020 10:12:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ltning-freebsd@anduin.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 10:12:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248986 Bug ID: 248986 Summary: Cannot mount jailed zfs dataset Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ltning-freebsd@anduin.net After merging openzfs, our poudriere jail is no longer functional. As part = of the jail startup process, a dataset and its children are jailed (zfs set jailed=3Don ; zfs jail ), after which the datasets are moun= ted inside the jail (zfs mount -a). Under 12.1 and CURRENT prior to the merge, = this worked fine. The datasets relevant to this (seen from jail): # zfs list -o name,mountpoint NAME MOUNTPOINT data /data data/jails /j data/jails/poudriere /j/poudriere data/jails/poudriere/workset /poudriere data/jails/poudriere/workset/data /poudriere/data data/jails/poudriere/workset/data/.m /poudriere/data/.m data/jails/poudriere/workset/data/cache /poudriere/data/cache data/jails/poudriere/workset/data/images /poudriere/data/images data/jails/poudriere/workset/data/logs /poudriere/data/logs data/jails/poudriere/workset/data/packages /poudriere/data/packages data/jails/poudriere/workset/data/wrkdirs /poudriere/data/wrkdirs data/jails/poudriere/workset/jails /poudriere/jails data/jails/poudriere/workset/jails/CURRENT /poudriere/jails/CURRENT The jailed dataset is 'data/jails/poudriere/workset'. Now, a number of issues come up: - 'zfs mount -av' gives=20 # zfs mount -av cannot mount 'data': Insufficient privileges cannot mount 'data/jails': Insufficient privileges It would seem it's trying to mount also the parent datasets. However, at th= is point it seems to stop, not attempting to mount any more datasets and not giving any further errors. - 'zfs mount -v data/jails/poudriere/workset' gives # zfs mount -v data/jails/poudriere/workset cannot mount 'data/jails/poudriere/workset': dataset is exported to a loc= al zone Although the dataset _does_ have jailed=3Don and _is_ jailed in the current= jail. This is confirmed by manually running 'zfs unjail ...' and 'zfs jail ...' f= rom the host. I believe this might be two different bugs, but I'm not qualified to read t= he sources to figure out what's going on. --=20 You are receiving this mail because: You are the assignee for the bug.=