diff --git a/src/system-config-kdump-backend.py b/src/system-config-kdump-backend.py index b4d0135..63cb79e 100755 --- a/src/system-config-kdump-backend.py +++ b/src/system-config-kdump-backend.py @@ -190,6 +190,11 @@ class SystemConfigKdumpObject(slip.dbus.service.Object): the_call.returncode, stdout or "", stderr or "") if __name__ == '__main__': + # dbus-daemon cleans the environment including PATH. On s390x, zipl calls + # a script that does not use absolute paths to commands. The result is + # rhbz#1077113. Set the path here for the time being. + os.environ['PATH'] = '/sbin:/bin:/usr/sbin:/usr/bin' + dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) BUS = dbus.SystemBus ()