]> xenbits.xensource.com Git - libvirt.git/commit
src: honour the RUNSTATEDIR variable in all code
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 20 Aug 2019 15:05:12 +0000 (16:05 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 27 Aug 2019 09:23:13 +0000 (10:23 +0100)
commitd29c917ef470a25149d1f3787ec494d006549f27
treee35c821732a6ea3f65cf3616a6074db2f7d53e10
parent08243852215122a9b4ba75089e986b02c3e9d7fa
src: honour the RUNSTATEDIR variable in all code

All code using LOCALSTATEDIR "/run" is updated to use RUNSTATEDIR
instead. The exception is the remote driver client which still
uses LOCALSTATEDIR "/run". The client needs to connect to remote
machines which may not be using /run, so /var/run is more portable
due to the /var/run -> /run symlink.

Some duplicate paths in the apparmor code are also purged.

There's no functional change by default yet since both expressions
expand to the same value.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
31 files changed:
src/bhyve/bhyve_utils.h
src/interface/interface_backend_netcf.c
src/interface/interface_backend_udev.c
src/libvirt-admin.c
src/libxl/libxl_conf.h
src/locking/lock_daemon.c
src/locking/lock_driver_lockd.c
src/locking/virtlockd.pod
src/logging/log_daemon.c
src/logging/log_manager.c
src/logging/virtlogd.pod
src/lxc/lxc_conf.h
src/lxc/lxc_process.c
src/network/bridge_driver.c
src/network/leaseshelper.c
src/node_device/node_device_hal.c
src/node_device/node_device_udev.c
src/nwfilter/nwfilter_dhcpsnoop.c
src/nwfilter/nwfilter_driver.c
src/qemu/qemu_conf.c
src/remote/libvirtd.pod
src/remote/remote_daemon.c
src/remote/remote_daemon_dispatch.c
src/remote/remote_driver.c
src/secret/secret_driver.c
src/security/virt-aa-helper.c
src/storage/storage_driver.c
src/util/virhostdev.c
src/util/virpidfile.c
src/util/virsystemd.c
src/vz/vz_driver.c