Re: [systemd-devel] symbolic link for systemd-stdio-bridge

2013-12-31 Thread Umut Tezduyar
On Thu, Dec 19, 2013 at 5:34 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: It is broken when bindir is /usr/bin and /lib is not symbolic link to /usr/lib. bus-proxyd-install-hook: $(AM_V_LN)$(LN_S) -f ../../lib/systemd/systemd-bus-proxyd

Re: [systemd-devel] [PATCH] Add SELinuxContext configuration item

2013-12-31 Thread Michael Scherer
Le lundi 30 décembre 2013 à 03:14 -0600, David Timothy Strauss a écrit : On Sat, Dec 28, 2013 at 10:47 AM, Michael Scherer m...@zarb.org wrote: So using templated units, we could do for example : SELinuxContext=staff_u:staff_r:%s_t:s0-s0:c0.c1023 In the spirit of making isolation easy, it

Re: [systemd-devel] [PATCHv2] install: Assume *.wants symlinks have the same name as their target for scalability.

2013-12-31 Thread Andrey Borzenkov
В Вс, 29/12/2013 в 18:57 +0100, Zbigniew Jędrzejewski-Szmek пишет: Hi, I'd like to reopen this thread. I have been looking at our bugs [1-10, there are others too] related to enabling/disabling of units and following of symlinks. Currently this is an unintuitive mess and some changes will

Re: [systemd-devel] [PATCH] boot-efi: Remove superfluous assignment

2013-12-31 Thread Kay Sievers
On Mon, Dec 30, 2013 at 11:32 PM, Stefan Beller stefanbel...@googlemail.com wrote: 2 lines after the changed line we assign err to efi_get_variable(...) unconditionally, so it makes no sense to initialize it to some value. --- src/boot/boot-efi.c | 2 +- Applied. Thanks, Kay

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2013-12-31 Thread Tony Seo
First of all, thank you for advice you said. You are right, I am a novice on TCP/IP, so I had studied that for a few days. Now, I understand that UDS Protocol and the difference between Accept=true and Accept=false. But What I really want to know is why the server process always waited in the

[systemd-devel] [PATCH] journal: Add missing byte order conversions

2013-12-31 Thread George McCollister
Convert entry_array.items[0] to host byte order prior to passing it to chain_cache_put(). Signed-off-by: George McCollister george.mccollis...@gmail.com --- src/journal/journal-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/journal/journal-file.c

[systemd-devel] [PATCH] rtnl: fix memory corruptions after realloc

2013-12-31 Thread Zbigniew Jędrzejewski-Szmek
struct sd_rtnl_message would keep two additional pointers into the hdr field. Every time hdr was realloced, those pointers should be adjusted, but weren't. It seems less error-prone to keep offsets instead. --- Hi Tom, this fixes errors reported by valgrind and should make the code more robust,

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2013-12-31 Thread David Timothy Strauss
On Tue, Dec 31, 2013 at 9:20 AM, Tony Seo tonys...@gmail.com wrote: But What I really want to know is why the server process always waited in the accept stage, when I executed client process for the first after system boot. It may hang in accept() if the service is Accept=true and the daemon

[systemd-devel] [PATCH v2] rtnl: fix memory corruptions after realloc

2013-12-31 Thread Zbigniew Jędrzejewski-Szmek
struct sd_rtnl_message would keep two additional pointers into the hdr field. Every time hdr was realloced, those pointers should be adjusted, but weren't. It seems less error-prone to keep offsets instead. --- Previous version was missing some hunks... Zbyszek

Re: [systemd-devel] [PATCH] Add SELinuxContext configuration item

2013-12-31 Thread David Timothy Strauss
On Tue, Dec 31, 2013 at 3:33 AM, Michael Scherer m...@zarb.org wrote: I am not sure of the value of having 2 configuration file doing the same thing. What about SELinuxContext=auto , and so replace auto by some default configuration in that case ? That works for me. I just like the idea of