Addition of selinux users causes "Multiple same specifications" warnings during startup

Radha Venkatesh (radvenka) radvenka at cisco.com
Fri Oct 15 18:33:26 UTC 2010


I have created SeLinux users using "semanage user" and tied the SeLinux
users to Linux users using "semanage login". I find that on startup,
there are several warnings thrown for "Multiple same specifications".
Below is an example
 
/etc/selinux/strict/contexts/files/file_contexts: Multiple same
specifications for /dev/null/\.screenrc
 
I then checked and found that file_contexts has
 
file_contexts.homedirs:/dev/null/\.screenrc     --
ccmusergrp_u:object_r:user_screen_ro_home_t:s0
file_contexts.homedirs:/dev/null/\.screenrc     --
ccmusergrp_u:object_r:user_screen_ro_home_t:s0
file_contexts.homedirs:/dev/null/\.screenrc     --
specialuser_u:object_r:user_screen_ro_home_t:s0
file_contexts.homedirs:/dev/null/\.screenrc     --
ccmusergrp_u:object_r:user_screen_ro_home_t:s0
file_contexts.homedirs:/dev/null/\.screenrc     --
ccmusergrp_u:object_r:user_screen_ro_home_t:s0
file_contexts.homedirs:/dev/null/\.screenrc     --
specialuser_u:object_r:user_screen_ro_home_t:s0

Looks like there is an entry for every Linux user I tied to the SeLinux
user.
 
I am using

libselinux-1.33.4-5.5.el5
libsemanage-1.9.1-4.4.el5
policycoreutils-1.33.12-14.8.el5
libsepol-1.15.2-3.el5
 
and do not have an option to move to later releases.
 
Is there a way for me to get rid of these warnings or suppress them,
without changing the source code provided by RedHat?
 
Thanks,
Radha.
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/selinux/attachments/20101015/54847e23/attachment.html 


More information about the selinux mailing list