[libvirt] [PATCH] Don't depend on syslog.service

Guido Günther agx at sigxcpu.org
Tue Nov 19 20:50:18 UTC 2013


On Tue, Nov 19, 2013 at 03:14:44PM -0500, Cole Robinson wrote:
> On 11/11/2013 04:02 AM, Guido Günther wrote:
> > Syslog is socket activated since at least systemd v35 so we can drop
> > this dependency. Debian's linitian otherwise complains about it.
> > 
> > References:
> > 
> >     http://www.freedesktop.org/wiki/Software/systemd/syslog/
> >     http://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-target.html
> > ---
> >  src/locking/virtlockd.service.in | 1 -
> >  tools/libvirt-guests.service.in  | 2 +-
> >  2 files changed, 1 insertion(+), 2 deletions(-)
> > 
> > diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
> > index a9f9f93..0ef9923 100644
> > --- a/src/locking/virtlockd.service.in
> > +++ b/src/locking/virtlockd.service.in
> > @@ -1,7 +1,6 @@
> >  [Unit]
> >  Description=Virtual machine lock manager
> >  Requires=virtlockd.socket
> > -After=syslog.target
> >  
> >  [Service]
> >  EnvironmentFile=-/etc/sysconfig/virtlockd
> > diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
> > index d41bf2b..5aeb14c 100644
> > --- a/tools/libvirt-guests.service.in
> > +++ b/tools/libvirt-guests.service.in
> > @@ -1,6 +1,6 @@
> >  [Unit]
> >  Description=Suspend Active Libvirt Guests
> > -After=syslog.target network.target
> > +After=network.target
> >  
> >  [Service]
> >  EnvironmentFile=-/etc/sysconfig/libvirt-guests
> > 
> 
> ACK

Pushed. Thanks!
 -- Guido




More information about the libvir-list mailing list