AlmaLinux 8.7의 새로운 이미지 설치에서는 SELinux를 활성화할 수 없습니다.
다시 시작한 후:
[root@cs46949 stdusr]# cat /etc/redhat-release &&
> uptime &&
> dnf -y install policycoreutils selinux-policy selinux-policy-targeted libselinux-utils setroubleshoot-server setools setools-console &&
> dnf update &&
> cat /etc/selinux/config &&
> sestatus
AlmaLinux release 8.7 (Stone Smilodon)
10:03:08 up 0 min, 1 user, load average: 0.27, 0.08, 0.03
Last metadata expiration check: 0:18:10 ago on Sat Dec 24 09:46:52 2022.
Package policycoreutils-2.9-20.el8.x86_64 is already installed.
Package selinux-policy-3.14.3-108.el8.noarch is already installed.
Package selinux-policy-targeted-3.14.3-108.el8.noarch is already installed.
Package libselinux-utils-2.9-6.el8.x86_64 is already installed.
Package setroubleshoot-server-3.3.26-5.el8.x86_64 is already installed.
Package setools-4.3.0-3.el8.x86_64 is already installed.
Package setools-console-4.3.0-3.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:18:12 ago on Sat Dec 24 09:46:52 2022.
Dependencies resolved.
Nothing to do.
Complete!
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
SELinux status: disabled
참고: 이것은 동일한 질문입니다.SELINUX가 활성화되지 않습니다, 그러나 그 중 하나는 폐쇄적이고 주제에서 벗어났습니다(사용자가 linode에서 linode 제공(사용자 정의) 커널을 사용하고 있지만 SELinux는 지원되지 않기 때문입니다). AlmaLinux에는 RHEL 바이너리 호환 커널 버전이 있습니다. 4.18.0
답변1
이 AlmaLinux 인스턴스는 dogado.de에서 제공되며 Paralles Virtuozzo에서 가상 머신으로 실행됩니다. 해당 문서에 따르면 SELinux를 지원하지 않습니다.