From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51F78C433B4 for ; Sun, 9 May 2021 15:16:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30DD961059 for ; Sun, 9 May 2021 15:16:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbhEIPRE (ORCPT ); Sun, 9 May 2021 11:17:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbhEIPRE (ORCPT ); Sun, 9 May 2021 11:17:04 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 980E2C061573; Sun, 9 May 2021 08:16:00 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id r11so955745edt.13; Sun, 09 May 2021 08:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=aJpJIcXCzWu61l0m/xqY2AIdzna871+EaXDpRitckHw=; b=bLROLJF/frefzkRd6UVNwteq71PqNc5gANb/FrHPkC4sDVGligolJjrEbiLMyq0qXc Ji0/utSKQbTW21/c4+ACg+NnauDABsy/5Xeyns1Q6ArwSXWkR2CEfc5EOZWGzJIVacew 8VtfIpwN8AFHHPdjYjCrxMBl0fGXnaYLvT9Epc8tdsjAewuLOeM61iRKcUGLGC06d5Qa Sg4W54Upwn7pL4mKyvlYRMn3fbC5JXfW4W8COwK+egp09lOhfh0aV/Z3snnChaiCeMql 2KU1Th38MQ8eCXy9yt2yCf2uLKflcxCFSlH7Jp5eKcKqg376qy0YfxCrEASmbUAnX5oY iTiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=aJpJIcXCzWu61l0m/xqY2AIdzna871+EaXDpRitckHw=; b=lSLVTbjM5FaMB+oH4L2h8sIWrA/NRi77JyiX+jOuCXxDdhGA1cNQj+UVX38TkzKOIe xORDoh56Qj2MD3tNLjREQlm7vGLx43G/3oRhl4E3PYfRD3lU7UpE1ZGF8LNsCJMZiffl 0HejY1JqI7XPjOJOF4l0nxz+UKjMJxVcDYZ3P7iuqX/qkg1lK9CoNJM22fCGz0VtVHYA EVLWyOII5H+ptA66Mb/4eBGkuCrqCuOiHJ99F3uDja7ILS5OWd2sdALaQlqRZMXkjToz mhArItVpM0PhCVutz/I3mKhKt3PGZUoHhgi7efeBWd98nyP2dVYjB9YNtaTrqgI4JOsG 6QRQ== X-Gm-Message-State: AOAM5336xnaqgCMxqmM41RNMyC2wlYg3VyLTh+WL7DfhJakBmXbcORnh gIiwydH4YJ2EAXSmcJlZgHs= X-Google-Smtp-Source: ABdhPJxzZJ8Ylek5+AJ7tZJFhfzskNDNJxeExgadKQI39Og3zK2xJyDlajxJ3vhv6E8hyPootjzkAQ== X-Received: by 2002:aa7:cd50:: with SMTP id v16mr25666355edw.175.1620573359244; Sun, 09 May 2021 08:15:59 -0700 (PDT) Received: from gmail.com (0526E777.dsl.pool.telekom.hu. [5.38.231.119]) by smtp.gmail.com with ESMTPSA id c8sm8813412edy.63.2021.05.09.08.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 08:15:58 -0700 (PDT) Sender: Ingo Molnar Date: Sun, 9 May 2021 17:15:56 +0200 From: Ingo Molnar To: David Howells Cc: Valdis =?utf-8?Q?Kl=C4=93tnieks?= , David Woodhouse , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: 'make O=' indigestion with module signing Message-ID: <20210509151556.GA842014@gmail.com> References: <134696.1615510534@turing-police> <109018.1615463088@turing-police> <91190.1615444370@turing-police> <972381.1615459754@warthog.procyon.org.uk> <1486567.1615464259@warthog.procyon.org.uk> <2026575.1615539696@warthog.procyon.org.uk> <20210509151112.GA839293@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210509151112.GA839293@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > > * David Howells wrote: > > > Valdis Klētnieks wrote: > > > > > So the root cause was: 'make mrproper doesn't clean certs/' out enough, > > > and this chunk of certs/Makefile > > > ... > > > I admit not being sure how (or if) this should be fixed > > > > It's tricky because CONFIG_MODULE_SIG_KEY may not point to a file, let alone a > > file that was autogenerated - it can be given a PKCS#11 URI, for instance. I > > had to put in the autogeneration based on a magic config string value to stop > > randconfig blowing up - but it only does the autogeneration if you don't put > > in your own file there before building. > > > > Possibly I can add something like: > > > > clean-files := signing_key.pem x509.genkey > > > > inside the > > > > ifeq ($(CONFIG_MODULE_SIG_KEY),"certs/signing_key.pem") > > ... > > endif > > > > section. > > Note that this bug is now upstream in Linus's tree and has broken > the deb-pkg distro kernel build method. > > Would be nice to make 'make mrproper' work again. Correction - there appears to be something else going on, but the error messages are similar: At main.c:291: - SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69 - SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76 sign-file: debian/linux-image/lib/modules/5.12.0-custom/kernel/arch/x86/crypto/aegis128-aesni.ko: No such file or directory At main.c:291: The error messages look pretty obscure to me. :-/ Thanks, Ingo