[systemd-devel] [PATCH] journal, coredump: allow relative values in some configuration options

2015-05-25 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com Journald options SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=, RuntimeMaxUse=, RuntimeKeepFree= and RuntimeMaxFileSize= can now be specified as a percentage of the available space. Ditto for coredump options MaxUse=, KeepFree=, ExternalSizeMax=,

[systemd-devel] [PATCH] WIP: conf-parser: allow config_parse_iec_off to parse percentages

2015-05-20 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com Allow certain configuration options to be specified as percentages. For example, in journald.conf, SystemMaxUse= can now also be specified as 33%. There is a slight problem with the patch. It parses option names to determine what filesystem it should use to

[systemd-devel] [PATCH] WIP: conf-parser: allow config_parse_iec_off to parse percentages

2015-05-20 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com --- src/shared/conf-parser.c | 42 ++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 2c85515..d7d9aa4 100644 --- a/src/shared/conf-parser.c +++

[systemd-devel] [PATCH] util: fix typo

2015-05-19 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com --- src/shared/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index da6343f..fd837d9 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -1697,7 +1697,7 @@ int loop_write(int fd, const

[systemd-devel] [PATCH v2] systemctl: introduce --now for enable, disable and mask

2015-05-15 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com --- changes in v2: * simplified creation of new arguments (replaced unnecessary dynamic allocation with a VLA) * renamed add_file_change to unit_file_add_changes * addressed wording issues in documentation --- Makefile.am | 1 +

[systemd-devel] [PATCH] systemctl: introduce --now for enable, disable and mask

2015-05-14 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com --- Makefile.am | 1 + man/systemctl.xml| 33 - src/libsystemd/sd-bus/bus-util.c | 6 +- src/libsystemd/sd-bus/bus-util.h | 3 ++- src/machine/machinectl.c | 2 +-

[systemd-devel] [PATCH] systemctl: introduce -e and -d for start and stop

2015-05-13 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com --- man/systemctl.xml | 26 ++ src/systemctl/systemctl.c | 40 ++-- 2 files changed, 60 insertions(+), 6 deletions(-) diff --git a/man/systemctl.xml b/man/systemctl.xml index