Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660530 - app-emulation/libvirt: /etc/logrotate.d/libvirtd.qemu should call "su root qemu"
Summary: app-emulation/libvirt: /etc/logrotate.d/libvirtd.qemu should call "su root qemu"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 16:41 UTC by Greg Turner
Modified: 2018-08-19 18:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?