40151421697db0910c454d1af441cce4962dfb0b |
|
13-Oct-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
TOOLS: Print Better usage for sssctl debug-level
There is missing command name in help
sh# sssctl debug-level --help
Usage: DEBUG_LEVEL_TO_SET
-c, --config=STRING Specify a non-default config file
Help options:
-?, --help Show this help message
--usage Display brief usage message
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
d2c614143870e6efd4b3ab20c3a55cf714595256 |
|
25-Sep-2017 |
Justin Stephenson <jstephen@redhat.com> |
SSSCTL: Move sss_debuglevel to sssctl debug-level
Move code from sss_debuglevel to sssctl_logs.c and add new debug-logs
sssctl command to perform the same task of changing debug level
dynamically.
POPT_CONTEXT_KEEP_FIRST Flag added to poptGetContext call in
sssctl_debug_level() to fix argument parsing.
Resolves:
https://pagure.io/SSSD/sssd/issue/3057
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Michal Židek <mzidek@redhat.com> |
5b93634c7f0e34f69b4cf8fb9b2e77b9179024a7 |
|
28-Aug-2017 |
Fabiano Fidêncio <fidencio@redhat.com> |
UTIL: move {files,selinux}.c under util directory
files.c has at least one function that will be re-used for the new
session provider that's about to be added. Also, a few other functions
may be added and files.c seems the right place for those.
selinux.c has been moved together with files.c as the latter takes
advantage of some functions from the former and we do not want to always
link agains the tools code.
The public functions from files.c got a "sss_" prefix and it has been
changed whenever they're used.
Last but not least, all the places that included "tools/tools_util.h"
due to the functions on files.c had this include removed (as they were
already including "util/util.h".
Related:
https://pagure.io/SSSD/sssd/issue/2995
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
cf098cbeef745b75d2efe8334d4d715bcef31883 |
|
08-Jun-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove signal.h from util/util.h
signal.h is not used directly by util/util.h. The header file signal.h
must be included in 8 files and removing it from util.h it had to be
added only to 5 missing file. But util/util.h is include in 377 files
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
68f73e56a9b6133f8a9f4b3c0e696df6c30fec91 |
|
09-Aug-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: use internal API to remove files
Reviewed-by: Petr Cech <pcech@redhat.com> |
488b455f6b7881ec108a127840b1c1f1523d937f |
|
05-Aug-2016 |
Michal Židek <mzidek@redhat.com> |
sssctl: Consistent commands naming
Use TOPIC-ACTION pattern for sssctl command
names.
Resolves:
https://fedorahosted.org/sssd/ticket/3087
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
e157b9f6cb370e1b94bcac2044d26ad66d640fba |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: new tool
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |