Skip to contentSkip to conversation

restorecon resets files

DISCUSSION LC Bruzenak 2 participants 2 messages Oct 6, 2008

lore
Share & tools
lore
#0 lore raw
# 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.

Signature · 2 lines
LC (Lenny) Bruzenak
[email protected]
#1 lore raw
Quoted 12 lines · LC Bruzenak
# 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

Quoted 7 lines

I assume that both these files should be kept at SystemHigh?

selinux-policy-mls-3.4.2-14.fc9.noarch

Thx,
LCB.

Yes that is a bug.