现象描述:
打开SELINUX=enforcing, SELINUXTYPE=mls后,图形桌面无法登录,/var/log/audit/audit.log亦无报错。
解决方法:
dmesg命令输出如下内容:
[ 1276.675987] SELinux: Con代写论文、pos user_u:user_r:user_dbusd_t:s0-s15:c0.c1023 would be invalid if enforcing
[ 1276.747022] SELinux: Con代写论文、pos user_u:user_r:pulseaudio_t:s0-s15:c0.c1023 would be invalid if enforcing
[ 1277.235458] SELinux: Con代写论文、pos user_u:user_r:user_dbusd_t:s0-s15:c0.c1023 would be invalid if enforcing
[ 1302.034507] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 1302.043390] ISO 9660 Extensions: RRIP_1991A
[ 2059.455969] SELinux: Con代写论文、pos user_u:user_r:pulseaudio_t:s0-s15:c0.c1023 would be invalid if enforcing
原因,用户上下文件异常。需处理无效安全上下文user_u:user_r:user_dbusd_t:s0-s15:c0.c1023、user_u:user_r:pulseaudio_t:s0-s15:c0.c1023。
阅读(2217) | 评论(0) | 转发(0) |