From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qFH6OIH+OWI6swAAgWs5BA (envelope-from ) for ; Tue, 22 Mar 2022 17:51:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UJNBNYH+OWKSIAEAauVa8A (envelope-from ) for ; Tue, 22 Mar 2022 17:51:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 67D991C4BB for ; Tue, 22 Mar 2022 17:51:13 +0100 (CET) Received: from localhost ([::1]:46188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWhiy-0001o5-4S for larch@yhetil.org; Tue, 22 Mar 2022 12:51:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWhio-0001mC-CV for guix-patches@gnu.org; Tue, 22 Mar 2022 12:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWhio-0005Fb-2d for guix-patches@gnu.org; Tue, 22 Mar 2022 12:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWhio-0004hr-1j for guix-patches@gnu.org; Tue, 22 Mar 2022 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54309] What is the process from here? Resent-From: fesoj000 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Mar 2022 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , Liliana Marie Prikler , 54309@debbugs.gnu.org Received: via spool by 54309-submit@debbugs.gnu.org id=B54309.164796782318042 (code B ref 54309); Tue, 22 Mar 2022 16:51:02 +0000 Received: (at 54309) by debbugs.gnu.org; 22 Mar 2022 16:50:23 +0000 Received: from localhost ([127.0.0.1]:41729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWhiB-0004gw-HI for submit@debbugs.gnu.org; Tue, 22 Mar 2022 12:50:23 -0400 Received: from mail-ed1-f41.google.com ([209.85.208.41]:41884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWhiA-0004gj-AI for 54309@debbugs.gnu.org; Tue, 22 Mar 2022 12:50:22 -0400 Received: by mail-ed1-f41.google.com with SMTP id x34so21234276ede.8 for <54309@debbugs.gnu.org>; Tue, 22 Mar 2022 09:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=+7hmXTTwRllEV4RrbQapTvDzu+v1B/AI1USyN5pWN3U=; b=B/B7NaN2MvfayJUkx3jMHOtQ3ll5qgjWqPY2wqIt/ZbSzgGw1t59SOuaZmtoPVlukZ nf/TOab3L0+qi89J+YwwP03PEa5+JcKOT7Pnyjt4CI9BSf9nkb6k5Hyo3FMWVZDvEqm4 PpsnW18eihDaLJWpK2ADTAt+fDcxmh9Duh9g/eEmx+mC38BlqMkz6opeJ794DTCgPzbZ Lrcp9b9qN+cGYmHbuzgtvpl7SmRFyZEVANz0r428/nhmkj2YG7wM2AdrZ8RGSvkw5syE jM91KAREYiSBKv5CD8mQr6Dud9bUB4VinICWNp26G/IbXgjrWBUb+YNRw7e8tOtjk9oZ aJEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=+7hmXTTwRllEV4RrbQapTvDzu+v1B/AI1USyN5pWN3U=; b=VGZVQpEBswDjCN2WS2gGauzbWofe9lLe630u52aC0f7RLpsHePg5YYJ6vIETW9S+Oj sa9eLj8xQekSSWCSEM5G5SwnMbqEzcN/QxkfmL87QrDJmY6RMVCbuhxYMlJrtVIB5z2x 4oZ5qjPMUlduR4rIGi0wkHMd0PvoW/d48IjmTR+8jvDbTHnlVS+ol30aP4+KBJbf3uyU Ka80jbSea9xqjV4Q9kCUP7rg5gANMgFY8/cH02GMzwojqfL5hckK+9ux6+0AWAsDzaTL b5uo4BqInpSvlIjLIhRhURRdV4nHfvzSd+xrtkiv5+nHGU7waeyH4XwAY6pfCgUgpRcR mF9w== X-Gm-Message-State: AOAM531pDJXtabwcF1OPCNOam0IsfMTipBAIunKKxWaGnVXrrkS6Tto2 WNt+B+kI1/4gqo3rTW0OppM= X-Google-Smtp-Source: ABdhPJx2I9twBWVWfAf7odLjTCEiNY+jM1xuQ+PFdtUtFcBgwJ+4kbabUkS91Rcvldax2o9UXPmcgg== X-Received: by 2002:a05:6402:4414:b0:419:28bc:55dc with SMTP id y20-20020a056402441400b0041928bc55dcmr16796550eda.130.1647967816139; Tue, 22 Mar 2022 09:50:16 -0700 (PDT) Received: from ?IPV6:2003:ee:af2f:e00:c2f9:c2bb:bf95:1fc5? (p200300eeaf2f0e00c2f9c2bbbf951fc5.dip0.t-ipconnect.de. [2003:ee:af2f:e00:c2f9:c2bb:bf95:1fc5]) by smtp.gmail.com with ESMTPSA id n13-20020a170906724d00b006cedd6d7e24sm8662754ejk.119.2022.03.22.09.50.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Mar 2022 09:50:15 -0700 (PDT) Message-ID: <9f1cfbac-652f-ea32-d3fc-b730534ff666@gmail.com> Date: Tue, 22 Mar 2022 17:50:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US References: <8640c4e7b1a46e76ea4df8c21a290d1aa72de0d8.camel@gmail.com> <87f117ba35bb40fe063d5cd0bee61039a5f9801e.camel@gmail.com> From: fesoj000 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647967873; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+7hmXTTwRllEV4RrbQapTvDzu+v1B/AI1USyN5pWN3U=; b=FVILYCR3XcYAdtoBxIH52Aer1G36xplBst7L7RKS3vFjDXJ65ask/9cF46dfuflr9KLEYm IJOB0I26B7ttT3fpl9EgNYA74gL1eBGhJDkDjqjpFUH8M2ljk6yrjXBPs7GwnHbTRYiyVN Dwd50kJKjjdS/hF4DVMcC//5WCS1HZTmpYBNIP9VviIS/a8jJNTI7bZV7MLroSgsBl2TxJ W9ZKtoXKm9zFFonx3sU4eaxi73Z/w6hQIgrOwZSTZRP5gUCYj9EmCU4iNTNbH9vE/DiZlb pzNJuhOQH+oVvpaDXPco7fUmfwNO935lsKdOC9j1p1OnemnIEPSTFsp3SmbyQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647967873; a=rsa-sha256; cv=none; b=W2dx0SASXqZiK1uXE2YyNR1d1FPiaZ8nZ/zpg5d1Ghwlbjwg4M2kj+kwX0ZWBgktSA/av0 QZFPTp4C7hYhgoL82R9fCP41c3j2iRp0fIgYxPJlxuWzyh02fcuwXxC9P03pF+EEZdStxY mJcoSORNAT9b0QAjsg/lgXBXYm5nw13guBL5CRjawL6AMO63trWuS4Upt3e60ApcEXOtOr r/BdgvoABmnYUVAfN1g38nk/Pwp/GN3sBox8plfTmHBhrk3IFpKfzBiAjXsVSQCifZXWnG 4fOvjmcsYezWf6zCMi2/w93XYplOfjvBvNHTxdrp8zNjtaEIk+AJ6OfiVqQZFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="B/B7NaN2"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="B/B7NaN2"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 67D991C4BB X-Spam-Score: 5.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: ouP39XvH8erg On 3/20/22 12:09 AM, Maxime Devos wrote: > Liliana Marie Prikler schreef op vr 18-03-2022 om 23:36 [+0100]: >>> +(define (auditd-activation config) >>> +  (with-imported-modules '((guix build utils)) >>> +    #~(begin >>> +        (use-modules (guix build utils)) >>> +        (let ((var-log-audit "/var/log/audit")) >>> +          (umask #o077) >>> +          (mkdir-p var-log-audit))))) >>> + >> This would also apply umask 077 to /var and /var/log if those don't >> already exist.  More importantly, code executed after that will also >> inherit the umask, which I don't think is the intended consequence. > > More concretely, the procedure 'mkdir-p/perms' would address the umask > issue, but not the potential ‘oops too restrictive permissions for /var > and /var/log' issue. Ok, i can assume that a future version of 'mkdir-p/perms' will handle the umask. Should the activation now handle potential permission problems from past activations and auditd starts? Can you try to explain in more detail please? BR