From nobody Fri Feb 4 11:41:10 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 9D52419B93FD; Fri, 4 Feb 2022 11:41:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqtsP3XV5z3wRs; Fri, 4 Feb 2022 11:41:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643974873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LFW4DI2LNPdUeC7AlQYVg9GrAMGH3IpZfRR4ATyn6PQ=; b=maTOxTTmeEs7q0NUfASeKnZTNck/qxeIiT/ssaNYjWlz0u0Q077EH4wrXuuHzZYbdheIHd Ax//CW79W8k5WJRnzPrVobsGMSGWHQ0k4sRSn6AVrL8Y7dH5Sv8pWR3rB929BkhqTG9L0M mJ3eMP2V5/K0/uSFo18Nt252svlI/6jYU80quc4Y0DrRLdobaktcj8lHIN/NxtAFVDUSkp /uRDZbWoMnpNV3KMjIKmeRdnlLeU0+kuGnjphX7NaGhfb6UdxnNIgcEK+SJcxbTR158HFs 04PMHYBYzcT8WayWh53bwLk7bbbTKoW7Z0TFFq8oJ7OFSrVr0MT/cd9u70Gdbw== Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D9B9730568; Fri, 4 Feb 2022 11:41:12 +0000 (UTC) (envelope-from avg@FreeBSD.org) Message-ID: Date: Fri, 4 Feb 2022 13:41:10 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.1 From: Andriy Gapon Subject: Re: rc.d/zpool should require (rw) root? Content-Language: en-US To: Daniel Braniss Cc: freebsd-fs , FreeBSD Current References: <556a2f46-9dac-e0bc-10a7-d81bf7c99f5a@FreeBSD.org> <2904FD1B-456C-41A0-B097-52C0EEC711E7@cs.huji.ac.il> In-Reply-To: <2904FD1B-456C-41A0-B097-52C0EEC711E7@cs.huji.ac.il> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643974873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LFW4DI2LNPdUeC7AlQYVg9GrAMGH3IpZfRR4ATyn6PQ=; b=SXk75aLowLvJze0uVdzQE0u8Fc7C9lmeEGfQAmg5mP+6xjmMbE/RyIX4ofjJczj8dv/mdv 8w21XujaXeyuQeS/uKa7Slwwm45/5mGZM0w8S1foeYQW112sLKNyn0VZa62wnXAntOQsEx 6iFdw4BLQtve240CDEUVW5NThsaU7Hd+D+OI3AahrbqHTbDMP8QuaZremX9J9OKIXjmh7Z keg+4YDaJLN8ut355mXtB7uEha/mryFka8uz/BjH51CT7fk2U5acbOYbTNYXYu8azXdEiZ Zrhv5dobMvnMwVevczTcCF2cg/h1E9sPXTJecwUm4wMqeUuKbAYxderXhtzORA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643974873; a=rsa-sha256; cv=none; b=RlJ09uGu0IM6HgZWF17QxQSfat6s1rHXkK/isSPlc2+4JzEIcXc/xSelwDGFXNeS9nToGR /L/qIi0xniGlZtr9tktP4stRIngmoHYFWn2m/xzs4Ert/Bs1//1HY0PXB9NyL8zec1A5VY +gETFJGWPXMMCh26TlXtlxMNRfyR7YPDTW5zhjgcTfDOvlb8FtEQ1E1hVFXl6ffT6xAKoE tS1bm7B7ZMa0ndXBGRni+kAJLJwfKfULXAAta8PHxhqZUCOUgRUiKz45b8XtVYyRx/jEgR uVZfQxKN3AG6/6AJMKpdIpQtX7Qr4Ly+l/1BGGP4qP8XgJHpW368zmHHcdJI7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 04/02/2022 13:23, Daniel Braniss wrote: > > >> On 4 Feb 2022, at 12:07, Andriy Gapon wrote: >> >> >> 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? >> > > what if root is ro? i.e: diskless? Then nothing changes. rc.d/root would leave / alone. -- Andriy Gapon