24.03LTS版本安装libselinux-python,无软件包,openEuler确认不支持python中的selinux接口吗?
TASK [file] ********************************************************************
fatal: [192.168.36.100]: FAILED! => {“changed”: false, “checksum”: “a94a8fe5ccb19ba61c4c0873d391e987982fbbd3”, “msg”: “Aborting, target uses selinux but python bindings (libselinux-python) aren’t installed!”}
PLAY RECAP *********************************************************************
192.168.36.100 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
[root@server1 ~]# yum install libselinux-python
Last metadata expiration check: 1:52:32 ago on Wed 16 Oct 2024 03:29:04 PM CST.
No match for argument: libselinux-python
Error: Unable to find a match: libselinux-python
使用了默认的openEuler的yum源文件,没有做任何修改
[root@server1 ~]# yum makecache
OS 12 kB/s | 3.5 kB 00:00
everything 13 kB/s | 3.5 kB 00:00
EPOL 8.2 kB/s | 3.0 kB 00:00
debuginfo 11 kB/s | 3.5 kB 00:00
source 13 kB/s | 3.5 kB 00:00
update 14 kB/s | 3.5 kB 00:00
update-source 13 kB/s | 3.5 kB 00:00
Metadata cache created.