[libvirt] Patch replaces scriptlets with new systemd macros
Daniel P. Berrange
berrange at redhat.com
Mon Oct 29 11:56:29 UTC 2012
On Fri, Oct 26, 2012 at 08:09:54AM +0200, Václav Pavlín wrote:
> Eric Blake píše v Čt 25. 10. 2012 v 10:41 -0600:
> > Hello,
>
> > Ah, then maybe you did answer the big question. Except that I don't see
> > the updated patch - did you forget to attach it?
>
> Sure, I did forgot, sorry. Here it is...
>
> diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in
> index b7afadf..b78c301 100644
> --- a/daemon/libvirtd.service.in
> +++ b/daemon/libvirtd.service.in
> @@ -7,6 +7,7 @@
> Description=Virtualization daemon
> Before=libvirt-guests.service
> After=network.target
> +Requires=cgconfig.service
I explicitly left that out when i created the libvirtd.service file.
Since systemd itself is capable of setting up cgroups by default, the
common need for cgconfig.service has gone away. A minority of people
may still wish to use it, but they can customize the libvirtd.service
file themselves if desired - we shouldn't force cgconfig.service onto
everyone esle.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list