麒麟安装增强功能失败(未解决):Could not downgrade policy file /etc/selinux/targeted/policy/policy.29

简介: 麒麟安装增强功能失败(未解决):Could not downgrade policy file /etc/selinux/targeted/policy/policy.29

详细错误:

VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel 
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 
4.4.131-20200710.kylin.x86-generic.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what 
went wrong
update-initramfs: Generating /boot/initrd.img-4.4.131-20200710.kylin.x86-generic
Adding IMA binaries
W: plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//ubuntu-text.so) missing, skipping that theme.
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory
/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory
/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
OSError: Error
VirtualBox Guest Additions: Running kernel modules will not be replaced until 
the system is restarted


解决办法:

$ sestatus
SELinux status:                 disabled
$ getenforce
Disabled
# 有的系统,文件是:/etc/sysconfig/selinux
sudo vi /etc/selinux/config
SELINUX=enforcing
# enforce

重启后还是无法安装。

目录
相关文章
|
4月前
|
监控 安全 数据安全/隐私保护
|
4月前
|
存储
【Azure Policy】使用Azure Policy来检查Azure资源名称是否满足正确要求(不满足就拒绝创建或标记为不合规non-compliance)
【Azure Policy】使用Azure Policy来检查Azure资源名称是否满足正确要求(不满足就拒绝创建或标记为不合规non-compliance)
|
4月前
|
存储 数据中心 数据安全/隐私保护
【Azure 存储服务】ADLS Gen 2 Backup/软删除/Version管理/快照等功能参考资料
【Azure 存储服务】ADLS Gen 2 Backup/软删除/Version管理/快照等功能参考资料
|
7月前
|
应用服务中间件 网络安全 nginx
nginx(1.13.7)首次安装出现:【make: *** 没有规则可以创建“default”需要的目标“build” 问题】解决措施
nginx(1.13.7)首次安装出现:【make: *** 没有规则可以创建“default”需要的目标“build” 问题】解决措施
714 0
|
Linux
Linux重新启动后提示 Failed to load SELinux policy. Freezing系统hung住
重新启动之前修改了selinux的配置,disable selinux,估计多半是修改的时候哪里改错了。
261 0
麒麟安装增强功能失败(未解决):Could not downgrade policy file /etc/selinux/targeted/policy/policy.29
麒麟安装增强功能失败(未解决):Could not downgrade policy file /etc/selinux/targeted/policy/policy.29
512 0
|
网络协议 Linux 网络安全
Linux 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
转载:http://blog.csdn.net/c233728461/article/details/52679558 CentOS7中执行 [plain] view plain copy service iptables start/stop   会报错Failed to start iptables.
4323 0

热门文章

最新文章