]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Change the default qemu user and group of libvirt
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 17 Jun 2016 11:06:41 +0000 (13:06 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 20 Jun 2016 15:25:31 +0000 (16:25 +0100)
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 <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/libvirt

index 3c7413f0c25da1eda5f05ddebb839a1ed505ceef..5af28cb4172508c12b799eac97133e918737f754 100644 (file)
@@ -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)