From nobody Sun Jul 31 18:29:11 2022 X-Original-To: rc@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 4LwqXS5gTQz4Xykh for ; Sun, 31 Jul 2022 18:29:12 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LwqXS3zpVz3CZb for ; Sun, 31 Jul 2022 18:29:12 +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 4LwqXS2mzsz12tw for ; Sun, 31 Jul 2022 18:29:12 +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 26VITCEx014259 for ; Sun, 31 Jul 2022 18:29:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26VITCc9014258 for rc@FreeBSD.org; Sun, 31 Jul 2022 18:29:12 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: rc@FreeBSD.org Subject: [Bug 265221] /etc/rc.d/zfskeys breaks when /usr is encrypted Date: Sun, 31 Jul 2022 18:29:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ltning-freebsd@anduin.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659292152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DMELObTZ6mhdpF6zN3Ez9uUScSAb2XxcPgeIJLXawgs=; b=nhFSM9zu1riNuabfDri4tuNDG6i6MpWCX9cU1xD7L+pGop5XmY4NofLKUUNpQLqYzG5RGX 2hL9izAzKn6MJZWdM7kfDWoa5eBoVo+uEQW2H6g41eZEiFAvX4EBi0fVaRrWkmkpNFbpYH 4HkYEbT3RrDeNT+7L1nNVzKnNtcyPX+KfmIO5RRNg5vGsr/heairmF7bM6T+KCFyvwRDgn eFxLe+Rl2L3v7lgXgIwOjF0pOoVvDVG4h5Ho7XeHRgSfq07O/39V1Eu+5cvKoCLPbVg/F5 bXGrIL8AuI333lvWBBtr4uT/z6MMgODzpOaupCQqmKsrTMub2oXEd7tNiJ30Mw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659292152; a=rsa-sha256; cv=none; b=xvBldD6pLpGUiNJQe4VFMIFjqE0/9rpyubUGiFsr/e4nTkACd3zM45jtoTMurinGo1Vzkn E/fIlTQjDhTBH4soznRawkGOdmDbrIf0s5xOxiW15++/RgREmOdA3BT+yXo9UAGnePFYdZ o5XCVY9NKkdkyx1Rcx5LlFhNUyZlVjXGJmbnFnZi9l9tjABXYYK6lq/inXX50DdnvN/jGY JdKEocYN6h4VWBiNhXs3VzbREnLvtmgvUMN4yIDBh8YGyMuUlzOe/nuq3YRPIs4eoIFNEx NYewnoVFBu4CFk77NjLjL5Oe2aJqVx+NajPKJcdcqStsaP1jztfewgDvOCkc/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265221 Eirik Oeverby changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ltning-freebsd@anduin.net --- Comment #1 from Eirik Oeverby --- Hi, I'm the original author of this script. Timeout is used there in order to no lock up the boot if key loading is held up by a request for keyboard input = or some other unexpected reason. Possible solutions I can think of include - check existence of /usr/sbin/timeout and use it only if found - assume zfs load-key will always return on its own (don't use timeout at a= ll) Wihout knowing all possible use cases (as I obviously did not, sorry!) I'm = not sure what the better way forward is. Would you have an opinion on this? /Eirik --=20 You are receiving this mail because: You are the assignee for the bug.=