libvirt/daemon
Andrea Bolognani 322b7037d4 virtlogd.socket: Tie lifecycle to libvirtd.service
We already guarantee that virtlogd.socket is enabled/disabled
along with libvirtd.service, but if libvirtd.service has just
been installed and is started before rebooting, then
virtlogd.socket will not be running and guest startup will
fail.

Add Requires=virtlogd.socket to libvirtd.service to make sure
virtlogd.socket is always started along with libvirtd.service,
and add Before=libvirtd.service to both virtlogd.socket and
virtlogd.service so that virtlogd never disappears before
libvirtd has exited.

Also add PartOf=libvirtd.service to both virtlogd.socket and
virtlogd.service, so that virtlogd can be shut down when not
needed.

Resolves: https://bugzilla.redhat.com/1372576
(cherry picked from commit 839a060890)
2017-05-10 15:27:59 -04:00
..
admin_server.c admin_server: Avoid accessing unallocated memory 2016-03-25 10:18:00 +01:00
admin_server.h admin: Add virAdmConnectLookupServer 2016-03-17 17:06:22 +01:00
admin.c admin: Generate ConnectListServers dispatch helpers 2016-03-11 12:58:41 +01:00
admin.h admin: Move admin_server.{h,c} to admin.{h,c} 2016-02-17 12:46:34 +01:00
libvirt.rules polkit: Allow password-less access for 'libvirt' group 2015-05-04 12:57:06 -04:00
libvirtd-config.c Libvirt: Add missing default value for config option max_queued_clients 2016-03-01 18:00:19 +01:00
libvirtd-config.h rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
libvirtd.aug Add configuration options for permissions on daemon's admin socket 2015-06-16 13:46:21 +02:00
libvirtd.c util: Add virGettextInitialize, convert the code 2016-04-20 09:23:35 -04:00
libvirtd.conf Revert "daemon: use socket activation with systemd" 2016-04-20 09:31:48 -04:00
libvirtd.h daemon: add connection close rpc 2016-03-01 14:18:16 +00:00
libvirtd.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirtd.libxl.logrotate.in libxl: add logrotate config file 2015-05-05 09:08:11 -06:00
libvirtd.logrotate.in Add logrotate support for libvirtd.log 2011-03-04 22:43:55 +08:00
libvirtd.lxc.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.pod.in Properly handle -h / -V for --help/--version aliases in virtlockd/libvirtd 2013-08-13 14:06:01 +01:00
libvirtd.policy.in daemon: Make the default PolicyKit policy auth_admin_keep. 2012-11-01 13:17:26 +00:00
libvirtd.qemu.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.sasl daemon: Fix command example in libvirtd.sasl 2013-07-09 10:01:55 -04:00
libvirtd.service.in virtlogd.socket: Tie lifecycle to libvirtd.service 2017-05-10 15:27:59 -04:00
libvirtd.sysconf daemon: Enhance documentation for changing NOFILE limit 2014-03-20 10:55:44 +01:00
libvirtd.sysctl init: raise default system aio limits 2011-10-05 14:49:35 -06:00
libvirtd.uml.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.upstart daemon: Allow overriding NOFILES ulimit for the daemon as well 2012-02-01 16:04:30 +01:00
Makefile.am Revert "daemon: use socket activation with systemd" 2016-04-20 09:31:48 -04:00
remote.c virDomain{Get,Set}PerfEvents: Add @flags argument 2016-03-31 07:24:36 +02:00
remote.h Implement the RPC protocol for the libvirt-lxc.la library 2013-01-15 18:16:53 +00:00
stream.c Replace virStreamFree with virObjectUnref 2014-12-02 11:03:41 -05:00
stream.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
test_libvirtd.aug.in rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
THREADS.txt docs: fix usage of 'onto' 2013-04-19 14:31:16 -06:00