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

2013-12-30 Thread David Timothy Strauss
On Mon, Dec 30, 2013 at 9:53 AM, Zbigniew Jędrzejewski-Szmek wrote: > Yep, this should be fixed too. I'd be happy to sponsor fixes for all of this. I'm not sure if that's the main blocker to getting this refinement done, but I want to remove it right now if it is one.

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

2013-12-30 Thread David Timothy Strauss
On Mon, Dec 30, 2013 at 7:59 AM, Tony Seo wrote: > That situation continued whether "Accept= true" or not in service unit. The reason I encouraged you to learn more about socket programming is because this Accept= option isn't some sort of optimization or nuanced thing you just try either way unt

[systemd-devel] [PATCH] swap: remove if/else with the same data path

2013-12-30 Thread Stefan Beller
This was introduced in e1770af812 (2012-02-03, swap: replace failure boolean by result enum). It doesn't do any harm as it most likely will get optimized away anyway, but maybe for readability? --- src/core/swap.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/sw

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

2013-12-30 Thread Stefan Beller
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 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/boot-efi.c b/src/boot/boot-efi.c index 33840b6..1c80126 1

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

2013-12-30 Thread Reindl Harald
Am 30.12.2013 18:53, schrieb Zbigniew Jędrzejewski-Szmek: > I found another one: > - https://bugs.freedesktop.org/show_bug.cgi?id=66912 >Autocompletion does not propose template units which have some instances > enabled may I notice this one in context of autocompletion too https://bugzill

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

2013-12-30 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 30, 2013 at 03:00:06AM -0600, David Timothy Strauss wrote: > On Sun, Dec 29, 2013 at 11:57 AM, Zbigniew Jędrzejewski-Szmek > wrote: > > 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 > >

[systemd-devel] [PATCH] core/service: check if mainpid matches only if it set

2013-12-30 Thread Zbigniew Jędrzejewski-Szmek
https://bugzilla.redhat.com/show_bug.cgi?id=1047304 --- src/core/service.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/service.c b/src/core/service.c index 2557579..f8502a8 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -3347,6 +3347,9 @@ static

Re: [systemd-devel] porteus and systemd

2013-12-30 Thread Roelof Wobben
Koen Kooi schreef op 30-12-2013 15:50: Op 30 dec. 2013, om 13:36 heeft Mantas Mikulėnas het volgende geschreven: On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: hello, Im trying to port Cinnamon to porteus. Porteus is a slackware based distro which work with modules. The problem is

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

2013-12-30 Thread Tony Seo
Hello. Since I had gotten the message from you, I had learned socket program for normal test. After making sample processes like server and client, I tested them in many cases. But, when I tested my sample codes, the common problem was founded that the server process always waited for acceptance in

Re: [systemd-devel] porteus and systemd

2013-12-30 Thread Koen Kooi
Op 30 dec. 2013, om 13:36 heeft Mantas Mikulėnas het volgende geschreven: > On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: >> hello, >> >> Im trying to port Cinnamon to porteus. >> Porteus is a slackware based distro which work with modules. >> >> The problem is that Cinnamon works th

Re: [systemd-devel] [PATCH 3/4] units: differentiate the bus proxy and bus driver for the user manager

2013-12-30 Thread Giovanni Campagna
2013/12/27 Kay Sievers : > On Fri, Dec 27, 2013 at 4:45 AM, Kay Sievers wrote: >> On Thu, Dec 26, 2013 at 11:35 PM, Giovanni Campagna >> wrote: >> >>> they do need the IPC_OWNER capability, to fake credentials >>> on kdbus. >> >> Oh, I guess we should just allow the owner/creator of the bus, the

Re: [systemd-devel] porteus and systemd

2013-12-30 Thread Mantas Mikulėnas
On Mon, Dec 30, 2013 at 1:06 PM, Roelof Wobben wrote: > hello, > > Im trying to port Cinnamon to porteus. > Porteus is a slackware based distro which work with modules. > > The problem is that Cinnamon works the best with systemd and slackware > refuses to use systemd. > Now I want to try to make

[systemd-devel] porteus and systemd

2013-12-30 Thread Roelof Wobben
hello, Im trying to port Cinnamon to porteus. Porteus is a slackware based distro which work with modules. The problem is that Cinnamon works the best with systemd and slackware refuses to use systemd. Now I want to try to make systemd work on a porteus system so that I have a slackware based

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

2013-12-30 Thread David Timothy Strauss
On Sat, Dec 28, 2013 at 10:47 AM, Michael Scherer 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 would be neat to have a built-in convention for selinux isolation in systemd where the ful

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

2013-12-30 Thread David Timothy Strauss
On Sun, Dec 29, 2013 at 11:57 AM, Zbigniew Jędrzejewski-Szmek wrote: > 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 have to be made. Another goal I hav