Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp441149pxp; Wed, 16 Mar 2022 08:49:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1/kDW550DcQ2IRlHVsI4U+ElA/hrSdc3Whkn+U9/2W6Tsz4rpZXfSl1aq/R+NM8dOJSiV X-Received: by 2002:a17:907:2d10:b0:6db:e3f7:2cb2 with SMTP id gs16-20020a1709072d1000b006dbe3f72cb2mr468752ejc.491.1647445745567; Wed, 16 Mar 2022 08:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647445745; cv=none; d=google.com; s=arc-20160816; b=0sxkOsGuzfW7Irk/pdXsFaequ6bfT7Et4hYDf94Yj12jTjXpPOHsDxRN+Ewc6znsx3 Y+4zcQUeqpMUz4HxZsn8DhDCe19yGxnRDYpWjvimyL3PUMC9Cgj1a7Ub+rLGVo+POdz2 xqMsLCRmpfObZd0wCzp8p6PtuloLWh56iSs6vK5CiLlbGZdfQ/qJfAA185RAYwQ2Pm4c wW9vUlaM3OzmZ4orFaqMEDmuSRNabQ3WruYY2r24WPlCfYYu8oCrbwCoJRRudnbyE1YJ kmJt1dejmE36UGOgdjgVpXjAqm23BQ/crSe8LGwRPjhVOvVUDoP9OozyIW4NvjpHLCbn XNiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:reply-to:to:from :dkim-signature; bh=vnb3MK8CCLd3E3FaorL8sVDPS8vqtnoGOVIDAskkINo=; b=q/O8XDUiY9ca/pcskC79QiVAYXXq0m9CD2WbOl75I9xIQl5yNeSr/scmdPbEvtz3Sy up1iziMs6G/TGvOyg4L+P4HHCf626aEA0C/4tFo2tIgcDwXDybNKe2AIL7ONgn0Kjd8L T2CGh1TrjPBsI53+9qVw+YiGPp0GAEhnKXPtiP6GSY9DN3OtjYZEM2xpalU6tytVJhKr dVza/kxBMYmWGC67DCXBiZiPHmtv0I0QvCVpg3k+UN/NQYXx6O87KnfVBK1DcmVeKgwJ M2xLuG1mLjcJrT0KW0gQtsDlkneKYaXcqDT9WoCvZKAifwa+zitA2Rb9pY7s5IzxB4ZX iU2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@coker.com.au header.s=2008 header.b=IZmWPmoU; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=coker.com.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020aa7d946000000b00418ee638382si744100eds.288.2022.03.16.08.48.54; Wed, 16 Mar 2022 08:49:05 -0700 (PDT) Received-SPF: pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@coker.com.au header.s=2008 header.b=IZmWPmoU; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=coker.com.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230109AbiCNN5d (ORCPT + 23 others); Mon, 14 Mar 2022 09:57:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbiCNN5d (ORCPT ); Mon, 14 Mar 2022 09:57:33 -0400 Received: from smtp.sws.net.au (smtp.sws.net.au [IPv6:2a01:4f8:201:1e6::dada:cafe]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D602D46664 for ; Mon, 14 Mar 2022 06:56:22 -0700 (PDT) Received: from xev.coker.com.au (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id D51DDF1F0; Tue, 15 Mar 2022 00:56:18 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1647266179; bh=vnb3MK8CCLd3E3FaorL8sVDPS8vqtnoGOVIDAskkINo=; l=666; h=From:To:Reply-To:Subject:Date:In-Reply-To:References:From; b=IZmWPmoUq27arIRLXPQbV5WT6bT7rffnSxZ/MFwedK6ZFrrZwKMuTH2nmGpcABozO NI/FfbnJ44YIkcQyLE6GTpDzM9kKGxUuJjMZTR3ecV61WdoEB7Wbjb1AZam9+fccOH Eo7RjlOZnXdmX7jmweOMerRYZ6cPWuApWoP8s1ss= Received: by xev.coker.com.au (Postfix, from userid 1001) id 061FC177302D; Tue, 15 Mar 2022 00:56:14 +1100 (AEDT) From: Russell Coker To: selinux-refpolicy@vger.kernel.org, Chris PeBenito Reply-To: russell@coker.com.au Subject: Re: [PATCH] certbot V2 Date: Tue, 15 Mar 2022 00:56:13 +1100 Message-ID: <2933855.8EzMN8LN0u@xev> In-Reply-To: <736887c7-d588-8562-4933-030947915fe2@ieee.org> References: <736887c7-d588-8562-4933-030947915fe2@ieee.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On Tuesday, 15 March 2022 00:53:14 AEDT Chris PeBenito wrote: > > -logging_search_logs(certbot_t) > > +logging_log_filetrans(certbot_t, certbot_log_t, dir, "letsencrypt") > > I don't see any conflicting type_transitions here or above. If there are > none, then the letsencrypt should be removed. Do we want to allow it to create whatever directories it likes under /var/log? What if it decides to create something else inappropriately? There aren't any conflicts, just an issue of whether we want to allow it unrestricted write access to an important directory. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/