Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp841084pxb; Thu, 17 Feb 2022 16:18:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxJvb1MMYcIC/QE16eQ7CemDYe7nTtygX3r2hpHvts+fLHwAw0f9FY6ll04zr19hqNMJCG X-Received: by 2002:a17:90a:86c1:b0:1b9:157e:383 with SMTP id y1-20020a17090a86c100b001b9157e0383mr9811426pjv.63.1645143496363; Thu, 17 Feb 2022 16:18:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645143496; cv=none; d=google.com; s=arc-20160816; b=wK8AbQ9PmeAz/44ErgNeV1C3hSKb4Q2r/7Gm2ajip3mo2bcCppGQs/lPh7YMSBXgBC 9ga9l7cf4pI+Z1QCqohYCSDn4CQzPBr8WybH89CWm4sbDUXI9IDFJOcodXjQJRXH0VQr RWEslKpGnkm5z3IVH0pBDtcauEYUC/enXZxmnfWGXrvWFOeenhZl2eqIR3BeulGCMUJA iPcCaKJLu7SYyXmFzF+ObrZG1NbTHa0wJHQFhVxgqOcHjk5G/16CyEifXaDu+XtZ+NmX Pvxg1k5AWw+4RN9OFkWCt3sW0R9yH1t6AYtYvzIKrELiiGS7n41j5M1HX2CfIJP5RVXI Gb5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=aJVUoXUZabfyeI2CEVTYkJlkn1/cCWePjgPRjswumk0=; b=FG2of4UXnDinm1u+H2kUxZsdTeHZMCJ4hla4dYvYP600oQfhTN8snlCkA2Hqf3aY9z PJTaoKv0zpdcFc9+Md9Avflj4CuV/58VFuFc24HuZKpuMKCYlyhlRVJRSMYhVXn9yOoI YW+LHMa9c63uDMWqXuf9lBZx0BrvVaRXycMW1Ty/6HRHQMKcgKrrlmQDcrqQ2Fd+lOCt YZPmbfJeXgq8sOlk+Fv8O8OyA+SvuK05GxrUEHuSkQgpzehQMGYo8WBKMZ/XnXtvDvBT h1SUKMmXlrQ9pbLFFA1WgKxbCuNmt8Q9OoNEf9SgP8tGYEmq5dD9jy8IfpFw0NPJawqJ /s/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=UJCR6zX+; spf=softfail (google.com: domain of transitioning selinux-refpolicy-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ieee.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i35si9551707pgm.665.2022.02.17.16.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 16:18:16 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning selinux-refpolicy-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=UJCR6zX+; spf=softfail (google.com: domain of transitioning selinux-refpolicy-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ieee.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7D83C35E354; Thu, 17 Feb 2022 15:41:43 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240958AbiBQNiQ (ORCPT + 22 others); Thu, 17 Feb 2022 08:38:16 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234678AbiBQNiP (ORCPT ); Thu, 17 Feb 2022 08:38:15 -0500 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC87C15C67C for ; Thu, 17 Feb 2022 05:38:00 -0800 (PST) Received: by mail-qk1-x72f.google.com with SMTP id v5so2305673qkj.4 for ; Thu, 17 Feb 2022 05:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=aJVUoXUZabfyeI2CEVTYkJlkn1/cCWePjgPRjswumk0=; b=UJCR6zX+K/ENbAI+vuTAgqLF3OjdVmj+erNGtCuQbtd1nwP4vRklpPKKEk4oDQwBta og7kZndTLpo47zXE+g/WzzNXXEIVa9G0hSrr2XDL/hAQfdlA9qNFNMege0JBwG2AVaSP 3mtxJQwqN5GVX6kEqvnAVZdIaiz+ZZqbI3EZY= 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=aJVUoXUZabfyeI2CEVTYkJlkn1/cCWePjgPRjswumk0=; b=jlzWPNn4ZOp8HWDbVURphxUsxwRfAGMGpUTjFjEHL75QfZPWMvwD+69ZckxLK0vOC3 Hqn6DfkSVzHZDjFOl3ypqPEXRzV/bpIuvjiKOMKUk3g/Qbmk0IAwMbPelxjdRL6u3X+D mWphXJen9AYKXvY2M++GvALkCu6LXEZTAwRJtZqrdphwh6LAMYNTNwucQiXQ+iejGQMx bZtBQus2Kt1Lb1b0WhZZk61UVxFvZZ5F9ZSbiGnNDe1wCKqxSJk7vW3QuFZB+wyiDx8Z U9YwKLvv/NnQltaVoE14kAoVjZz18tCuQTMpcI9bFnwt9gjgcjFfgs0RM2GDly/S2bBw tkmA== X-Gm-Message-State: AOAM530+PVOrIlIIDZKKH6ABxpjP82ty9ffxlkFtBJx5pA6B/RwdguGn k5GG4WxHpNyz1rUIn+hC8NXXaAc8bNNchg== X-Received: by 2002:a05:620a:4622:b0:5f1:8f9d:3684 with SMTP id br34-20020a05620a462200b005f18f9d3684mr1480252qkb.401.1645105080027; Thu, 17 Feb 2022 05:38:00 -0800 (PST) Received: from [192.168.1.126] ([72.85.44.115]) by smtp.gmail.com with ESMTPSA id s68sm6831345qkh.136.2022.02.17.05.37.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 05:37:59 -0800 (PST) Message-ID: <9615d326-8a00-89ff-3e45-9134f00ed05d@ieee.org> Date: Thu, 17 Feb 2022 08:37:58 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] init dbus patch for GetDynamicUsers with systemd_use_nss() Content-Language: en-US To: Russell Coker , selinux-refpolicy@vger.kernel.org References: From: Chris PeBenito In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 2/17/22 03:54, Russell Coker wrote: > As requested changed this patch to use systemd_use_nss(). I think it's > ready to merge. Please create patches using git master as the baseline. This patch doesn't apply. > Signed-off-by: Russell Coker > > Index: refpolicy-2.20220217/policy/modules/services/dictd.te > =================================================================== > --- refpolicy-2.20220217.orig/policy/modules/services/dictd.te > +++ refpolicy-2.20220217/policy/modules/services/dictd.te > @@ -79,3 +79,6 @@ optional_policy(` > seutil_sigchld_newrole(dictd_t) > ') > > +ifdef(`init_systemd',` > + systemd_use_nss(dictd_t) > +') > Index: refpolicy-2.20220217/policy/modules/services/postfix.te > =================================================================== > --- refpolicy-2.20220217.orig/policy/modules/services/postfix.te > +++ refpolicy-2.20220217/policy/modules/services/postfix.te > @@ -374,11 +374,7 @@ manage_files_pattern(postfix_bounce_t, p > manage_lnk_files_pattern(postfix_bounce_t, postfix_spool_bounce_t, postfix_spool_bounce_t) > > optional_policy(` > - init_dbus_chat(postfix_bounce_t) > -') > - > -optional_policy(` > - dbus_system_bus_client(postfix_bounce_t) > + systemd_use_nss(postfix_bounce_t) > ') > > ######################################## > @@ -753,6 +749,10 @@ optional_policy(` > unconfined_run_to(postfix_showq_t, postfix_showq_exec_t) > ') > > +optional_policy(` > + systemd_use_nss(postfix_showq_t) > +') > + > ######################################## > # > # Smtp delivery local policy > @@ -777,6 +777,10 @@ optional_policy(` > ') > > optional_policy(` > + systemd_use_nss(postfix_smtp_t) > +') > + > +optional_policy(` > dovecot_stream_connect(postfix_smtp_t) > ') > > @@ -814,9 +818,7 @@ optional_policy(` > ') > > optional_policy(` > - dbus_send_system_bus(postfix_smtp_t) > - dbus_system_bus_client(postfix_smtp_t) > - init_dbus_chat(postfix_smtp_t) > + systemd_use_nss(postfix_smtpd_t) > ') > > optional_policy(` -- Chris PeBenito