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=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,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 EEE84C10F0E for ; Tue, 9 Apr 2019 15:58:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C00782084F for ; Tue, 9 Apr 2019 15:58:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="svnGDcdG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726479AbfDIP6e (ORCPT ); Tue, 9 Apr 2019 11:58:34 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:46592 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbfDIP6e (ORCPT ); Tue, 9 Apr 2019 11:58:34 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x39FnKq0008101; Tue, 9 Apr 2019 15:58:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=5PNa5+6tfZcGbfkNEMsvli/wNcOQ8gOGQOYunQSGbiA=; b=svnGDcdGYOnjTg3pURuJQGWJ7LDhfVwO/a2/QQpHrCTdw3Nv74QK7S6CDhWFPdEl5tJJ OaL43kCqOaF8oZepiWzGOzE7/AKqB6Ewxk/CSr4ZKEhuRgHNFHNqUey8/TzpjnUT7jpc l8R2jm9m8+zg+MHk25A0w173hlXrYauu5KZBjAXZXpuPaAgcMf3i2n5dMXrdZxfZYWPu 7Ta8/6Exz/YTnNlwebdBFF3VkLm3mRhfGfHv7rv8KoWhSMyMnWZ2Z+jI5nuEmowdqbpg mQpq51W+JS6PHuuK1uamiq9byXQLv9Y+zHJn1R7AbVtM1q37Xre3fIBDxqB7SIJoud6Y OA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2rpmrq5wre-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Apr 2019 15:58:30 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x39Fw7Gk077573; Tue, 9 Apr 2019 15:58:29 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 2rpkejc7h3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Apr 2019 15:58:29 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x39FwS8Q030145; Tue, 9 Apr 2019 15:58:29 GMT Received: from [10.11.99.171] (/10.11.99.171) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 09 Apr 2019 08:58:28 -0700 Subject: Re: Testing changes to "refpolicy" To: refpolicy , selinux-refpolicy@vger.kernel.org References: Cc: Chris PeBenito From: Jag Raman Organization: Oracle Corporation Message-ID: Date: Tue, 9 Apr 2019 11:58:28 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9221 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904090101 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9221 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904090100 Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 4/9/2019 8:02 AM, Chris PeBenito wrote: > On 4/8/19 11:05 AM, Jag Raman wrote: >> Hi, >> >> I need some help with testing "refpolicy". >> >> I'm able to install and load the refpolicy. But I'm unable >> to switch to "enforcing" mode because the OS (Fedora29) >> hangs due to missing policies. >> >> What distro of Linux are we expected to use for testing it? >> >> Are there any patches that should be applied on top of it? >> If so where could it be found? I'm trying to find out how >> you test changes to the refpolicy. >> >> Thank you very much! > Hi Chris, Thanks for your response. > Please note the new refpolicy list. [1] Sorry about this. I've subscribed to the new list, and added it to this email. > > There is no official distro for testing.  It does support customizations > for various distributions (DISTRO build option), but that also depends > on how much of the distro's customizations are upstreamed. I tried setting the "DISTRO" build option to "redhat", and tested on Fedora. But it looks like "refpolicy" customizations are not upstream for Fedora. It could be because RedHat is maintaining a separate set of patches [2] that apply on top of an older version (RELEASE_2_20130424) of SELinux refpolicy. Do you know of any distro whose customizations are upstream? [2] https://git.centos.org/summary/?r=rpms/selinux-policy.git Thanks! -- Jag > > [1] http://vger.kernel.org/vger-lists.html#selinux-refpolicy >