Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-10 Thread Tollef Fog Heen
]] Lennart Poettering Maybe we shouldn't bother too much with making this one-time. Maybe instead we should print it all the time, but simply at debug log level, so that this isnt too visible... It's just when starting services, isn't it? I think we should log it each time at a visible

Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-10 Thread Thomas Bächler
Am 10.04.2014 03:35, schrieb Lennart Poettering: Simply try: int func(...) { static bool network_namespace_warning = false; ... if (!network_namespace_warning) { network_namespace_warning = true; log_warn(...); } } Zbyszek Hmm, so actually this

Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-10 Thread Colin Guthrie
'Twas brillig, and Tollef Fog Heen at 10/04/14 07:53 did gyre and gimble: ]] Lennart Poettering Maybe we shouldn't bother too much with making this one-time. Maybe instead we should print it all the time, but simply at debug log level, so that this isnt too visible... It's just when

Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-10 Thread Lennart Poettering
On Thu, 10.04.14 10:21, Thomas Bächler (tho...@archlinux.org) wrote: Am 10.04.2014 03:35, schrieb Lennart Poettering: Simply try: int func(...) { static bool network_namespace_warning = false; ... if (!network_namespace_warning) { network_namespace_warning

Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-09 Thread Tom Gundersen
On Mon, Mar 31, 2014 at 8:28 PM, Mike Gilbert flop...@gentoo.org wrote: Several units now utilize the PrivateNetwork parameter, which requires network namespace support. Applied. Thanks! Cheers, Tom ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-09 Thread Lennart Poettering
On Wed, 09.04.14 11:21, Tom Gundersen (t...@jklm.no) wrote: On Mon, Mar 31, 2014 at 8:28 PM, Mike Gilbert flop...@gentoo.org wrote: Several units now utilize the PrivateNetwork parameter, which requires network namespace support. BTW, this really sounds like something where we should have

Re: [systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-04-09 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 09, 2014 at 07:35:15PM -0400, Mike Gilbert wrote: On Wed, Apr 9, 2014 at 12:32 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 09.04.14 11:21, Tom Gundersen (t...@jklm.no) wrote: On Mon, Mar 31, 2014 at 8:28 PM, Mike Gilbert flop...@gentoo.org wrote: Several

[systemd-devel] [PATCH] Document CONFIG_NET_NS as a required kernel option

2014-03-31 Thread Mike Gilbert
Several units now utilize the PrivateNetwork parameter, which requires network namespace support. --- README | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README b/README index fc13e10..cecbcbf 100644 --- a/README +++ b/README @@ -70,6 +70,9 @@ REQUIREMENTS: create additional