AOSC-Dev / aosc-os-abbs

ABBS/ACBS tree for AOSC OS package metadata, build configuration, scripts, and patches
https://packages.aosc.io
GNU General Public License v2.0
93 stars 71 forks source link

libvirt 4.1.0-2: looking up a missing group 'nobody' #1298

Closed misaka4e21 closed 3 years ago

misaka4e21 commented 6 years ago

Didn't change libvirtd.conf or systemd service file that controls user and group to run libvirtd.

 7月 23 08:43:46 pc1 systemd[1]: Started Virtualization daemon.
 7月 23 08:43:46 pc1 libvirtd[55264]: 2018-07-23 00:43:46.704+0000: 55280: error : virGetGroupID:1125 : invalid argument: Failed to parse group 'nobody'
 7月 23 08:43:46 pc1 libvirtd[55264]: 2018-07-23 00:43:46.704+0000: 55280: error : virStateInitialize:775 : Initialization of QEMU state driver failed: invalid argument: Failed to parse group 'nob>
 7月 23 08:43:46 pc1 libvirtd[55264]: 2018-07-23 00:43:46.704+0000: 55280: error : daemonRunStateInit:837 : Driver state initialization failed

groupadd nobody makes it work well.

MingcongBai commented 5 years ago

@cthbleachbit Could you look into this one?

misaka4e21 commented 5 years ago

It is 2019 (

 1月 12 11:13:58 pc1 libvirtd[4198]: 2019-01-12 03:13:58.796+0000: 4214: error : virGetGroupID:1125 : invalid argument: Failed to parse group 'nobody'
 1月 12 11:13:58 pc1 libvirtd[4198]: 2019-01-12 03:13:58.796+0000: 4214: error : virStateInitialize:664 : Initialization of QEMU state driver failed: invalid argument: Failed to parse group 'nobody'
 1月 12 11:13:58 pc1 libvirtd[4198]: 2019-01-12 03:13:58.796+0000: 4214: error : daemonRunStateInit:805 : Driver state initialization failed
misaka4e21 commented 5 years ago

https://github.com/AOSC-Dev/aosc-os-abbs/blob/explosive/extra-emulation/libvirt/autobuild/defines#L21

 --with-qemu-user=nobody --with-qemu-group=nobody \
MingcongBai commented 3 years ago

No longer reproducible as of 6.10.0.