mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 00:25:23 +00:00
cc5311e730
If a systemd socket uses /var/run in its path, systemd prints a warning at runtime [ 15.139976] systemd[1]: /usr/lib/systemd/system/virtlockd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/virtlockd-sock → /run/libvirt/virtlockd-sock; please update the unit file accordingly. This minimal change updates the socket unit files to honour the $runstatedir path. 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>
69 lines
2.4 KiB
Plaintext
69 lines
2.4 KiB
Plaintext
module Test_@DAEMON_NAME@ =
|
|
@CONFIG@
|
|
|
|
test @DAEMON_NAME_UC@.lns get conf =
|
|
@CUT_ENABLE_IP@
|
|
{ "listen_tls" = "0" }
|
|
{ "listen_tcp" = "1" }
|
|
{ "tls_port" = "16514" }
|
|
{ "tcp_port" = "16509" }
|
|
{ "listen_addr" = "192.168.0.1" }
|
|
@END@
|
|
{ "unix_sock_group" = "libvirt" }
|
|
{ "unix_sock_ro_perms" = "0777" }
|
|
{ "unix_sock_rw_perms" = "0770" }
|
|
{ "unix_sock_admin_perms" = "0700" }
|
|
{ "unix_sock_dir" = "@runstatedir@/libvirt" }
|
|
{ "auth_unix_ro" = "none" }
|
|
{ "auth_unix_rw" = "none" }
|
|
@CUT_ENABLE_IP@
|
|
{ "auth_tcp" = "sasl" }
|
|
{ "auth_tls" = "none" }
|
|
@END@
|
|
{ "access_drivers"
|
|
{ "1" = "polkit" }
|
|
}
|
|
@CUT_ENABLE_IP@
|
|
{ "key_file" = "@sysconfdir@/pki/libvirt/private/serverkey.pem" }
|
|
{ "cert_file" = "@sysconfdir@/pki/libvirt/servercert.pem" }
|
|
{ "ca_file" = "@sysconfdir@/pki/CA/cacert.pem" }
|
|
{ "crl_file" = "@sysconfdir@/pki/CA/crl.pem" }
|
|
{ "tls_no_sanity_certificate" = "1" }
|
|
{ "tls_no_verify_certificate" = "1" }
|
|
{ "tls_allowed_dn_list"
|
|
{ "1" = "DN1"}
|
|
{ "2" = "DN2"}
|
|
}
|
|
{ "tls_priority" = "NORMAL" }
|
|
@END@
|
|
{ "sasl_allowed_username_list"
|
|
{ "1" = "joe@EXAMPLE.COM" }
|
|
{ "2" = "fred@EXAMPLE.COM" }
|
|
}
|
|
{ "max_clients" = "5000" }
|
|
{ "max_queued_clients" = "1000" }
|
|
{ "max_anonymous_clients" = "20" }
|
|
{ "min_workers" = "5" }
|
|
{ "max_workers" = "20" }
|
|
{ "prio_workers" = "5" }
|
|
{ "max_client_requests" = "5" }
|
|
{ "admin_min_workers" = "1" }
|
|
{ "admin_max_workers" = "5" }
|
|
{ "admin_max_clients" = "5" }
|
|
{ "admin_max_queued_clients" = "5" }
|
|
{ "admin_max_client_requests" = "5" }
|
|
{ "log_level" = "3" }
|
|
{ "log_filters" = "1:qemu 1:libvirt 4:object 4:json 4:event 1:util" }
|
|
{ "log_outputs" = "3:syslog:@DAEMON_NAME@" }
|
|
{ "audit_level" = "2" }
|
|
{ "audit_logging" = "1" }
|
|
{ "host_uuid" = "00000000-0000-0000-0000-000000000000" }
|
|
{ "host_uuid_source" = "smbios" }
|
|
{ "keepalive_interval" = "5" }
|
|
{ "keepalive_count" = "5" }
|
|
{ "keepalive_required" = "1" }
|
|
{ "admin_keepalive_required" = "1" }
|
|
{ "admin_keepalive_interval" = "5" }
|
|
{ "admin_keepalive_count" = "5" }
|
|
{ "ovs_timeout" = "5" }
|