[systemd-devel] [PATCH] systemctl: provide better error message when start limit is exceeded.

2013-10-31 Thread Vaclav Pavlin
From: Václav Pavlín --- src/core/job.c| 12 ++-- src/core/job.h| 1 + src/systemctl/systemctl.c | 5 + 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/core/job.c b/src/core/job.c index e5dcef7..44b6b23 100644 --- a/src/core/job.c +++ b/sr

[systemd-devel] Print a note about reset-failed if start limit is exceeded

2013-10-31 Thread Vaclav Pavlin
Could you please check this patch, I am not sure about overall JobResult usage. I added one type of result to distinguish fail in favor of start limit from other reasons. But I am not completely sure if there could be a case where JOB_FAILED is awaited, but JOB_FAILED_LIMIT would be passed inst

[systemd-devel] [PATCH] selinux: fix selinux check for transient units

2013-10-31 Thread Vaclav Pavlin
From: Václav Pavlín --- src/core/selinux-access.c | 59 ++- src/core/selinux-access.h | 15 +--- 2 files changed, 70 insertions(+), 4 deletions(-) diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 0a3ee18..5908a79 100644

[systemd-devel] [PATCH] systemd-random-seed: start random-seed service after fedora-readonly

2013-03-14 Thread Vaclav Pavlin
From: Václav Pavlín When using readonly-root systemd-random-seed.service fails because /var/lib/random-seed is not writable at the time. Adding fedora-readonly.service to systemd-randomd-seed's After solves this issue - mentioned file is bind mounted as rw before it is used. https://bugzilla.re

[systemd-devel] [PATCH 1/3] core: check return value of rm_rf_dangerous and warn if it fails

2013-03-27 Thread Vaclav Pavlin
From: Václav Pavlín --- src/core/execute.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/core/execute.c b/src/core/execute.c index bc876a3..936e7d8 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1559,10 +1559,16 @@ void exec_context_tmp_dirs_don

[systemd-devel] [PATCH 2/3] udev: check return value of uname.

2013-03-27 Thread Vaclav Pavlin
From: Václav Pavlín --- src/udev/udevd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index b30bedf..379168d 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -819,7 +819,9 @@ static void static_dev_create_from_modules(struct ud

[systemd-devel] [PATCH 3/3] shared: free dt (temporary dir name) on fail

2013-03-27 Thread Vaclav Pavlin
From: Václav Pavlín --- src/shared/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/util.c b/src/shared/util.c index 0444cf4..b724959 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5733,6 +5733,7 @@ int create_tmp_dir(char template[], char** dir_name) {

[systemd-devel] [PATCH] systemctl: add command default-target

2013-05-17 Thread Vaclav Pavlin
From: Václav Pavlín systemctl default-target NAME will set the default target. If the NAME is not specified, the default target is printed out. --- man/systemctl.xml | 11 ++ shell-completion/bash/systemctl | 4 ++ src/core/dbus-manager.c | 15 +++- src/shared/inst

[systemd-devel] [PATCH] systemctl: mangle names when avoiding dbus

2013-05-17 Thread Vaclav Pavlin
From: Václav Pavlín Unit names were mangled in function enable_unit only when dbus was used. This patch adds mangling also when the dbus is not in use. --- src/systemctl/systemctl.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/systemctl/syste

[systemd-devel] [PATCH] systemctl: add commands set-default and get-default

2013-05-28 Thread Vaclav Pavlin
From: Václav Pavlín systemctl set-default NAME links the default.target to the given unit, get-default prints out the path to the currently set default target. --- man/systemctl.xml | 18 ++ shell-completion/bash/systemctl | 6 +++- src/core/dbus-manager.c | 28 +++

[systemd-devel] [PATCH] systemctl: add command set-log-level

2013-05-29 Thread Vaclav Pavlin
From: Václav Pavlín Command changes current log level --- man/systemctl.xml | 8 src/systemctl/systemctl.c | 42 ++ 2 files changed, 50 insertions(+) diff --git a/man/systemctl.xml b/man/systemctl.xml index 9c3a5b0..af72972 100644 --- a/

[systemd-devel] [PATCH] systemctl: add command set-log-level

2013-05-29 Thread Vaclav Pavlin
From: Václav Pavlín Command changes current log level --- man/systemctl.xml | 8 src/systemctl/systemctl.c | 48 +++ 2 files changed, 56 insertions(+) diff --git a/man/systemctl.xml b/man/systemctl.xml index 9c3a5b0..af72972 100644 -

[systemd-devel] [PATCH] makefile:put macros file to the correct place

2013-06-27 Thread Vaclav Pavlin
From: Fedora systemd team --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3a196a6..c3988e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,7 +65,7 @@ pkgconfigdatadir=$(datadir)/pkgconfig pkgconfiglibdir=$(libdir)/pkgconfig

Re: [systemd-devel] [PATCH] makefile:put macros file to the correct place

2013-07-18 Thread Vaclav Pavlin
put macros file to the correct place - Original Message - > Zbigniew Jędrzejewski-Szmek píše v Čt 27. 06. 2013 v 17:00 +0200: > > On Thu, Jun 27, 2013 at 04:30:12PM +0200, Vaclav Pavlin wrote: > > > From: Fedora systemd team > > > > > > ---