From mboxrd@z Thu Jan 1 00:00:00 1970 From: LC Bruzenak Subject: restorecon resets files Date: Mon, 06 Oct 2008 09:03:07 -0500 Message-ID: <1223301787.15037.228.camel@homeserver> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m96E3Le7002382 for ; Mon, 6 Oct 2008 10:03:21 -0400 Received: from mail.magitekltd.com (rrcs-24-242-137-197.sw.biz.rr.com [24.242.137.197]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m96E39PE014227 for ; Mon, 6 Oct 2008 10:03:10 -0400 Received: from [24.242.137.194] (helo=[192.168.30.40]) by mail.magitekltd.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Kmqfz-00071h-8x for linux-audit@redhat.com; Mon, 06 Oct 2008 09:03:07 -0500 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Linux Audit List-Id: linux-audit@redhat.com # ls -Z /var/run/auditd.pid /var/run/audispd_events srw-r----- root root system_u:object_r:audisp_var_run_t:SystemHigh /var/run/audispd_events -rw-r--r-- root root system_u:object_r:auditd_var_run_t:SystemHigh /var/run/auditd.pid # restorecon -rv /var/run/ restorecon reset /var/run/audispd_events context system_u:object_r:audisp_var_run_t:s15:c0.c1023->system_u:object_r:audisp_var_run_t:s0 restorecon reset /var/run/auditd.pid context system_u:object_r:auditd_var_run_t:s15:c0.c1023->system_u:object_r:auditd_var_run_t:s0 [root@hugo ~]# ls -Z /var/run/auditd.pid /var/run/audispd_events srw-r----- root root system_u:object_r:audisp_var_run_t:SystemLow /var/run/audispd_events -rw-r--r-- root root system_u:object_r:auditd_var_run_t:SystemLow /var/run/auditd.pid I assume that both these files should be kept at SystemHigh? selinux-policy-mls-3.4.2-14.fc9.noarch Thx, LCB. -- LC (Lenny) Bruzenak lenny@magitekltd.com