[kexec-tools] kdump-emergency.service: executable uses absolute path

WANG Chao wangchao at fedoraproject.org
Thu Aug 28 05:06:22 UTC 2014


commit 1ff6192737be82c17ec1803c8cf6ad6f3fbb1222
Author: WANG Chao <chaowang at redhat.com>
Date:   Wed Aug 27 16:32:17 2014 +0800

    kdump-emergency.service: executable uses absolute path
    
    Bao noticed the following systemd warning:
    
    systemd[1]: [/usr/lib/systemd/system/emergency.service:17] Executable path is
    not absolute, ignoring: systemctl --no-block isolate kdump-error-handler.service
    
    It turns out that now systemd doesn't allow relative path for an executable, we
    must adapt that, make the change.
    
    Signed-off-by: WANG Chao <chaowang at redhat.com>
    Tested-by: Baoquan He <bhe at redhat.com>
    Acked-by: Vivek Goyal <vgoyal at redhat.com>

 dracut-kdump-emergency.service |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dracut-kdump-emergency.service b/dracut-kdump-emergency.service
index a64610c..fb764f2 100644
--- a/dracut-kdump-emergency.service
+++ b/dracut-kdump-emergency.service
@@ -14,7 +14,7 @@ Description=Kdump Emergency
 DefaultDependencies=no
 
 [Service]
-ExecStart=systemctl --no-block isolate kdump-error-handler.service
+ExecStart=/usr/bin/systemctl --no-block isolate kdump-error-handler.service
 Type=oneshot
 StandardInput=tty-force
 StandardOutput=inherit


More information about the scm-commits mailing list