✏️ 正在编辑: selinux-check-proper-disable.service
路径:
/usr/lib/systemd/system/selinux-check-proper-disable.service
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
[Unit] Description=Check that SELinux is not disabled the unsafe way ConditionKernelCommandLine=!selinux=0 After=sysinit.target [Service] Type=oneshot EnvironmentFile=/etc/selinux/config ExecCondition=test "$SELINUX" = disabled ExecStart=/usr/bin/echo 'SELINUX=disabled in /etc/selinux/config, but no selinux=0 on kernel command line - SELinux may not be fully disabled. Please update bootloader configuration to pass selinux=0 to kernel at boot.' StandardOutput=journal+console SyslogLevel=warning [Install] WantedBy=multi-user.target
💾 保存文件
← 返回文件管理器