Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6932016rwd; Mon, 19 Jun 2023 15:11:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7cLw1jFKlSiiSGaQ4LPdG0IFQgQyvWm3nxJkd1wnIiz9g7wTXd4+IWY4uJhAVesSUARzY3 X-Received: by 2002:a17:903:2450:b0:1b5:31f8:245e with SMTP id l16-20020a170903245000b001b531f8245emr13907000pls.57.1687212685473; Mon, 19 Jun 2023 15:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687212685; cv=none; d=google.com; s=arc-20160816; b=AmY2G4nRfBx/FIhEfTs9DTTmAREjLp0Kal7tU8LIy7slEUeET9oNr3u3hJ4XyL/nZB zP2Krb5O0HLtBNFqA2ydKdZIeToMci2WQ4HkRsSxBb0aQ9BT1mV0vfIQNBOLDRCjTEwe mrV06DAtvvghywgjHtD6m4w1HKDfToOfHi6dOXr6qfOqCR4mopIAEnYVFE9RxbF+BoO+ whaOSBoVCxxJFiTfE76URGfOi0oiM5CBDvmhMK1iTGLyVTD8jGkHxkh7UkYFdnPzKqHI ykEPhgw+IzjROOgihIlZDQLdnk/l4iPUT7w1HM70m35ABp4aFWG6dWyNd+rUPM9s9TdT wxnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XPxv5Pzmbzti4ZhHQG5/rtwZPeD+cnCO/79ABGcA7AQ=; b=TZLuVnXIHo9UIEOqykLKRrxeY2gpspdkU7VJ0mlCIs5cxtz1JFFaPtKOIXFSG7wQRI JYuhbiIz+KfavppfEOc15x2+fxikBRkaLYM+K16QwWa5YDecu/rod8CLxOw3N8XDyuW5 b8ItXWRQx1He61UkecGai+wnIzjSr4u9VqPQjKAoywaKHteF/NFfvgthK44Ivd1kGf0n FLjGrsh2FBZ/boaq9QCJNDRNrvYB0R1qFv9soSRxU2ByG7khJ0vUqOXKP4fIETuADjT2 wprfF7BuNOV1Ek+cdbfYg9ho8oS2kJdpxRaj7y0jk4QHBTqnxlNT3rcs2MGaTrll2x7T FF4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b="UX7gW/Nk"; 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=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q3-20020a17090311c300b001b55345f74csi638370plh.132.2023.06.19.15.11.19; Mon, 19 Jun 2023 15:11:25 -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=@paul-moore.com header.s=google header.b="UX7gW/Nk"; 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=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbjFSVy3 (ORCPT + 21 others); Mon, 19 Jun 2023 17:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbjFSVy1 (ORCPT ); Mon, 19 Jun 2023 17:54:27 -0400 Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4902910C7 for ; Mon, 19 Jun 2023 14:54:19 -0700 (PDT) Received: by mail-oo1-xc2b.google.com with SMTP id 006d021491bc7-55e4d40794cso1048938eaf.2 for ; Mon, 19 Jun 2023 14:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1687211658; x=1689803658; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XPxv5Pzmbzti4ZhHQG5/rtwZPeD+cnCO/79ABGcA7AQ=; b=UX7gW/NkDcSZwax3xhGeEIho0oO5PyxH+sGHkRgFsX/4/OcvCh9vTZkJff8K82Pi0O myB5Ub+qB5/P1R2BmlRUi/GsOByLUx+b16FOvC/yb6/DKJ+1r4D4XRl5V6m5lfnC+HRN 9wDxquoaSImzjYCv+FoLcjppeuA0B5BQTLatg5GpRfUnLLPBIC5mv+WSgmkTyMozP8Co 1aVzGyjMxxg2dMghdD/n+SROwZvkkcGMgA7ZLzbR+IDXik0Iln3VoqHcb+K7gum18ZT9 F93BpSyAmKGA7ASZCJ4tl5WikK72o16G2ycZHj5TatJksNfTiYDO2BGkx6eru3+02+gS iI7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687211658; x=1689803658; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XPxv5Pzmbzti4ZhHQG5/rtwZPeD+cnCO/79ABGcA7AQ=; b=YMzqecn8G/39JWZ6r+xYsGsTtfbsCyQTKM7ZIXpYWlW5sfkJex5jNC5JG8bw/13vi0 IBCx+nFX0xYhdG1zXu3kqQWaw2JC1Hs6I1mKy203feQ6awU1dlHJ4z7/wr8Q3SPDuInJ TVxnZJCqbPqgw3ZBDNFVIIOjFiBtG5BXpDumSkkXdM2W+UNpQCesI6+CN5iKBnEz5hCh 4OjOm+OXJcFBYXwwKD5zHPTdgIRlqdrPxh+FJKRmCCNuN3Vk9GP1iTVXaK3Npk/Ov7mv zUfHLOHV6gIKW8diuqD+u7UvQwi1Z0d8SX12Xdr08Vgyo7l8DFcDNvGzvcXyQ4tm9XjI OB2g== X-Gm-Message-State: AC+VfDyrkm22Tt8u9ovr1jVaqkJ2Jj+7eJbCg1ry70NDY4GIZ1K0pb8L a5BeeIFPUQoSysGK1OfZwgm6dH6AgXJ6byzcxz5QClS0RIS/QOg= X-Received: by 2002:a05:6358:e820:b0:129:c3a3:5efd with SMTP id gi32-20020a056358e82000b00129c3a35efdmr2841483rwb.24.1687211658479; Mon, 19 Jun 2023 14:54:18 -0700 (PDT) MIME-Version: 1.0 References: <87r0qcotc0.fsf@redhat.com> In-Reply-To: <87r0qcotc0.fsf@redhat.com> From: Paul Moore Date: Mon, 19 Jun 2023 17:54:07 -0400 Message-ID: Subject: Re: SELinux and systemd integration To: Petr Lautrbach Cc: =?UTF-8?Q?Christian_G=C3=B6ttsche?= , selinux@vger.kernel.org, selinux-refpolicy@vger.kernel.org, Lennart Poettering Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Fri, Jun 16, 2023 at 1:43=E2=80=AFAM Petr Lautrbach wrote: > Paul Moore writes: > > Hello all, > > > > Amongst Christian's various other SELinux contributions, over the past > > several years Christian has been working on improving the SELinux > > integration in systemd. One of the things that Christian has been > > working on is revamping the SELinux permissions that systemd uses for > > unitfile operations, both to resolve problems and generally improve > > the mapping of permissions to systemd operations. As this work has > > been languishing for several years, I would like to see if we can get > > things "unstuck" by proposing two things: > > > > 1. I've provided links to the systemd GH PRs below, but I think it > > might be helpful if Christian could provide a quick summary of the new > > permissions, how they map to systemd operations, and how they map to > > the existing SELinux/systemd permissions with a focus on helping > > policy developers migrate existing SELinux policies. > > > > 2. Given the significance of systemd to modern Linux distributions, I > > think it might be a good idea if we selected a SELinux "liaison" for > > the systemd project. This person, or group of people, would work with > > the systemd folks to keep the SELinux integration in good working > > order, review systemd code as necessary, and help represent the > > SELinux project within systemd. > > > > How does that sound to everyone? If we are in agreement on #2, and > > assuming he would be willing to help out, I would like to nominate > > Christian as our SELinux liaison to systemd; any objections? Anyone > > else interested in helping out? > > I agree with the Christian's nomination. > > As for #1, I looked on both, but I have to admit that I had a lack of > understanding of the problem and so I would need some time to get > into it. Therefore I postponed it due to other priorities, (but never > come back). If it's still open I'll focus on it next week. Thanks. --=20 paul-moore.com