是否可以在libvirt的lxc容器中运行mock?

时间:2015-09-03 11:23:41

标签: mocking lxc libvirt mknod

Saxon用于构建rpms。我希望在由libvirt管理的lxc容器中使用它,但是libvirt将lxc配置为阻止mknod(2)调用,模拟用于构建其chroot。

有办法解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

看起来这个功能是在最新版本中添加的。

select t.uid, c1, ifnull(c2, '-') c2 from (select *, @n:=if(@i=uid, @n+1, if(@i:=uid, 1, 1)) n from tableA cross join (select @n:=0, @i:='') param1 order by uid ) t left join (select *, @n1:=if(@i1=uid, @n1+1, if(@i1:=uid, 1, 1)) n1 from tableB cross join (select @n1:=0, @i1:='') param2 order by uid ) tt on t.uid=tt.uid and t.n=tt.n