[systemd-devel] [PATCH 1/3] fileio: split write_one_line_file into two

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
The new function allows one to write to an already open file. --- src/shared/fileio.c | 23 ++- src/shared/fileio.h | 4 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/shared/fileio.c b/src/shared/fileio.c index 48dd442..ad068bf 100644 ---

[systemd-devel] [PATCH 2/3] conf-parser: add ignored sections parameter

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
config_parse will ignore settings specified in 'ignored_sections'. The purpose is being able to share a config file between two different modules (e.g. systemd and systemd-sleep) without both understanding all sections. Each new section has only to be added to either 'sections' or

[systemd-devel] [PATCH 0/3] support for freeze and standby

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
Hi, this is another attempt at quenchinch the desire of various people for systemd support for both newfangled and quite obsolete suspend modes. The approach taken is that additional configuration settings are added, which influence the behaviour of existing verbs for systemd-sleep, instead of

Re: [systemd-devel] [PATCH] Annotate some functions as _const_

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 30, 2013 at 10:07:33PM -0400, Cristian Rodríguez wrote: hexchar,unhexchar,octchar,unoctchar,decchar,undecchar are all const functions. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] dbus-execute: fix introspection

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 24, 2013 at 03:17:19PM +0200, Ronny Chevalier wrote: Hi, Add missing property and remove duplicate properties already in src/core/dbus-kill.h Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] zsh_completion: fix udevadm monitor flags

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 30, 2013 at 06:42:22PM -0500, Daniel Wallace wrote: The brackets in the _arguments description of udevadm monitor need to be escaped. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-01 Thread darx
Hi, I've a systemd unit file for my own instance of openvpn vi /etc/systemd/system/openvpn@.service -- [Unit] Description=OpenVPN Server on %I After=syslog.target network.target Before=openvpn.%i.target

Re: [systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 01, 2013 at 08:29:57AM -0700, d...@sent.com wrote: Is %i/%I expansion in ExecStartPre possible? and/or have I misconfigured something here? It's expressly forbidden to use specifiers in the binary name. systemctl --version systemd 195 suse +PAM +LIBWRAP +AUDIT

Re: [systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-01 Thread darx
hi zbigniew On Wed, May 1, 2013, at 08:32 AM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, May 01, 2013 at 08:29:57AM -0700, d...@sent.com wrote: Is %i/%I expansion in ExecStartPre possible? and/or have I misconfigured something here? It's expressly forbidden to use specifiers in the binary

Re: [systemd-devel] [PATCH 2/2] coredump: Handle programs with spaces in COMM

2013-05-01 Thread Oleg Nesterov
On 04/30, Colin Walters wrote: On Tue, 2013-04-30 at 19:47 +0200, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Apr 30, 2013 at 01:12:19PM -0400, Colin Walters wrote: This patch makes systemd-coredump handle processes that have whitespace in their COMM fields. fs/coredump.c when given

Re: [systemd-devel] [PATCH 2/3] conf-parser: add ignored sections parameter

2013-05-01 Thread Tom Gundersen
On Wed, May 1, 2013 at 2:53 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: config_parse will ignore settings specified in 'ignored_sections'. The purpose is being able to share a config file between two different modules (e.g. systemd and systemd-sleep) without both understanding

Re: [systemd-devel] [PATCH 2/3] conf-parser: add ignored sections parameter

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Thu, May 02, 2013 at 02:17:13AM +0200, Tom Gundersen wrote: On Wed, May 1, 2013 at 2:53 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: config_parse will ignore settings specified in 'ignored_sections'. The purpose is being able to share a config file between two different