[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

selinux Multiple different specifications complaint



Getting selinux warnings in stderr when I run rpm:

  rpm -Vv --noscripts mingetty >/dev/null
/etc/selinux/strict/contexts/files/file_contexts: Multiple different
specifications for /usr/bin/apt-get  (system_u:object_r:rpm_exec_t:s0
and system_u:object_r:apt_exec_t:s0).
/etc/selinux/strict/contexts/files/file_contexts: Multiple different
specifications for /usr/bin/apt-shell
(system_u:object_r:rpm_exec_t:s0 and system_u:object_r:apt_exec_t:s0).

 grep -e apt-get -e apt-shell /etc/selinux/strict/contexts/files/file_contexts
/usr/bin/apt-get                --      system_u:object_r:apt_exec_t:s0
# apt-shell is redhat specific
/usr/bin/apt-shell              --      system_u:object_r:apt_exec_t:s0
/usr/bin/apt-get                --      system_u:object_r:rpm_exec_t:s0
/usr/bin/apt-shell              --      system_u:object_r:rpm_exec_t:s0

 ls /usr/bin/ap*
/usr/bin/aplay      /usr/bin/apm      /usr/bin/apmsleep
/usr/bin/apol      /usr/bin/apple_mv  /usr/bin/appletproxy
/usr/bin/apr-1-config  /usr/bin/apu-1-config
/usr/bin/aplaymidi  /usr/bin/apmount  /usr/bin/apogee_ppi
/usr/bin/apple_cp  /usr/bin/apple_rm  /usr/bin/appres
/usr/bin/apropos


I am running fc5, did an autorelabel this morning. How did this stuff
get in file_contexts? Should I just edit
/etc/selinux/strict/contexts/files/file_contexts, and if so, which
spec should I keep? Or should I delete both, apt is not even
installed!

Mahalo!

Dave


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]