Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 660530

Summary: app-emulation/libvirt: /etc/logrotate.d/libvirtd.qemu should call "su root qemu"
Product: Gentoo Linux Reporter: Greg Turner <gmturner007>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED INVALID    
Severity: normal CC: jstein, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Greg Turner 2018-07-06 16:41:36 UTC
app-emulation/libvirt's /etc/logrotate.d/libvirtd.qemu entry has a faulty entry which for literally months has been e-mailing me this on a daily basis:

  error: error switching euid to 77 and egid to -1: Invalid argument

That's it.  Nothing about libvirt, logrotate etc.  So you can see how it took me a while to find the culprit :)

Anyhow, I did, and it is this line of /etc/logrotate.d/libvirtd.qemu:

  su qemu

This should be changed, IIUC, to:

  su root qemu
Comment 1 Matthias Maier gentoo-dev 2018-08-19 18:47:52 UTC
libvirtd.qemu does not ship with a "su qemu" line. Did you add this line yourself?