Libvirt Qemu appears as user in login screen and user switch menu

Bug #1672112 reported by jeremy-list on 2017-03-12
76
This bug affects 17 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Undecided
Unassigned

Bug Description

The system user libvirt-qemu set up by libvirt has user id 64055, which causes all other software on the system to treat it as a regular user (including listing it on the login screen and other lists of users)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libvirt0 1.3.1-1ubuntu10.8
ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Mar 12 11:04:27 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-03-04 (7 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu.conf']
modified.conffile..etc.libvirt.qemu.networks.default.xml: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu/networks/default.xml']

jeremy-list (quick-dudley) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libvirt (Ubuntu):
status: New → Confirmed
Armando Toledo (mandy1339) wrote :

Are there any updates on this bug?

I'll update in the dup

Madan Hegde (madan.hegde) wrote :

I had been facing the same problem along with one more user account named "No value has been set".
For "Libvirt Qemu" tried purging "qemu-kvm" and it's configuration files. But still user account was existed. I had been trying for the solution and found one that you can also try. (I'm using linux mint 18.2 Sonya)

Go to location /etc/ as root and find a file named "passwd" and open it. Now find the line
"libvirt-qemu:x:64055:132:Libvirt Qemu,,,:/var/lib/libvirt:/bin/false" (see the image I attached not to get confused, values may vary in your case) and clear it (don't clear any other line which is not related to "libvirt-qemu"). I found that line almost at the end of the list.

If you're having one more user account named "No value has been set" then clear the line below:
"<admin name>:x:1001:1002:No value has been set:/dev/null:/dev/null" (values may vary in your case)

And now I don't have these user accounts or any other issue after removing those values: "libvirt qemu" and "No value has been set"

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers