You are not logged in.
Pages: 1
Topic closed

i searched a bit online but i couldn't find anything
systemctl status libvirtd.service● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-03-18 13:47:47 CET; 1min 15s ago
TriggeredBy: ● libvirtd-admin.socket
● libvirtd-ro.socket
● libvirtd.socket
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 8107 (libvirtd)
Tasks: 19 (limit: 32768)
Memory: 13.7M
CGroup: /system.slice/libvirtd.service
└─8107 /usr/bin/libvirtd --timeout 120
Mar 18 13:47:47 peep systemd[1]: Started Virtualization daemon.
Mar 18 13:47:48 peep libvirtd[8107]: libvirt version: 7.0.0
Mar 18 13:47:48 peep libvirtd[8107]: hostname: peep
Mar 18 13:47:48 peep libvirtd[8107]: Cannot find 'dmidecode' in path: No such file or directory
Mar 18 13:47:48 peep libvirtd[8107]: Obsolete nvram variable is set while firmware metadata files found. Note that the nvram config file variable is going to be ignored.
Mar 18 13:47:48 peep libvirtd[8107]: Cannot find 'dmidecode' in path: No such file or directory
Mar 18 13:48:08 peep libvirtd[8107]: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
Mar 18 13:48:08 peep libvirtd[8107]: End of file while reading data: Input/output error
~
~Offline
Mar 18 13:48:08 peep libvirtd[8107]: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
Try installing and configuring a polkit agent...
https://wiki.archlinux.org/index.php/Polkit
Have you gone through all of the configuration steps for libvirt?
https://wiki.archlinux.org/index.php/Libvirt
Offline
Raker1337 wrote:Mar 18 13:48:08 peep libvirtd[8107]: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'Try installing and configuring a polkit agent...
https://wiki.archlinux.org/index.php/PolkitHave you gone through all of the configuration steps for libvirt?
https://wiki.archlinux.org/index.php/Libvirt
i haven't configured polkit neither libvirt but i don't know how to do none of those 2
Offline
Slithery wrote:Have you gone through all of the configuration steps for libvirt?
https://wiki.archlinux.org/index.php/Libvirti haven't configured polkit neither libvirt but i don't know how to do none of those 2
What from the libvirt wiki page have you attempted? What failed? What do you not understand?
Last edited by loqs (2021-03-18 17:52:34)
Offline
After having encountered this issue for years, the solution just finally occurred to me! Hopefully this will help people in the future.
The clue is in the line:
Cannot find 'dmidecode' in path: No such file or directoryThis seems awfully similar to when the shell is trying to find a file somewhere and can't find it. There's also a shell/environment variable called `PATH`, which is a colon-separated list of directories in which command executables are found. What had never occurred to me is that this message isn't just saying "I couldn't find some config file `dmidecode` in some path." Instead it's saying "I couldn't find the executable `dmidecode` in `$PATH`." I think what threw me off is that these "program not found" error messages typically use all caps on the word PATH to indicate it's an environment variable, and are often a little more helpfully worded in general.
The solution turned out to be as simple as installing the `dmidecode` package and restarting the service. Now I get the beautiful green bubbles in `systemctl status libvirtd.service virtlogd.service`! I'm not sure why `dmidecode` isn't marked as a dependency of `libvirt` since it's required for operation...
sudo pacman -Syu dmidecode # Install the dmidecode package
sudo systemctl restart libvirtd.service virtlogd.service # Start/restart the libvirt service (and it's logging helper)Last edited by joshlangley (2023-08-07 01:14:02)
Offline
I'm not sure why `dmidecode` isn't marked as a dependency of `libvirt` since it's required for operation...
pacman -Qi libvirt , check optional dependencies.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for sharing. As this is an old topic, and the OP hasn't been back since 2021, I'm going to close it now.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed