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.
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
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
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/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 mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue