Bug 1588288
| Summary: | libvirt systemd unit file issue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Toolybird <toolybird> | ||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | crobinso, libvirt-maint, rbalakri | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-06-12 17:30:39 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Yes that looks like the correct fix, thanks! Want to send a patch? The file is src/remote/libvirtd.service.in in git://libvirt.org/libvirt.git , patches go to libvir-list. This commit is similar: https://libvirt.org/git/?p=libvirt.git;a=commit;h=1b0c42ff7af3026b7986f81989dece0da53c8b5d I sent a patch upstream: https://www.redhat.com/archives/libvir-list/2018-June/msg00954.html Fixed upstream now:
commit 9f1b1194b031d528f4b376371282ed61279165b0
Author: Cole Robinson <crobinso>
Date: Thu Jun 7 10:44:34 2018 -0400
libvirtd: Add service dependency on systemd-logind
|
Created attachment 1448577 [details] journal sample Description of problem: libvirtd starts up before systemd-logind.service has finished loading resulting in spurious messages in journal as per below: Version-Release number of selected component (if applicable): libvirt-4.4.0 How reproducible: Not always, but currently averaging every second boot While setting up a new Ryzen 2700X box with Arch I'm seeing these minor errors / warnings in the journal: error : virNodeSuspendSupportsTarget:336 : internal error: Cannot probe for supported suspend types warning : virQEMUCapsInit:949 : Failed to get host power management capabilities (log with more context is attached) 1. This must be a timing issue as it doesn't happen every boot 2. This system being quite fast helps trigger the issue The following systemd "drop-in" completely solves the problem for me: [Unit] After=systemd-logind.service I'm not sure if this is a correct fix, but please consider.