Hi guys,
My selinux complains during booting. setfiles complains conflicting specifications: selinux-autorelabel.sh[1524]: /sbin/setfiles: conflicting specifications for /tmp/tmp.flCsmAYyao/usr/lib/systemd/system/smartcard.target and /tmp/tmp.flCsmAYyao/usr/lib/systemd/user/smartcard.target, using system_u:object_r:systemd_user_unit_t:s0.
# ls -Z /usr/lib/systemd/system/sound.target system_u:object_r:systemd_user_unit_t:s0 /usr/lib/systemd/system/sound.target
ls -Z /usr/lib/systemd/user/sound.target system_u:object_r:systemd_user_unit_t:s0 /usr/lib/systemd/user/sound.target
# grep "/usr/lib/systemd/system" /etc/selinux/mcs/contexts/files/file_contexts
/usr/lib/systemd/system(/.*)? system_u:object_r:systemd_unit_t:s0 /usr/lib/systemd/user(/.*)? system_u:object_r:systemd_user_unit_t:s0
My question is why "/usr/lib/systemd/system/smartcard.target " does not take systemd_unit_t from file_contexts? What is wrong in my selinux?
Thanks.
----henry
selinux@lists.fedoraproject.org