From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E7B0C10F0E for ; Sat, 13 Apr 2019 02:43:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B1252084E for ; Sat, 13 Apr 2019 02:43:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b="hmyZmieE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726981AbfDMCn4 (ORCPT ); Fri, 12 Apr 2019 22:43:56 -0400 Received: from smtp.sws.net.au ([46.4.88.250]:55104 "EHLO smtp.sws.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726944AbfDMCn4 (ORCPT ); Fri, 12 Apr 2019 22:43:56 -0400 Received: from liv.localnet (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id BF0C2ED83; Sat, 13 Apr 2019 12:43:53 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1555123435; bh=gUxZdsephIJvCb0ja14eMQgE5WqcrihlsIKc22hifT4=; l=509; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hmyZmieEqC2IURuQxTEhiXTqnVVNOvKTayyC7F4ypqexm4v9zwgNHflUQZSgJ0gGM Lp5aruOR1u60lc3uFHDwzPBxMAv4EcL/SNwaq9Hu9fUxRLx7QTsKLR5G9/K+t9KiJH CEKNvaDNPxDbah0g6M0SvX+ai/FXAcii+dwQ2/so= From: Russell Coker To: "Sugar, David" Cc: "selinux-refpolicy@vger.kernel.org" Subject: Re: [PATCH 2/3] Changes to support plymouth working in enforcing Date: Sat, 13 Apr 2019 12:43:47 +1000 Message-ID: <2123404.RoTncvGGnz@liv> In-Reply-To: <20190412193917.23886-3-dsugar@tresys.com> References: <20190412193917.23886-1-dsugar@tresys.com> <20190412193917.23886-3-dsugar@tresys.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On Saturday, 13 April 2019 5:39:31 AM AEST Sugar, David wrote: > plymouth is started very early in the boot process. Looks > like before the SELinux policy is loaded so plymouthd is > running as kernel_t rather than plymouthd_t. Due to this > I needed to allow a few permissions on kernel_t to get > the system to boot. Could plymouth re-exec itself or do a dynamic domain transition to get the right domain? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/