Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Cecil Westerhof
On 11/30/2013 02:28 AM, David Timothy Strauss wrote: If you're willing to use nginx instead, it's fairly straightforward. I'd have to research the options for Apache. I would be willing, but that is not the point. I have to give the presentation to my colleges and they have to use it at our cl

Re: [systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit

2013-11-29 Thread David Timothy Strauss
On Sat, Nov 30, 2013 at 12:02 PM, Mantas Mikulėnas wrote: > And smtpprox looks like it's a real daemon – when you start it, it > continues to run waiting for connections. For this, Type=oneshot is > wrong, and the default Type=simple should be right. (This also means > KeepAfterExit= can be remove

Re: [systemd-devel] syslog makes impossible to enter emergency mode

2013-11-29 Thread Andrey Borzenkov
В Tue, 26 Nov 2013 02:27:00 +0100 Lennart Poettering пишет: > On Tue, 26.11.13 01:00, Lennart Poettering (lenn...@poettering.net) wrote: > > > > > On Sun, 24.11.13 22:36, Andrey Borzenkov (arvidj...@gmail.com) wrote: > > > > > Interesting case (https://bugzilla.novell.com/show_bug.cgi?id=85202

Re: [systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit

2013-11-29 Thread Mantas Mikulėnas
On Fri, Nov 29, 2013 at 10:03 PM, wrote: > I'm trying to launch a perl service using systemd. > > The perl script is 'smtpprox' > (https://github.com/jnorell/smtpprox/blob/master/smtpprox) > > The unit file I created is > > cat /etc/systemd/system/smtpprox.service > [Unit]

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread David Timothy Strauss
On Nov 29, 2013 9:52 PM, "Cecil Westerhof" wrote: > > On 11/29/2013 08:59 AM, David Timothy Strauss wrote: >> >> On Fri, Nov 29, 2013 at 12:53 PM, Lennart Poettering >> wrote: >>> >>> On Fri, 29.11.13 00:11, Cecil Westerhof (cecil.wester...@snow.nl) wrote: I have done a trial presentati

[systemd-devel] systemd unit to launch perl script/service launches the script but doesn't exit the unit

2013-11-29 Thread jen142
I'm trying to launch a perl service using systemd. The perl script is 'smtpprox' (https://github.com/jnorell/smtpprox/blob/master/smtpprox) The unit file I created is cat /etc/systemd/system/smtpprox.service [Unit] Description=smtpprox Requ

Re: [systemd-devel] [systemd-commits] 4 commits - catalog/systemd-fr.catalog catalog/systemd-ru.catalog configure.ac Makefile.am po/.gitignore po/LINGUAS po/ru.po

2013-11-29 Thread Colin Walters
On Fri, 2013-11-29 at 02:39 +0100, Lennart Poettering wrote: > On Thu, 28.11.13 00:54, Zbigniew Jędrzejewski-Szmek > (zbys...@kemper.freedesktop.org) wrote: > Instead we should add some code to macro.h which turns off the the > warning with the #pragma stuff only if it detects it is being run on

Re: [systemd-devel] [PATCH] libsystemd-bus: clean up bus-control.c file

2013-11-29 Thread Kay Sievers
On Fri, Nov 29, 2013 at 5:57 PM, Lukasz Skalski wrote: > I added also assert_return(!bus->is_kernel, -ENOTSUP) to sd_bus_get_owner() > function until ioctl(KDBUS_CMD_NAME_QUERY) is not implemented yet. It's on the way in, so I removed the last hunk. Applied. Thanks, Kay _

Re: [systemd-devel] systemd-multi-seat-x deprecation is near...

2013-11-29 Thread Laércio de Sousa
Thanks for the patch, Zbyszek! CANTATE DOMINO CANTICUM NOVUM QUIA MIRABILIA FECIT Laércio 2013/11/28 Zbigniew Jędrzejewski-Szmek > On Thu, Nov 28, 2013 at 01:33:29PM -0200, Laércio de Sousa wrote: > > If/when these patches are released, then systemd-multi-seat-x, in its > > current form, will

[systemd-devel] [PATCH] libsystemd-bus: clean up bus-control.c file

2013-11-29 Thread Lukasz Skalski
I added also assert_return(!bus->is_kernel, -ENOTSUP) to sd_bus_get_owner() function until ioctl(KDBUS_CMD_NAME_QUERY) is not implemented yet. --- src/libsystemd-bus/bus-control.c | 52 ++-- 1 file changed, 18 insertions(+), 34 deletions(-) diff --git a/src/lib

Re: [systemd-devel] Thread level resource management

2013-11-29 Thread Lennart Poettering
On Fri, 29.11.13 09:33, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: > > Hi, > > Find my comments below please. > > On Nov 29, 2013, at 9:51 AM, David Timothy Strauss > wrote: > > > On Fri, Nov 29, 2013 at 1:58 AM, Umut Tezduyar Lindskog > > wrote: > >> Can someone explain the pro

Re: [systemd-devel] xnitd

2013-11-29 Thread Lennart Poettering
On Fri, 29.11.13 01:57, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Nov 29, 2013 1:30 AM, "Cecil Westerhof" wrote: > > > > How does systemd compare to xinitd? > > Did you mean inetd/xinetd? > > systemd's .socket units are very similar (many existing programs, like > sshd, can be moved dire

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Cecil Westerhof
On 11/29/2013 01:12 PM, Jan Alexander Steffens wrote: On Fri, Nov 29, 2013 at 12:52 PM, Cecil Westerhof wrote: Just to clarify, "stop" (and, by extension "restart") is also up to the implementer of the unit file. There just happens to be a default, unlike with "reload." See the service and exec

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Jan Alexander Steffens
On Fri, Nov 29, 2013 at 12:52 PM, Cecil Westerhof wrote: >> Just to clarify, "stop" (and, by extension "restart") is also up to >> the implementer of the unit file. There just happens to be a default, >> unlike with "reload." See the service and exec man pages for details. >> Regardless, "restart"

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Cecil Westerhof
On 11/29/2013 08:59 AM, David Timothy Strauss wrote: On Fri, Nov 29, 2013 at 12:53 PM, Lennart Poettering wrote: On Fri, 29.11.13 00:11, Cecil Westerhof (cecil.wester...@snow.nl) wrote: I have done a trial presentation about systemd. One of the questions there was: when a restart of for exampl

Re: [systemd-devel] [PATCH] bus: Add KDBUS_MSG_SRC_NAMES to bus_kernel_make_message() function

2013-11-29 Thread Kay Sievers
On Fri, Nov 29, 2013 at 11:37 AM, Lukasz Skalski wrote: > --- > src/libsystemd-bus/bus-kernel.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://li

Re: [systemd-devel] Seeing logging as user

2013-11-29 Thread Cecil Westerhof
On 11/29/2013 04:00 AM, Lennart Poettering wrote: On Fri, 29.11.13 01:32, Cecil Westerhof (cecil.wester...@snow.nl) wrote: Your cronjobs do not run in a systemd-logind session (though they could), but they /do/ run with your uid, so you would be able to see them in the split-by-uid mode at leas

[systemd-devel] [PATCH] bus: Add KDBUS_MSG_SRC_NAMES to bus_kernel_make_message() function

2013-11-29 Thread Lukasz Skalski
--- src/libsystemd-bus/bus-kernel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 84d84df..f2b130b 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -593,7 +593,8 @@

Re: [systemd-devel] Check from several machines on one machine

2013-11-29 Thread Colin Guthrie
'Twas brillig, and Cecil Westerhof at 28/11/13 23:40 did gyre and gimble: > With rsyslog you can send everything to one machine and evaluate the > logs of several machines on that one machine. As I understand it, > journald is mend to work locally. Is there a way to centralize the usage > of journa

Re: [systemd-devel] Thread level resource management

2013-11-29 Thread Umut Tezduyar Lindskog
Hi, Find my comments below please. On Nov 29, 2013, at 9:51 AM, David Timothy Strauss wrote: > On Fri, Nov 29, 2013 at 1:58 AM, Umut Tezduyar Lindskog > wrote: >> Can someone explain the process level management? > > Right now, it's possible to do directly in the cgroups file system, > but w