Virt-manager doesn't work after install before a reboot
Bug #1784872 reported by
Pedro Côrte-Real
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Right after installing virt-manager running it results in an error about not being able to access the system daemon. This is fixed after a reboot.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: virt-manager 1:1.5.1-0ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 1 15:07:16 2018
InstallationDate: Installed on 2018-05-31 (62 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitec
SourcePackage: virt-manager
UpgradeStatus: No upgrade log present (probably fresh install)
To post a comment you must log in.
Hi Pedro,
If you had no libvirt installed at all then your user will - after install - not have the group "libvirtd" yet.
A simple relogon or any new session would do to get that.
Even some su - tricks could do so, but TL;DR I assume you are just not yet a member of the group.
Obviously a reboot is the hardest way of "re-logging in" :-/
This is a common pattern - for example on a new system installing "lxd" you will not be able to use it right away not having the LXD group, but relogging to refresh groups makes it work.
I'm not sure there is a lot I can do about it.
If there is a good way to do so I'd be happy to lean about it. But then IMHO all packages adding default group memberships should do so and that sounds like a dh_ helper then.
You are welcome to extend the bug to debhelper, but I'd think a mail to ubuntu-devel mailing list might be more appropriate to start an open discussion.
Setting incomplete, would be happy to hear if my assumption of the group membership is your case.
If not lets check what else it is - maybe starting with "sytemctl status libvirtd" and "id" after installing the packages.