- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用以下命令使用 libvirt 创建虚拟机:
virsh create file
"file"
的内容:
<domain type='qemu' id='3'>
<name>testvm</name>
<memory>100</memory>
<vcpu>1</vcpu>
<os>
<type arch='i686'>hvm</type>
</os>
<devices>
<disk type='file' device='disk'>
<source file='/libtmp/VM-linux.0.2.img'/>
<target dev='hdc'/>
</disk>
</devices>
<on_reboot>restart</on_reboot>
<on_poweroff>preserve</on_poweroff>
<on_crash>restart</on_crash>
</domain>
error: Failed to create domain from file
error: internal error cannot load AppArmor profile 'libvirt-9cb01efc-ed3b-ff8e-4de5-7227d311dd15'
最佳答案
这是 libvirt 中的一个错误。见 https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/665531
使用“virsh edit domainname”命令编辑虚拟域的xml定义。将 xml 定义中的 type='host_device' 替换为 type='raw'。
关于virtualization - 使用与 AppArmor 相关的 libvirt 错误创建虚拟机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12069297/
已关闭。此问题不符合Stack Overflow guidelines 。目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a software
我有一个问题,我不确定如何在 AppArmor 中解决。 基本上我有一个执行程序的配置文件,让我们说 profile myprof { /my/executable ix, } 问题是我从那个
我需要通过允许它从目录读取/写入来更改 AppArmor 配置。 我按照文档中的说明在 /etc/apparmor.d/local/usr.sbin.mysqld 中添加了必要的行,然后运行 aa
这是我的Dockerfile : FROM ubuntu:14.04 RUN apt-get update RUN apt-get install -y software-properties-com
AppArmor 文档提到让应用程序能够在有或没有环境清理的情况下执行其他程序。显然,清理后的环境更安全,但文档似乎没有具体说明环境清理是如何发生的。 什么是环境清理,AppArmor 是如何清理环境
这不是关于 (Docker) 容器 AppArmor 配置文件,而是关于强制执行 Docker Daemon AppArmor 配置文件。 Docker's AppArmor-related docu
我有一个运行 docker 的 ubuntu 20.04 服务器。最近,默认 apparmor 配置文件似乎已经开始对 docker 容器中的挂载点实现限制。所以容器直接写入根文件系统而不是挂载。 在
我正在尝试使用以下命令使用 libvirt 创建虚拟机: virsh create file "file"的内容: testvm 100 1
所以我们有一个需要 apparmor 配置文件(客户端授权)的 django 应用程序。它在位于 /opt/fact-virtual-environment 的 Python 虚拟环境中运行。应用程序
是否可以为特定的 Docker 容器禁用 AppArmor?我想让 ptrace 可以访问,这样我就可以将 gdb 附加到正在运行的进程,但是当我想更改设置时遇到以下问题: root@fbf72815
我想使用自定义版本的 qemu 运行 libvirt。但是,在安装我的 qemu 版本并重新启动后,我在 dmesg 中收到以下消息 type=1400 audit(1338385059.381:51
我按照官网描述的安装步骤在ubuntu 19.04上安装docker-ce 19.03.3。安装效果很好。但是当我想通过创建一个容器来测试时, 我有这个错误: Error response from
我有一个容器 x 在主机启动时无法自动启动。 容器日志中的最后一条消息是: set apparmor profile docker-default: no such file or directory
我们正在开发使用 MIPS(broadcom)内核的嵌入式系统。现在我想用 apparmor 补丁修补供应商提供的 2.6.31 内核。但是我找不到它们。根据http://wiki.apparmor.
我是一名优秀的程序员,十分优秀!