| Summary: | Provide native systemd unit file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> | ||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | berrange, clalance, crobinso, eblake, itamar, jforbes, laine, veillard, virt-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-01 23:49:28 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 713562 | ||||||
| Attachments: |
|
||||||
|
Description
Jóhann B. Guðmundsson
2011-07-04 00:20:47 UTC
Created attachment 511091 [details] Native systemd service file for libvirtd https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd http://fedoraproject.org/wiki/Packaging:Tmpfiles.d Note that libvirt-guest sys legacy script requires some work to work with systemd You probably need to put the start/stop section from it into a script then call it from the unit file as in something like.. [Unit] Description=Suspend Active Libvirt Guests After=syslog.target network.target [Service] EnvironmentFile=-/sysconfig/libvirt-guests ExecStart=/path/to/libvirt-guests start ExecStop=/path/to/libvirt-guests stop [Install] WantedBy=multi-user.target Posted a patch upstream http://www.redhat.com/archives/libvir-list/2011-July/msg00343.html This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Now upstream, for 0.9.8.
commit 4789fb2e4e5bbb9132310a802a90f0ce85ec0016
Author: Daniel P. Berrange <berrange>
AuthorDate: Thu Jul 7 14:45:07 2011 +0100
Commit: Daniel P. Berrange <berrange>
CommitDate: Fri Nov 18 16:16:02 2011 +0000
Add support for systemd init service
This patch adds support for a systemd init service for libvirtd
and libvirt-guests. The libvirtd.service is *not* written to use
socket activation, since we want libvirtd to start on boot so it
can do guest auto-start.
The libvirt-guests.service is pretty lame, just exec'ing the
original init script for now. Ideally we would factor out the
functionality, into some shared tool.
|