Re: qemu/kvm startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/2/25 4:16 PM, Jeffrey Walton wrote:
On Thu, Jan 2, 2025 at 12:26 PM Robert McBroom via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

On 12/29/24 4:40 AM, Barry Scott wrote:

On 29 Dec 2024, at 00:12, Jonathan Billings <billings@xxxxxxxxxx> wrote:

libvirtd was changed to use socket activation, so it *should* start if the libvirtd.socket is enabled and activated

Running Virtual machine Manager will connect to the socket and every thing will start running.
To use Virtual machine manager without password prompts add your user to the libvirt group.

sudo useradd -G libvert -a <username>

useradd -G libvirt -a rm3
useradd: invalid option -- 'a'
Usage: useradd [options] LOGIN
       useradd -D
       useradd -D [options]

This is from a Ubuntu 20 machine with QEMU/KVM:

    $ cat /etc/group | grep virt
    libvirt:x:145:jwalton,lboszormenyi,djb,pgutmann,apolyakov
    libvirt-qemu:x:64055:libvirt-qemu
    libvirt-dnsmasq:x:146:

And from a Fedora 41 machine:

    $ cat /etc/group | grep virt
    libvirt:x:978:jwalton,djb,pgutmann,apolyakov

You shouldn't need to use virtual machine manager to start libvirtd. It should run at boot (if enabled) and start up any VMs that are set for starting at boot. I haven't had any issues with that, although all my VM hosts were installed a long time ago and only upgraded. I haven't tried setting it up on a recently installed system, so maybe something has changed.

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux