Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 01:33:02 Zbigniew Jędrzejewski-Szmek wrote: On Tue, Sep 16, 2014 at 05:07:06PM +0200, Pavel Raiskup wrote: for example tmpfiles.d/systemd.conf and tmpfiles.d/systemd-nologin.conf are split exactly for the purpose of making it easier to override

Re: [systemd-devel] [PATCH] sysctl: don't replace dots with slashes in prefix

2014-09-17 Thread David Herrmann
Hi On Mon, Sep 15, 2014 at 2:00 PM, Jan Synacek jsyna...@redhat.com wrote: David Herrmann dh.herrm...@gmail.com writes: Your original patch is right, too. But I'm not sure which one to prefer. Given that we export systemd-sysctl as rpm macro, I guess we have to go with your patch. Otherwise,

Re: [systemd-devel] [RFC] runtime configurable timer

2014-09-17 Thread WaLyong Cho
On 09/12/2014 12:54 AM, David Herrmann wrote: Hi On Thu, Sep 11, 2014 at 10:45 AM, WaLyong Cho walyong@samsung.com wrote: (I will happy there is already similar method already exist.) systemd already has similar functionality systemd-run but that is only for scope or service unit. I

Re: [systemd-devel] Should user mode linux register with machined?

2014-09-17 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 17, 2014 at 10:24:18AM +0200, Richard Weinberger wrote: On Wed, Sep 17, 2014 at 1:09 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Sep 16, 2014 at 05:31:05PM +0200, Thomas Meyer wrote: Hi, I wrote a small patch for user-mode linux to register with machined

Re: [systemd-devel] [PATCH 2/3] [RFC]sd-bus: remove some dead code

2014-09-17 Thread David Herrmann
Hi On Tue, Sep 16, 2014 at 11:53 PM, Philippe De Swert philippedesw...@gmail.com wrote: Hi, On 17/09/14 00:49, David Herrmann wrote: Hi On Tue, Sep 16, 2014 at 11:27 PM, philippedesw...@gmail.com wrote: From: Philippe De Swert philippedesw...@gmail.com The r 0 test has been done before

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 17, 2014 at 08:52:00AM +0200, Pavel Raiskup wrote: On Wednesday 17 of September 2014 01:33:02 Zbigniew Jędrzejewski-Szmek wrote: On Tue, Sep 16, 2014 at 05:07:06PM +0200, Pavel Raiskup wrote: for example tmpfiles.d/systemd.conf and tmpfiles.d/systemd-nologin.conf are split

Re: [systemd-devel] [PATCH 2/2] test: Use 'CapBnd' string for capability bounding set

2014-09-17 Thread Daniel Mack
On 09/17/2014 04:12 AM, Djalal Harouni wrote: Signed-off-by: Djalal Harouni tix...@opendz.org --- test/kdbus-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/kdbus-util.c b/test/kdbus-util.c index fe4565c..b1c5864 100644 --- a/test/kdbus-util.c +++

[systemd-devel] systemd service for kinit

2014-09-17 Thread Günther J . Niederwimmer
Hello, I have a problem with kinit (krb5) before on my old system this works with a cron file @reboot root /usr/bin/sleep 120 /usr/bin/kinit -k host/. now with systemd I can't say why, the extra characters don't work @reboot Is there a way to configure this with systemd ? Thanks

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Andrei Borzenkov
On Wed, Sep 17, 2014 at 2:44 PM, Günther J. g...@gjn.priv.at wrote: Hello, I have a problem with kinit (krb5) before on my old system this works with a cron file @reboot root /usr/bin/sleep 120 /usr/bin/kinit -k host/. now with systemd I can't say why, the extra characters

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski-Szmek wrote: On Wed, Sep 17, 2014 at 08:52:00AM +0200, Pavel Raiskup wrote: Thanks, I agree, and yet another rule on top of that -- the /usr/lib dropins _are ignored_ if /etc service overriding the one in /usr/lib exists [1]

[systemd-devel] [PATCH] ask-password: Add --do-echo to enable echoing the user input

2014-09-17 Thread David Sommerseth
Hi, I've been playing with the systemd feature enabled in OpenVPN. And I propose this change to systemd-ask-password to avoid masking usernames. I tried looking for alternative ways querying for usernames through systemd without finding a good solution. This patch has been tested locally on a

Re: [systemd-devel] Suppressing automounting

2014-09-17 Thread Dale R. Worley
From: Tobias Geerinckx-Rice tobias.geerinckx.r...@gmail.com That's not to say that it didn't happen to work most of the time. I just hoped systemd could do better. I still do. I agree that systemd's current default behavior is better than the previous default. But there are some cases where

Re: [systemd-devel] [PATCH] ask-password: Add --do-echo to enable echoing the user input

2014-09-17 Thread Jóhann B. Guðmundsson
On 09/17/2014 12:26 PM, David Sommerseth wrote: Hi, I've been playing with the systemd feature enabled in OpenVPN. And I propose this change to systemd-ask-password to avoid masking usernames. I tried looking for alternative ways querying for usernames through systemd without finding a good

[systemd-devel] Coverity scanning and results

2014-09-17 Thread Philippe De Swert
Hi all, Just a short update to point out again that I am now making regular coverity scans of systemd. If you want to check them out go to http://scan.coverity.com (unfortunately requires an account to join and see the actual defects) Otherwise it seems to have already led to some healthy

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 13:40:11 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski-Szmek wrote: On Wed, Sep 17, 2014 at 08:52:00AM +0200, Pavel Raiskup wrote: Thanks, I agree, and yet another rule on top of that -- the /usr/lib

Re: [systemd-devel] Coverity scanning and results

2014-09-17 Thread Tom Gundersen
Hi Philippe, On Wed, Sep 17, 2014 at 6:00 PM, Philippe De Swert philippedesw...@gmail.com wrote: Just a short update to point out again that I am now making regular coverity scans of systemd. If you want to check them out go to http://scan.coverity.com (unfortunately requires an account to

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 13:40:11 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski-Szmek wrote: On Wed, Sep 17, 2014 at 08:52:00AM +0200, Pavel Raiskup wrote:

[systemd-devel] v216 timers: a configuration for enterprise's needs, features requests

2014-09-17 Thread Daniele Medri
Dears, testing timers on systemd v216, I've made a configuration that could be useful for enterprise's needs: https://github.com/dmedri/systemd-enterprise-timers The following ideas could be useful for the editing job. FEATURES REQUESTS 1. in /src/shared/calendarspec.c,

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 18:29:35 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 13:40:11 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 11:50:08 Zbigniew

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 20:44:38 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 18:29:35 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 13:40:11 +0200 Pavel Raiskup prais...@redhat.com пишет:

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Günther J . Niederwimmer
Hello, Am Mittwoch, 17. September 2014, 15:35:44 schrieb Andrei Borzenkov: On Wed, Sep 17, 2014 at 2:44 PM, Günther J. g...@gjn.priv.at wrote: Hello, I have a problem with kinit (krb5) before on my old system this works with a cron file @reboot root /usr/bin/sleep 120

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 18:46:21 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:44:38 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 18:29:35 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote:

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 18:46:45 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, Am Mittwoch, 17. September 2014, 15:35:44 schrieb Andrei Borzenkov: On Wed, Sep 17, 2014 at 2:44 PM, Günther J. g...@gjn.priv.at wrote: Hello, I have a problem with kinit (krb5) before on

[systemd-devel] [PATCH] logind: fix typo

2014-09-17 Thread Ronny Chevalier
--- src/login/logind-session-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 7d81500..58836fc 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -249,7 +249,7 @@

[systemd-devel] [PATCH] tests: fix resource mem leaks

2014-09-17 Thread Ronny Chevalier
--- src/test/test-condition-util.c | 2 +- src/test/test-fileio.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/test-condition-util.c b/src/test/test-condition-util.c index 4ee5600..35ee916 100644 --- a/src/test/test-condition-util.c +++

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Günther J . Niederwimmer
Am Mittwoch, 17. September 2014, 21:01:09 schrieb Andrei Borzenkov: В Wed, 17 Sep 2014 18:46:45 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, Am Mittwoch, 17. September 2014, 15:35:44 schrieb Andrei Borzenkov: On Wed, Sep 17, 2014 at 2:44 PM, Günther J.

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 20:58:02 Andrei Borzenkov wrote: Huh? Argh! .. and finally, thanks a lot for your exmaple. I iterated into the sitation that this is not about .include. Probably due to some false premise or testing result, I lived in false feeling that the .include is _the

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Tomasz Torcz
On Wed, Sep 17, 2014 at 08:53:30PM +0200, Günther J. Niederwimmer wrote: Am Mittwoch, 17. September 2014, 21:01:09 schrieb Andrei Borzenkov: В Wed, 17 Sep 2014 18:46:45 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, Am Mittwoch, 17. September 2014, 15:35:44 schrieb

Re: [systemd-devel] [PATCH] logind: fix typo

2014-09-17 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, Sep 17, 2014 at 8:10 PM, Ronny Chevalier chevalier.ro...@gmail.com wrote: --- src/login/logind-session-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index

[systemd-devel] [PATCH] Fix resource leak (coverity CID 1237760)

2014-09-17 Thread Cristian Rodríguez
--- src/libsystemd/sd-bus/bus-kernel.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c index 505f335..b3cc996 100644 --- a/src/libsystemd/sd-bus/bus-kernel.c +++ b/src/libsystemd/sd-bus/bus-kernel.c

[systemd-devel] [PATCH] systemctl: fix resource leak CID #1237747

2014-09-17 Thread Cristian Rodríguez
..by simply moving the declaration of unit into the STRV_FOREACH loop as suggested by Andreas. --- src/systemctl/systemctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 88be871..9012128 100644 ---