From: Jonatan Schlag Date: Fri, 17 Jun 2016 11:06:41 +0000 (+0200) Subject: Change the default qemu user and group of libvirt X-Git-Tag: v2.19-core104~57^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96aeacd808bbde03997e7d699bed16605095c8a8;p=ipfire-2.x.git Change the default qemu user and group of libvirt Changes the libvirt user to nobody and the group to kvm this is a bit safer as to use root for both. Signed-off-by: Jonatan Schlag Signed-off-by: Michael Tremer --- diff --git a/lfs/libvirt b/lfs/libvirt index 3c7413f0c2..5af28cb417 100644 --- a/lfs/libvirt +++ b/lfs/libvirt @@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) SUP_ARCH = i586 x86_64 PROG = libvirt -PAK_VER = 2 +PAK_VER = 3 DEPS = "libpciaccess libyajl ncat qemu" @@ -84,6 +84,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --without-uml --without-vbox --without-lxc --without-esx --without-vmware --without-openvz \ --without-firewalld --without-network -with-interface --with-virtualport --with-macvtap \ --disable-nls --without-avahi --without-test-suite -without-dbus \ + --with-qemu-user=nobody --with-qemu-group=kvm \ --with-storage-dir --without-storage-fs --without-storage-lvm --without-storage-iscsi \ --without-storage-scsi --without-storage-mpath --without-storage-disk --without-storage-rbd --without-storage-sheepdog --without-storage-gluster --without-storage-zfs cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)