libvirt-daemon-system package runs dnsmasq as nobody
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
libvirt-
$ lsb_release -rd
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
$ apt-cache policy libvirt-
libvirt-
Instal·lat: 3.6.0-1ubuntu6
Candidat: 3.6.0-1ubuntu6
Taula de versió:
*** 3.6.0-1ubuntu6 500
500 http://
100 /var/lib/
$ sudo apt install libvirt-
S'està llegint la llista de paquets… Fet
S'està construint l'arbre de dependències
S'està llegint la informació de l'estat… Fet
S'instal·laran els següents paquets extres:
libvirt-daemon
Paquets suggerits:
numad radvd auditd systemtap nfs-common zfsutils pm-utils
S'instal·laran els paquets NOUS següents:
libvirt-daemon libvirt-
0 actualitzats, 2 nous a instal·lar, 0 a suprimir i 0 no actualitzats.
S'ha d'obtenir 0 B/2227 kB d'arxius.
Després d'aquesta operació s'empraran 10,3 MB d'espai en disc addicional.
Voleu continuar? [S/n]
S'estan preconfigurant els paquets...
S'està seleccionant el paquet libvirt-daemon prèviament no seleccionat.
(S'està llegint la base de dades… hi ha 150336 fitxers i directoris instal·lats actualment.)
S'està preparant per a desempaquetar …/libvirt-
S'està desempaquetant libvirt-daemon (3.6.0-1ubuntu6)…
S'està seleccionant el paquet libvirt-
S'està preparant per a desempaquetar …/libvirt-
S'està desempaquetant libvirt-
S'estan processant els activadors per a ureadahead (0.100.0-20)…
ureadahead will be reprofiled on next reboot
S'està configurant libvirt-daemon (3.6.0-1ubuntu6)…
S'estan processant els activadors per a systemd (235-3ubuntu3)…
S'estan processant els activadors per a man-db (2.7.6.1-4)…
S'està configurant libvirt-
S'està afegint l'usuari libvirt-qemu al grup libvirt-qemu
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
virtlockd.service is a disabled or a static unit, not starting it.
Setting up libvirt-daemon dnsmasq configuration.
S'estan processant els activadors per a ureadahead (0.100.0-20)…
S'estan processant els activadors per a systemd (235-3ubuntu3)…
$ service libvirtd status
● libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/
Active: active (running) since Tue 2018-01-16 18:16:08 CET; 7s ago
Docs: man:libvirtd(8)
http://
Main PID: 3476 (libvirtd)
Tasks: 18 (limit: 32768)
CGroup: /system.
├─3476 /usr/sbin/libvirtd
├─3771 /usr/sbin/dnsmasq --conf-
└─3772 /usr/sbin/dnsmasq --conf-
gen 16 18:16:08 desktop systemd[1]: Started Virtualization daemon.
gen 16 18:16:09 desktop dnsmasq[3771]: started, version 2.78 cachesize 150
gen 16 18:16:09 desktop dnsmasq[3771]: compile time options: IPv6 GNU-getopt DBu
gen 16 18:16:09 desktop dnsmasq-dhcp[3771]: DHCP, IP range 192.168.122.2 -- 192.
gen 16 18:16:09 desktop dnsmasq-dhcp[3771]: DHCP, sockets bound exclusively to i
gen 16 18:16:09 desktop dnsmasq[3771]: reading /etc/resolv.conf
gen 16 18:16:09 desktop dnsmasq[3771]: using nameserver 127.0.0.53#53
gen 16 18:16:09 desktop dnsmasq[3771]: read /etc/hosts - 7 addresses
gen 16 18:16:09 desktop dnsmasq[3771]: read /var/lib/
gen 16 18:16:09 desktop dnsmasq-dhcp[3771]: read /var/lib/
$ sudo ps aux | grep dnsmasq | grep -v grep
nobody 3771 0.0 0.0 54552 388 ? S 18:16 0:00 /usr/sbin/dnsmasq --conf-
root 3772 0.0 0.0 54524 388 ? S 18:16 0:00 /usr/sbin/dnsmasq --conf-
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libvirt-
ProcVersionSign
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.8-0ubuntu6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jan 16 18:18:29 2018
InstallationDate: Installed on 2018-01-16 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180115)
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
information type: | Private Security → Public Security |
summary: |
- libvirt-daemon-system package runs dnsmasq as root + libvirt-daemon-system package runs dnsmasq as roo |
summary: |
- libvirt-daemon-system package runs dnsmasq as roo + libvirt-daemon-system package runs dnsmasq as nobody |
description: | updated |
tags: | added: 4.0.0-1ubuntu5 |
I believe this is working as designed: one process is the parent of the other:
$ sudo ps -C dnsmasq -ocomm, euid,uid, pid,ppid, args | cat file=/var/ lib/libvirt/ dnsmasq/ default. conf --leasefile-ro --dhcp- script= /usr/lib/ libvirt/ libvirt_ leaseshelper file=/var/ lib/libvirt/ dnsmasq/ default. conf --leasefile-ro --dhcp- script= /usr/lib/ libvirt/ libvirt_ leaseshelper
COMMAND EUID UID PID PPID COMMAND
dnsmasq 118 118 2815 1 /usr/sbin/dnsmasq --conf-
dnsmasq 0 0 2816 2815 /usr/sbin/dnsmasq --conf-
BTW, 'nobody' is strictly reserved for NFS use. If any processes run as user 'nobody' then that process would have undue influence over NFS.
Thanks