Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp292150pxf; Thu, 11 Mar 2021 04:08:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwynniO6sAF/I5Nz+Z10rmZX+OCdt1zd6ULFhmDZoKB2SwB7OqDMTrbymOCNi7mE0J3kzcs X-Received: by 2002:a17:906:4117:: with SMTP id j23mr2868364ejk.10.1615464524377; Thu, 11 Mar 2021 04:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615464524; cv=none; d=google.com; s=arc-20160816; b=xWuLaTGRxsn/2gXz60mJ4ysi3LDYzl74zK+uGkgmulRp6MiBiyaokFfDKoBdKz6C5k sen6J+sYCfYycm6TGNfSNq8Wu/Fpc2mNvFyoDflUkSEVTJoWKEUSpwzvbKKYOCbvvkaT BdGUzRSuO7nxfbyXz1/Af3Guo9RJldV8SO7keMcZDf6raNyUfj80g3Doip/CY+CPkIKT Ctdqt6b06K71S5V9bbxwemrL8gcj+Imqth3VmtOIncjnVMraVyF7GdTS1f+gNjGxFTSo uHm/2qy5/EzCLOjIBwbxa68RrHFCkdZw81LcX3AiRpLWTwBYzKfmubiQKn2OKimsFXKf txXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :mime-version:subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=j9DCFxw7/igOd3LmB1G3n774oKnzGKLPLaO6vlSHqIc=; b=Rg1SXODghYbRGP8Y5idL0sCyQx/BE5QBKQi/sFj2hRmXMnAlV8BWCwKWlL0346Kxy/ Ff8DffbD77jzYcfEUfrHswFLuB2LFxlSlIOCq5oHHsxUEEt+6rKeoCZsx7lFfztUr89c bhL0XDzM7DNOvk19uJpwjndLtvOjrpy33bG6p/FbG99HXhnYlECeU7SO0KJcnwk6hvqe mlBE1MqkstOxrsvtsibcTVorWSMH+4vvgGvWjXKga1/AaK4XSIXdcODQN3boGb8ad89+ J021tFz4kj/9VwKgqKYp8pxtYfHAmG5CkOamyt4ZyiLSoIWuuYnV1hUxA0ovntOaHJJZ 0WCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hZPDDTf8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si1755952edx.282.2021.03.11.04.08.20; Thu, 11 Mar 2021 04:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hZPDDTf8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232964AbhCKME5 (ORCPT + 99 others); Thu, 11 Mar 2021 07:04:57 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27629 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232952AbhCKME0 (ORCPT ); Thu, 11 Mar 2021 07:04:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615464265; 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=j9DCFxw7/igOd3LmB1G3n774oKnzGKLPLaO6vlSHqIc=; b=hZPDDTf8e5lgRHpBy7kfJ5Uo4nF9M0dfXJqnJaNfmQTIt9M9xdzqyArAcMrGL+fF10Bz+6 ugdPdbbImxVm+Dp111Eg3odlf1Xwzfc141nrXyIHWhkTRx30w7bUur3gsJf0ese7kn9xpL kkAe7oGw5JGRSzqfO1y3YGceP+wbs5E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-395-2BgAgTuANqW8QLsufTZAzw-1; Thu, 11 Mar 2021 07:04:23 -0500 X-MC-Unique: 2BgAgTuANqW8QLsufTZAzw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B384C1005E6C; Thu, 11 Mar 2021 12:04:21 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-118-152.rdu2.redhat.com [10.10.118.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id ADF4E196E3; Thu, 11 Mar 2021 12:04:20 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <109018.1615463088@turing-police> References: <109018.1615463088@turing-police> <91190.1615444370@turing-police> <972381.1615459754@warthog.procyon.org.uk> To: =?us-ascii?Q?Valdis_Kl=3D=3Futf-8=3FQ=3F=3Dc4=3D93=3F=3Dtnieks?= Cc: dhowells@redhat.com, David Woodhouse , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: 'make O=' indigestion with module signing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 11 Mar 2021 12:04:19 +0000 Message-ID: <1486567.1615464259@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Valdis Kl=C4=93tnieks wrote: > So there's something weird going on with scripts/extract-cert when running > as a userid other than the owner of the source tree.. I wonder if it's > actually an OpenSSL issue... I cloned next-20210311 as one user then built it as another user using: LANG=3DC nice -19 make O=3D/data/git/next-20210311-build -j8 allmodconfig LANG=3DC nice -19 make O=3D/data/git/next-20210311-build -j8 It built with no problems. The building user definitely can't create/modify files in the source directory. Interestingly, the following line in the output from mine: EXTRACT_CERTS certs/signing_key.pem doesn't show the full path as it does in yours: EXTRACT_CERTS /usr/src/linux-next/"certs/signing_key.pem" but I don't know why. There are some odd quotes in your line also which may be related to the problem. The relevant config line looks the same: CONFIG_MODULE_SIG_KEY=3D"certs/signing_key.pem" I'll have to try with the aarch64 build, see if it's something in that that= 's the problem. David