[libvirt] [PATCH] Fix substitution of sbindir in virtlockd.service

Jim Fehlig jfehlig at suse.com
Fri Jan 4 18:14:57 UTC 2013


The makefile rule substitutes variables delimited by '::', but the
virtlockd service files uses '@'.  Change the service file to
match the makefile rule.
---
 src/locking/virtlockd.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
index a9f9f93..dad7c19 100644
--- a/src/locking/virtlockd.service.in
+++ b/src/locking/virtlockd.service.in
@@ -5,7 +5,7 @@ After=syslog.target
 
 [Service]
 EnvironmentFile=-/etc/sysconfig/virtlockd
-ExecStart=@sbindir@/virtlockd
+ExecStart=::sbindir::/virtlockd
 ExecReload=/bin/kill -HUP $MAINPID
 # Loosing the locks is a really bad thing that will
 # cause the machine to be fenced (rebooted), so make
-- 
1.8.0.1




More information about the libvir-list mailing list