Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3573748pxb; Mon, 16 Nov 2020 19:47:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2807tCAWdwgG8jhNjNp7zEI5g0q4XkTMsBN4XWkih0Kl622mDi/VeoM4TF5TjHdcq517v X-Received: by 2002:a50:aa84:: with SMTP id q4mr19949174edc.331.1605584837815; Mon, 16 Nov 2020 19:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605584837; cv=none; d=google.com; s=arc-20160816; b=ykxMW9wB40ymf2tLW7rIRG+x6Hb6alSnDv8B9TyWtQ4HJMuA4rv0RM5Gjm3RLycGlk D1k4NDYZ/K5d5FZ65zqJ+6I16BWvO3xBn5Bqd/1M9wWconZzzg7RSQAjNYaLfMc4oQMh 0FiPISxolYpJsWj1ORnN6On31HO07P1H+EZeViKY/r22jW3HuL69GQUHFG5+eP/ZxyoQ HDdDEmrJ8sAceOIN5Yk37QVc9mevf0oPpH1jRVzjEV193vwo+DXaAzN6BGMHzsO1H2lD g5MbyvKCg2+6jW1riGzru/GpiC0iNcOXlc/B1lKcGkPO9DfLTPjF5kUFE+Rtj+zfHmKF McXg== 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:cc:to:from :dkim-signature; bh=rH4kaH2hvw71myx0kVtd28duoYTFNMqV3TWlNEByEvQ=; b=f6nsdYVmXftQy6CWajerQeNjEJImwKdbZdm0f8AkF9xFWqWzZti9KUsQe9NoOSigdN DlaoTwWJAxMMiLmrVB3KVvZVneL/zTr3VdyJ9gwQiYm7z62/srFHlB13TMwIRVa8Ff8a JeNFnNGcJebpzYtSL4vdrkMQYKiV1LmBwWFKgZEF5NwLCMlKDYDtaRqck8io6+BVP03R 6RwtZv81Vi4zjZL9n/Sc3hTgTAI/uSP0hpB+q7L36cbtJC/b6BJkL2an0U1yiauQNXg5 XPib4GilKCApIyapBYayb0bsccYu+ONxGvw391oCwlspn8As8VMwOFeLleMUVXt8EmAZ zaAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=ronfd3L7; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si7047369ejn.180.2020.11.16.19.47.13; Mon, 16 Nov 2020 19:47:17 -0800 (PST) Received-SPF: pass (google.com: domain of selinux-refpolicy-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=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=ronfd3L7; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726236AbgKQDrL (ORCPT + 17 others); Mon, 16 Nov 2020 22:47:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgKQDrK (ORCPT ); Mon, 16 Nov 2020 22:47:10 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 532A5C0613CF for ; Mon, 16 Nov 2020 19:47:09 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id w4so15094984pgg.13 for ; Mon, 16 Nov 2020 19:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perfinion-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rH4kaH2hvw71myx0kVtd28duoYTFNMqV3TWlNEByEvQ=; b=ronfd3L7oLiTLo345KPbbecpLhnxDPv2ifWgSFyqlnfCqpNVgUSHz5cEE8V78NWCSC P8T2/upfnY+V76BJSleVHzQ9PsE7uI4rR8558kU4gMk7riGB7Nt0Q0fXlklKoLzP4AAm mUeEo9EtNZk61+YKiC+1UVxX4h7XcasCsxCb/viPaVl9QkjlI6vEmyIivrbQPhG2trVk Ae9eOUxSELlLelyLsP+iwTStKOWLXOLnMTCPdG/dn+Aec3+K0RzvJ1tl1GGOI5kuqlwC xtqDXBgqWSoXWgqk3gbNcPQw3QhsW9JQSlnboESaRbpKHcaEt1dLp4wfM7oYSs9gQ96J nb6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rH4kaH2hvw71myx0kVtd28duoYTFNMqV3TWlNEByEvQ=; b=hjXfnZGiJZOiREKPprtpztC9lj4uRTYC6y0pK/xCAir/dQMkRz7tAk4tK8omy/6XXR GW0oznuFTvMx77uxA9gyt/LqRBh/6AO6CFqI7e4H+PoF0PL0ydj2NtrxlOUc7fY563uY Gt7y4Z50leuYZFRRFN3FKjReV+Txc/mI+VJamgw3KVgi02xFKBljHyfLgWdxR4gAQK8e LF9XCqdowc6NaIVJZsPoV84MVN8GswE/9ErgmYxnRB5QnKj3eD4sAUPQ4AxUGlhcc7Hv kRjDIAFe17RAMTvmYLKdMA2EN9NcVqcau4ucXn+1P1B5eIYYe1d5WK2nGhQjZ6BWG/jE da3g== X-Gm-Message-State: AOAM530XIPOYl8QPpSCYV+E7ADPCALUhFgZq3oXB7WDYwxzuaUM3UJ1/ mw6pSbKEFNlBDojhlZCHN1W3AUvySAJVjOiP X-Received: by 2002:a17:90a:4d47:: with SMTP id l7mr2381858pjh.121.1605584828585; Mon, 16 Nov 2020 19:47:08 -0800 (PST) Received: from localhost (115.42.24.136.in-addr.arpa. [136.24.42.115]) by smtp.gmail.com with ESMTPSA id h68sm19289787pfe.74.2020.11.16.19.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 19:47:08 -0800 (PST) From: Jason Zaman To: selinux-refpolicy@vger.kernel.org Cc: Jason Zaman , Jason Zaman Subject: [PATCH 8/8] systemd: make remaining dbus_* optional Date: Mon, 16 Nov 2020 19:46:28 -0800 Message-Id: <20201117034628.2461-8-jason@perfinion.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201117034628.2461-1-jason@perfinion.com> References: <20201117034628.2461-1-jason@perfinion.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org From: Jason Zaman Almost all calls to dbus_ interfaces were already optional, this makes the remaining one optional_policy so that the modules can be installed / upgraded easier. Signed-off-by: Jason Zaman Signed-off-by: Jason Zaman --- policy/modules/system/systemd.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index 74f3fc55d..a08b83d51 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -1450,4 +1450,6 @@ userdom_manage_user_runtime_dirs(systemd_user_runtime_dir_t) userdom_mounton_user_runtime_dirs(systemd_user_runtime_dir_t) userdom_relabelto_user_runtime_dirs(systemd_user_runtime_dir_t) -dbus_system_bus_client(systemd_user_runtime_dir_t) +optional_policy(` + dbus_system_bus_client(systemd_user_runtime_dir_t) +') -- 2.26.2