大家好,又见面了,我是你们的朋友全栈君。
问题1 遇到:
ValueError: File context for /opt/VBoxGuestAdditions-6.1.6/other/mount.vboxsf already defined
参看:
https://www.reddit.com/r/virtualbox/comments/gabkpr/vb_guest_additions_install_issue_on_fedora_32/
*** THIS IS ONLY TO RESOLVE THE ValueError ***
Hey! I stumbled across this same issue today, but was able to resolve the ValueError above. That particular issue is SELinux-related. It involves the VirtualBox installation of Guest Additions (GAs) trying to add a file context for the mount.vboxsf file when it is already set. To at least resolve that error:
-
Be sure that the GAs that come with Fedora are removed using yum, and that the kernel-devel, gcc, make, and perl binaries are installed on your Fedora VM with yum.
-
Escalate to root:
sudo -i or su -
-
As root:
-
semanage fcontext -d /opt/VBoxGuestAdditions-<VERSION>/other/mount.vboxsf
-
restorecon /opt/VBoxGuestAdditions-<VERSION>/other/mount.vboxsf
-
And then run the VBoxGuestAdditions installer, and reboot. At the very least, it should not have the ValueError shown above. As far as testing some of the other functionality, let me know if that works out for anyone, because I do not use clipboards and shared folders!
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/154755.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...