Bug#956936: Same issue on bullseye [[Was: Re: Also impacts buster packages]]

2021-01-26 Thread Bernd Schatz

Hi,


On Tue, 26 Jan 2021 14:06:49 +0100 Bernd Schatz 
wrote:

Now i run into this issue.

sudo debsums --config | grep -v OK
/etc/sudoersFAILED

id
uid=1004(beschat) gid=1004(beschat)
Gruppen=1004(beschat),1005(libvirtd),64055(libvirt-qemu)


Sorry, just after sending the mail i saw that i added the wrong
group, after:


sudo usermod -a -G libvirt beschat

the box starts, now i ran into this:

$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'debian/testing64' version '20210124.1' is
up to date...
==> default: Starting domain.
There was an error talking to Libvirt. The error message is shown
below:

Call to virDomainCreateWithFlags failed: can't connect to virtlogd:
Socket-Erstellung zu '/r


But this seems to be another issue ...




--
Bernd



Bug#956936: Same issue on bullseye [[Was: Re: Also impacts buster packages]]

2021-01-26 Thread Bernd Schatz

Hi,

On Mon, 31 Aug 2020 14:51:35 -0600 Joel Johnson  wrote:

Version: 5.0.0-4+deb10u1

I ran into this same issue on a buster system, with additional
buster-backports packages installed. After digging through it appears
that during a recent update the libvirt-daemon-system package was
uninstalled without me noticing. Reinstalling the package also resolved
the issue for me.



Because of an other problem with a vagrant box and debian buster
i tried to reproduce that issue on a newly installed debian bullseye.

Now i run into this issue.

sudo debsums --config | grep -v OK
/etc/sudoersFAILED

id
uid=1004(beschat) gid=1004(beschat)
Gruppen=1004(beschat),1005(libvirtd),64055(libvirt-qemu)


$ echo $VAGRANT_DEFAULT_PROVIDER
libvirt


Bringing machine 'default' up with 'libvirt' provider...
Error while connecting to Libvirt: Error making a connection to libvirt
URI qemu:///system?no_verify=1=/home/beschat/.ssh/id_rsa:
Call to virConnectOpen failed: authentication unavailable: no polkit
agent available to authenticate action 'org.libvirt.unix.manage'


 dpkg -l | grep polkit
ii  gir1.2-polkit-1.0 0.105-29
  amd64GObject introspection data for PolicyKit
ii  libpolkit-agent-1-0:amd64 0.105-29
  amd64PolicyKit Authentication Agent API
ii  libpolkit-gobject-1-0:amd64   0.105-29
  amd64PolicyKit Authorization API
ii  libpolkit-qt5-1-1:amd64   0.113.0-1
  amd64PolicyKit-qt5-1 library


sudo cat /var/lib/polkit-1/localauthority/10-vendor.d/60-libvirt.pkla
[Allow group libvirt management permissions]
Identity=unix-group:libvirt
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes


--
Bernd