Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mock用于构建 rpm。我希望在由 libvirt 管理的 lxc 容器中使用它,但是 libvirt 将 lxc 配置为阻止mknod(2)调用,模拟用于构建其 chroot。
mknod(2)
有没有办法解决这个问题?
看起来该功能是在最近的版本中添加的。
<capabilities policy='default'> <mknod state='on'/> <sys_chroot state='on'/> </capabilities>