On Wed, Sep 21, 2016 at 12:27:16PM +0200, pbrezina wrote:
URL:
https://github.com/SSSD/sssd/pull/30
Author: pbrezina
Title: #30: sssctl: use systemd D-Bus API
Action: opened
PR body:
"""
If systemd is used we leverage it's D-Bus API instead of running systemctl.
Resolves:
https://fedorahosted.org/sssd/ticket/3056
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/30/head:pr30
git checkout pr30
From 73b6071341262a298e3caf6857361504c8512d6c Mon Sep 17 00:00:00
2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina(a)redhat.com>
Date: Wed, 21 Sep 2016 12:25:43 +0200
Subject: [PATCH] sssctl: use systemd D-Bus API
If systemd is used we leverage it's D-Bus API instead of running systemctl.
Resolves:
https://fedorahosted.org/sssd/ticket/3056
---
Makefile.am | 1 +
src/tools/sssctl/sssctl.c | 23 +++++++++++++----------
src/tools/sssctl/sssctl.h | 4 ++++
3 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index f792ed6..7e6bf7e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1570,6 +1570,7 @@ sss_override_CFLAGS = \
sssctl_SOURCES = \
src/tools/sssctl/sssctl.c \
+ src/tools/sssctl/sssctl_systemd.c \
Did you forget to git add this file?
> src/tools/sssctl/sssctl_cache.c \
> src/tools/sssctl/sssctl_data.c \
> src/tools/sssctl/sssctl_logs.c \