tp-libvirt
tp-libvirt copied to clipboard
remote_access: Fix failure of customized_unix_sock_dir case
On RHEL 8, restarting libvirtd.socket will get the error[1]. This is due to SELinux preventing systemd from create access on the sock_file libvirt-sock. We can generate a local policy module to allow this access. So update it.
[1] ... systemd[1]: Failed to create listening socket: Permission denied ... systemd[1]: libvirtd.socket: Failed to listen on sockets: Permission denied ... systemd[1]: libvirtd.socket: Failed with result 'resources'.