]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirtd: create run dir when running at non-root user
authorXu He Jie <xuhj@linux.vnet.ibm.com>
Mon, 29 Aug 2011 02:52:23 +0000 (10:52 +0800)
committerEric Blake <eblake@redhat.com>
Fri, 2 Sep 2011 02:32:10 +0000 (20:32 -0600)
commitbf71201865f6403bc0823f83413d9d7befb03631
tree7632e6d60f3a302675da4e6742f0918f62e48dc2
parentf0fe28cb8ddeb3336b4d5f043f6beb3785e27284
libvirtd: create run dir when running at non-root user

When libvirtd is running at non-root user, it won't create ${HOME}/.libvirt.

It will show error message:
17:44:16.838: 7035: error : virPidFileAcquirePath:322 : Failed to open pid file

Signed-off-by: Xu He Jie <xuhj@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
AUTHORS
daemon/libvirtd.c