** Summary changed:

- permission denied to connect to /var/run/libvirt/libvirt-sock
+ adapt Ubuntu user handling to use sysusers

** Description changed:

  libvirt client can no longer connect to the socket
  /var/run/libvirt/libvirt-sock
  
  ---
  enable proposed + pin
  
  $ sudo apt install libvirt-clients   qemu-system-x86 libvirt-daemon-
  system
  
  $ log out and log in
  
  $ apt policy libvirt-clients
  libvirt-clients:
-   Installed: 12.0.0-1ubuntu1
-   Candidate: 12.0.0-1ubuntu1
-   Version table:
-  *** 12.0.0-1ubuntu1 1000
-        1000 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages
-         100 /var/lib/dpkg/status
-      11.6.0-1ubuntu8 500
-         500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
- ubuntu@verified-dolphin:~/notes/scripts$ 
- 
+   Installed: 12.0.0-1ubuntu1
+   Candidate: 12.0.0-1ubuntu1
+   Version table:
+  *** 12.0.0-1ubuntu1 1000
+        1000 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages
+         100 /var/lib/dpkg/status
+      11.6.0-1ubuntu8 500
+         500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
+ ubuntu@verified-dolphin:~/notes/scripts$
  
  $ virsh list
  error: failed to connect to the hypervisor
  error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': 
Permission denied
+ 
+ 
+ ---
+ 
+ That is due to debian switching to use sysusers and no more calling the 
function.
+ We have two deltas:
+ - create a swtpm user - that will also use sysusers
+ - add everyone in group sudo to group libvirt - that is dynamic and will stay 
in postinst

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142453

Title:
  adapt Ubuntu user handling to use sysusers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2142453/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to