From nobody Fri Feb 4 11:23:42 2022 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F09E919AE72F; Fri, 4 Feb 2022 11:23:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqtTL1ppkz3p2x; Fri, 4 Feb 2022 11:23:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=aOo3I5b4Jxf6HQcfzufQ32ECteOFZJEIyr5+H0gjUuc=; b=IvErUPwZRpBDdAVPi/e+Ycvjdb0y5CW+ml69+OQbh1oDqYaVHXB4lRs5OKkCyDN1zOGdm9DAVHpUr9r7CYo4urL43xcmSUiKMWY2MyAqfG+4ZUP0e747X3v8nT950NrE3O6WX9Y0wcrWvAVXp79GcFoV+NBop3NVf9oA2a4kAaEjl1jitPu9DHqttzWUAAFHwGhYqm2FSc54gjTSefhzu78C2072gytB5+Dnwv9kP87TKRk1n2C7eP/Tpxrwaw/vwTiKhw/CUdgZUDKpsCNj0Ev0wgb1b2/e7rJOhCAJOMLCX6smjt0AXD5rMiFSdesV18lA1kiXdXpLII4bwi6QXg==; Received: from imac.bk.cs.huji.ac.il ([132.65.179.42] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1nFwgo-000Il2-CO; Fri, 04 Feb 2022 13:23:42 +0200 Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: rc.d/zpool should require (rw) root? From: Daniel Braniss In-Reply-To: <556a2f46-9dac-e0bc-10a7-d81bf7c99f5a@FreeBSD.org> Date: Fri, 4 Feb 2022 13:23:42 +0200 Cc: freebsd-fs , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <2904FD1B-456C-41A0-B097-52C0EEC711E7@cs.huji.ac.il> References: <556a2f46-9dac-e0bc-10a7-d81bf7c99f5a@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Rspamd-Queue-Id: 4JqtTL1ppkz3p2x X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=IvErUPwZ; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-1.98 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FREEFALL_USER(0.00)[danny]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.88)[-0.877]; NEURAL_HAM_MEDIUM(-0.81)[-0.814]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; NEURAL_HAM_SHORT(-0.99)[-0.985]; MLMMJ_DEST(0.00)[fs,current]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/15, country:IL]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 4 Feb 2022, at 12:07, Andriy Gapon wrote: >=20 >=20 > It seems that in some cases zpool import -c requires read/write access = to the zpool.cache file. So, it probably makes sense to import "other" = pools (non-root) after upgrading / to rw. > What do you think? >=20 what if root is ro? i.e: diskless? danny > --=20 > Andriy Gapon >=20