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 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 1E4ABC282C0 for ; Fri, 25 Jan 2019 22:55:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8EF321855 for ; Fri, 25 Jan 2019 22:55:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b="ZeZ2sOvx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726329AbfAYWzu (ORCPT ); Fri, 25 Jan 2019 17:55:50 -0500 Received: from smtp.sws.net.au ([46.4.88.250]:43260 "EHLO smtp.sws.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfAYWzu (ORCPT ); Fri, 25 Jan 2019 17:55:50 -0500 Received: from liv.localnet (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id 9A55FEBA9 for ; Sat, 26 Jan 2019 09:55:46 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1548456948; bh=9HiPRLs0RqKYJsTgIEHlUKQw8gX99z2MaykABULcYCY=; l=546; h=From:To:Subject:Date:From; b=ZeZ2sOvxgEf+ylYULsJv8boegB+fx6OcGocW7WbxXLIdC84NUfBKQKiBeWWv/FPbS d144Q5mvsbtXYTPe3htqvtTM61aIak01+ILCdcNbi3ZX1/Bg4EQTb3lxeDH7rwUK63 ZoEKmMa8gOJTyrvl8V/vsrhSN6YiDiYgdnQdgpqo= From: Russell Coker To: "selinux-refpolicy@vger.kernel.org" Subject: __pycache__ Date: Sat, 26 Jan 2019 09:55:19 +1100 Message-ID: <1857551.fKAPn0m0Tg@liv> 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 type=AVC msg=audit(1548301606.546:586): avc: denied { write } for pid=8055 comm="semanage" name="__pycache__" dev="vda" ino=147333 scontext=unconfined_u:unconfined_r:semanage_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:lib_t:s0 tclass=dir permissive=0 What can we do about these __pycache__ write attempts? Is there something the distribution should be doing in terms of automatically generating those cache files when packages are installed? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/