You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Description missing to mask libvirtd services for Ubuntu #10667
When following the install guide on KVM hypervisors, it says at point 2 to mask certain systemd services for RHEL 8 / CentOS 8 / SUSE. However, when following this guide on Ubuntu 24.04, starting libvirtd will fail with an error. When masking these services it doesn't fail.
versions
CloudStack is not yet installed, but trying version 4.20.0.0 install guide
OS: Ubuntu 24.04.2 LTS
Hardware: bare-metal
Kernel: 6.8.0-57-generic
libvirtd: 10.0.0, package 10.0.0-2ubuntu8.6
cloudstack-agent: noble/4.20.0.0
The steps to reproduce the bug
Follow guide up till end of "Install and Configure libvirt"
Try to restart libvirtd
See following error in libvirtd service --listen parameter not permitted with systemd activation sockets, see 'man libvirtd' for further guidance
What to do about it?
Execute the systemctl mask command from the guide on Ubuntu 24.04.02 in order to make it start. systemctl mask libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tls.socket libvirtd-tcp.socket
Activity
boring-cyborg commentedon Apr 7, 2025
Thanks for opening your first issue here! Be sure to follow the issue template!
yadvr commentedon Apr 8, 2025
@sjanssen15 can you try my notes on Ubuntu from here and see if it works - https://rohityadav.cloud/blog/cloudstack-kvm/#kvm-host-setup
We can try to update the docs if they do.
sjanssen15 commentedon Apr 8, 2025
Yes, this is the guide I followed after I got that issue, and this one worked
Gunseerat commentedon Apr 9, 2025
Hi there!
Can you try skipping this step?
echo LIBVIRTD_ARGS="--listen" >> /etc/default/libvirtd
or just comment it in the file again.
I hope this helps!
sjanssen15 commentedon Apr 9, 2025
I'm not sure if I can try this again since I masked the services already and that fixed it. You want me to remove the masking and try this again?