Re: [systemd-devel] [PATCH] make: Automake is complaining about .PRECIOUS being redefined

2013-07-19 Thread Holger Hans Peter Freyther
On Sat, Jul 20, 2013 at 01:09:35AM +0200, Zbigniew Jędrzejewski-Szmek wrote: Hi, > Applied for now. I picked %MAKEFILE% as this is what was in the generated Makefile before my patch. I just tried to match the output. > But that looks like a plain automake bug. It should know that targets > st

[systemd-devel] question about SecureBits / NoNewPrivileges

2013-07-19 Thread Reindl Harald
Hi i try to secure the Apache-Webserver (mpm-prefork) as much as possible am i right that with the following settings in the systemd-unit after the child-process is forked with the "apache" user and the capabilities are reduced as below even a potential root exploit would have no success? "Secu

[systemd-devel] removal of RD_TIMESTAMP support in initrd

2013-07-19 Thread Dave Reisner
Hi, With systemd 206 near release, I'd like to understand if commit c72aadd1851096ea is going to stand. This commit removes support for reading RD_TIMESTAMP in the initramfs, and thus makes systemd mandatory for measuring initramfs runtime. If this is the intended future, please help me to unders

[systemd-devel] [PATCH 1/2] getty-generator: run console shell for uml

2013-07-19 Thread Ramkumar Ramachandra
In its default configuration, um Linux connects its /dev/console to the host's fd:0,fd:1. Other tty devices (/dev/tty*) are accessible on various host devices that the user must connect to explicitly. By running getty on /dev/console by default, $ ./linux ubd0=arch-rootfs will display a promp

[systemd-devel] [PATCH 0/2] Finishing touches for User-Mode Linux

2013-07-19 Thread Ramkumar Ramachandra
Hi, These are the finishing touches required to make User-Mode Linux work out-of-the-box. Sorry it took so long: I had to build with abs and test it for good. Thanks again, for all the help. Ramkumar Ramachandra (2): getty-generator: run console shell for uml vconsole-setup: setup negative

[systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-19 Thread Pablo Nehab Hess
Hi all, I was wondering how much systemd could add to current high availability cluster setups. Today systemd is used on HA clusters as just an init replacement. However, there are systemd features that might come in handy and improve the overall performance and even reliability of such clusters:

Re: [systemd-devel] [PATCH] make: Automake is complaining about .PRECIOUS being redefined

2013-07-19 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 18, 2013 at 09:18:55AM +0200, Holger Hans Peter Freyther wrote: > From: Holger Hans Peter Freyther > > Yesterday I added test-suite.log as dependency to the .PRECIOUS > target. Automake is warning about this target being redefined > and from what I see there is no way I can stop the w

[systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-19 Thread Ramkumar Ramachandra
User-Mode Linux does not do VT102 emulation, and $ vconsole-setup /dev/tty0 will always fail on it. In order to prevent vconsole-setup.service from always failing, disable it when uml is detected. Cc: Zbigniew Jędrzejewski-Szmek Cc: Lennart Poettering Signed-off-by: Ramkumar Ramachandra --

Re: [systemd-devel] [PATCH] console-getty.service: conflict with vconsole-setup

2013-07-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 19, 2013 at 11:50:53PM +0530, Ramkumar Ramachandra wrote: [intertesting analysis removed] > So, I can provide a patch for getty-generator to detect um Linux and > switch to getty on /dev/console, but vconsole-setup will still fail; > what should we do about that? Make systemd-vconsole-

Re: [systemd-devel] [PATCH] console-getty.service: conflict with vconsole-setup

2013-07-19 Thread Ramkumar Ramachandra
Lennart Poettering wrote: > /dev/tty0 always points to the foreground VC tty. Are you saying UML > provides /dev/tty0 but not /dev/tty1, /dev/tty2, ...? I am pretty sure > that UML should be fixed to provide neither or both, evertyhing else is > broken. Thanks for all the information. With some h

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-19 Thread Michael Scherer
Le mardi 16 juillet 2013 à 17:59 +0100, Colin Guthrie a écrit : > 'Twas brillig, and Kay Sievers at 16/07/13 17:24 did gyre and gimble: > > On Tue, Jul 16, 2013 at 6:01 PM, Lennart Poettering > > wrote: > > > >> Hmm, I'd like such an automatism, but I'd really prefer if we could come > >> up with

Re: [systemd-devel] [PATCH] tmpfiles: Fix memory leak in parse_line()

2013-07-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 19, 2013 at 03:43:12PM +0200, Maciej Wereski wrote: > --- > src/tmpfiles/tmpfiles.c | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) Applied, but moved the cleanup function definition down to avoid forward declaration. Zbyszek _

[systemd-devel] [PATCH] tmpfiles: Fix memory leak in parse_line()

2013-07-19 Thread Maciej Wereski
--- src/tmpfiles/tmpfiles.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 555347a..4a1ce36 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -119,6 +119,14 @@ static const char conf_file_dir

Re: [systemd-devel] [PATCH] man: Fix exmaple to use the new --boot syntax

2013-07-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 19, 2013 at 01:54:51PM +0200, Jan Janssen wrote: > --- > man/journalctl.xml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Zbyszek -- they are not broken. they are refucktored -- alxchk ___ syste

Re: [systemd-devel] [PATCHv2] systemctl: warn about use of deprecated options

2013-07-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 19, 2013 at 11:21:04AM +0200, Maciej Wereski wrote: > if (unit_load_state_from_string(optarg) >= > 0) { > +log_warning("Using --type for load > states is deprecated, please use --state instead."); No, there's no

[systemd-devel] [PATCH] man: Fix exmaple to use the new --boot syntax

2013-07-19 Thread Jan Janssen
--- man/journalctl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/journalctl.xml b/man/journalctl.xml index da43bf2..fab28e6 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -853,7 +853,7 @@ Show all kernel logs from last boot: -

[systemd-devel] [PATCHv2] systemctl: warn about use of deprecated options

2013-07-19 Thread Maciej Wereski
--- I should have thought about it in previous commit, sorry for that! since v1: * fixed typo --- src/systemctl/systemctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index c9f9981..f09ccca 100644 --- a/src/systemctl/systemctl.c +++

[systemd-devel] [PATCH] systemctl: warn about use of deprecated options

2013-07-19 Thread Maciej Wereski
--- I should have thought about it in previous commit, sorry for that! --- src/systemctl/systemctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index c9f9981..f09ccca 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemc

Re: [systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-07-19 Thread Lukáš Nykrýn
Dne 18.7.2013 20:02, Lennart Poettering napsal(a): On Thu, 18.07.13 17:04, Michal Sekletar (msekl...@redhat.com) wrote: When dependency unit is configured with StopWhenUnneeded=yes and activation of main unit fails, e.g. start timeout occurs, then dependencies are never stopped. This happens b