Skip to contentSkip to conversation

rpm policy

PATCH Russell Coker 1 participant 1 message Aug 30, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

When running strict policy without unlimitedrpm the attached patch is necessary to permit upgrading package "dev" if someone has ever logged in at the console since the last relabel.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
program/unused/rpm.te renamed from usr/src/se/policy/domains/program/unused/rpm.te +1 -0
@@ -110,6 +110,7 @@
 dontaudit rpm_t shadow_t:file { getattr read };
 allow rpm_t urandom_device_t:chr_file read;
 allow rpm_t { device_t device_type }:{ chr_file blk_file } { create_file_perms relabelfrom relabelto };
+allow rpm_t ttyfile:chr_file unlink;
 allow rpm_script_t tty_device_t:chr_file getattr;
 allow rpm_script_t devpts_t:dir { search };
 allow rpm_script_t {devpts_t devtty_t}:chr_file rw_file_perms;