[systemd-devel] [PATCH] use "Out of memory." consistantly (or with "\n")

2012-07-24 Thread Shawn Landden
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id --- src/cgtop/cgtop.c |2 +- src/core/cgroup.c

[systemd-devel] [PATCH] execute: Fix seccomp support on x32

2012-07-24 Thread Jonathan Callen
In the x32 ABI, syscall numbers start at 0x4000. Mask that bit on x32 for lookups in the syscall_names array and syscall_filter and ensure that syscall.h is parsed correctly. Signed-off-by: Jonathan Callen --- Makefile.am |4 ++-- src/core/execute.c |2 +- src/cor

Re: [systemd-devel] [PATCH] Set PR_SET_CHILD_REAPER for MANAGER_USER

2012-07-24 Thread Kay Sievers
On Tue, Jul 24, 2012 at 10:54 PM, Auke Kok wrote: > Become the reaper for all children part of the user session. > > Tested with several forking services. Applied. Thanks, Kay ___ systemd-devel mailing list [email protected] http://li

[systemd-devel] [PATCH] make-man-index.py: compatibility with Python 3

2012-07-24 Thread Mantas MikulÄ—nas
Despite its name, ElementTree.tostring() returns already-encoded bytes() instead of a string in Python 3; sys.stdout doesn't like that. --- make-man-index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make-man-index.py b/make-man-index.py index 1e67287..8789d99 100755 --- a/make-man-ind

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-07-24 Thread Zbigniew Jędrzejewski-Szmek
On 07/24/2012 04:43 PM, Lukas Nykryn wrote: > In some cases, like wrong configuration, restarting after error > exit code does not help, so administrator can specify RestartIgnoreCodes > which will not cause restart of a service. Hi, maybe this should be made more general, not only limited to rest

[systemd-devel] [PATCH] Set PR_SET_CHILD_REAPER for MANAGER_USER

2012-07-24 Thread Auke Kok
Become the reaper for all children part of the user session. Tested with several forking services. Keep a local #define for the prctl value around because not many will have updated kernel-headers for a while - Add TODO entry to mark a good point in time to remove it. --- TODO| 2 ++

[systemd-devel] Looking for comments on this patch.

2012-07-24 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The goal of this patch is to add the ability for systemd to verify that SELinux policy allows the calling process to do the specified action. Start/Stop/Service This is expanded upon in this Feature Page Article. https://fedoraproject.org/wiki/Featur

[systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-07-24 Thread Lukas Nykryn
In some cases, like wrong configuration, restarting after error exit code does not help, so administrator can specify RestartIgnoreCodes which will not cause restart of a service. --- man/systemd.service.xml |7 src/core/load-fragment-gperf.gperf.m4 |1 + src/core/load-f