Skip to content

Description missing to mask libvirtd services for Ubuntu #10667

Closed

Description

@sjanssen15

problem

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

  1. Follow guide up till end of "Install and Configure libvirt"
  2. Try to restart libvirtd
  3. 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

  1. boring-cyborg commented on Apr 7, 2025

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. yadvr commented on Apr 8, 2025

    @yadvr
    Member

    @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.

  3. sjanssen15 commented on Apr 8, 2025

    @sjanssen15
    Author

    @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.

    Yes, this is the guide I followed after I got that issue, and this one worked

  4. Gunseerat commented on Apr 9, 2025

    @Gunseerat

    @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.

    Yes, this is the guide I followed after I got that issue, and this one worked

    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!

  5. sjanssen15 commented on Apr 9, 2025

    @sjanssen15
    Author

    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?

  6. locked and limited conversation to collaborators on Apr 9, 2025
  7. converted this issue into a discussion #10681 on Apr 9, 2025
  8. added this to the unplanned milestone on Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions