Skip to content

Commit

Permalink
libvirtd: don't start libvirtd-tcp.socket by default
Browse files Browse the repository at this point in the history
Per upstream:

> libvirtd-tcp.socket - the unit file corresponding to the TCP 16509
> port for non-TLS remote access. This socket should not be configured
> to start on boot until the administrator has configured a suitable
> authentication mechanism.

(cherry picked from commit 84ecbc9)
  • Loading branch information
grahamc committed Jul 8, 2020
1 parent b1d8764 commit 6a00eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/virtualisation/libvirtd.nix
Expand Up @@ -267,7 +267,7 @@ in {
restartIfChanged = false;
};

systemd.sockets.libvirtd .wantedBy = [ "sockets.target" ];
systemd.sockets.libvirtd-tcp.wantedBy = [ "sockets.target" ];
# https://libvirt.org/daemons.html#monolithic-systemd-integration
systemd.sockets.libvirtd.wantedBy = [ "sockets.target" ];
};
}

0 comments on commit 6a00eba

Please sign in to comment.