[systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread arnaud gaboury
Hi all, I set up a linux container on my host. Here are some basic infos: - Host + guest running Archlinux On host: - custom kernel on host with user space set - audit=0 as kernel parameter - the guest OS is mounted in my rootfs at /dahlia with a symlink to /var/lib/container gabx@hortensia ➤➤

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread Lennart Poettering
On Mon, 17.02.14 13:15, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Wouldn't it be preferable to have a machine.slice instead of a machine.scope under the system.slice? Does it make any big difference to run/manage the container ? At least in systemd git nspawn places its machines in

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Lennart Poettering
On Mon, 17.02.14 08:16, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hi all. I'm very interesting on creating system like cromeos that can do upgrade without reboot. ChromeOS doesn't support reboot-less upgrades. In case of using systemd - what i need to do? I have two disk (ramdisk)

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Koen Kooi
Op 17 feb. 2014, om 14:50 heeft Lennart Poettering lenn...@poettering.net het volgende geschreven: On Mon, 17.02.14 08:16, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hi all. I'm very interesting on creating system like cromeos that can do upgrade without reboot. ChromeOS doesn't

[systemd-devel] [PATCH 03/10] doc: detail what UID is

2014-02-17 Thread Jan Engelhardt
--- man/sd_bus_creds_get_pid.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index 299c05a..740082e 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -246,10 +246,10 @@ along

[systemd-devel] Mostly documentation updates

2014-02-17 Thread Jan Engelhardt
Time for catching up :) === The following changes since commit 3d0ce78b257dccda0e377dfef580abfa11437fe8: Update TODO (2014-02-17 15:52:32 +0100) are available in the git repository at: git://git.inai.de/systemd master for you to fetch changes up to

[systemd-devel] [PATCH 04/10] doc: update punctuation

2014-02-17 Thread Jan Engelhardt
Resolve spotted issues related to missing or extraneous commas, dashes. --- man/journalctl.xml | 6 +++--- man/sd_bus_error.xml | 2 +- man/sd_bus_new.xml | 2 +- man/systemctl.xml | 10 +- man/systemd-cat.xml

[systemd-devel] [PATCH 07/10] doc: properly use XML entities

2014-02-17 Thread Jan Engelhardt
--- man/localtime.xml| 2 +- man/sd_bus_error.xml | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/man/localtime.xml b/man/localtime.xml index b7fd1ba..dbf2379 100644 --- a/man/localtime.xml +++ b/man/localtime.xml @@ -55,7 +55,7 @@ /refnamediv

[systemd-devel] [PATCH 05/10] doc: resolve missing/extraneous words or inappropriate forms

2014-02-17 Thread Jan Engelhardt
Issues fixed: * missing words required by grammar * duplicated or extraneous words * inappropriate forms (e.g. singular/plural), and declinations * orthographic misspellings --- man/busctl.xml | 2 +- man/journalctl.xml | 2 +- man/journald.conf.xml|

[systemd-devel] [PATCH 01/10] core: more exact test on the procfs special string (deleted)

2014-02-17 Thread Jan Engelhardt
In other parts of systemd, the code checks for (deleted), but in one instance, it did not (yet). Make it do the same. --- src/core/umount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/umount.c b/src/core/umount.c index 30111be..2d166c1 100644 ---

[systemd-devel] [PATCH 06/10] doc: choose different words to improve clarity

2014-02-17 Thread Jan Engelhardt
I suggest the following changes to improve the way the text reads (flows). --- man/crypttab.xml | 6 +++--- man/sd_bus_creds_get_pid.xml | 2 +- man/sd_bus_message_get_monotonic_usec.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git

[systemd-devel] [PATCH 09/10] doc: reword shared per-thread wording

2014-02-17 Thread Jan Engelhardt
Either it is shared across threads, or it is per-thread: decide. Reading the source code, I see a thread_local identifier, so that's that. But that does not yet preclude that a program may pass around the pointer returned from the function among its own threads. Do a best effort at saying so.

[systemd-devel] [PATCH 08/10] doc: balance C indirections in function prototypes

2014-02-17 Thread Jan Engelhardt
Shift the asterisks in the documentation's prototypes such that they are consistent among each other. Use the right side to match source code. --- man/sd_bus_creds_get_pid.xml | 48 +++ man/sd_bus_creds_new_from_pid.xml | 12

[systemd-devel] [PATCH 10/10] doc: utilize the DocBook markup for some literals

2014-02-17 Thread Jan Engelhardt
--- man/systemd-networkd.service.xml | 6 +++--- man/systemd-udevd.service.xml| 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml index 48521df..527742c 100644 --- a/man/systemd-networkd.service.xml +++

[systemd-devel] [PATCH 02/10] doc: quote consistently in autoconf code

2014-02-17 Thread Jan Engelhardt
AS_HELP_STRING has been observed to expand such that the surround function complains; play it safe and consistenly quote the example code throughout. --- man/daemon.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/daemon.xml b/man/daemon.xml index 26ba600..88dd082

Re: [systemd-devel] [PATCH] systemd.service(5): clarify behavior of SuccessExitStatus

2014-02-17 Thread Lennart Poettering
On Fri, 14.02.14 20:08, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Fri, Feb 14, 2014 at 01:44:12AM +0100, Lennart Poettering wrote: On Fri, 27.12.13 10:46, Dave Reisner (dreis...@archlinux.org) wrote: The behavior of this is a little cryptic in that $MAINPID must exit as

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread H. Peter Anvin
On 02/17/2014 06:40 AM, Koen Kooi wrote: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread arnaud gaboury
At least in systemd git nspawn places its machines in machines.slice. Lennart -- Lennart Poettering, Red Hat I can not build from git. .. GPERFsrc/core/load-fragment-gperf.c Empty input keyword is not allowed. To recognize an empty input keyword, your code should check for

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Koen Kooi
Op 17 feb. 2014, om 17:03 heeft H. Peter Anvin h...@zytor.com het volgende geschreven: On 02/17/2014 06:40 AM, Koen Kooi wrote: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again?

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 17, 2014 at 06:38:04PM +0100, arnaud gaboury wrote: At least in systemd git nspawn places its machines in machines.slice. Lennart -- Lennart Poettering, Red Hat I can not build from git. .. GPERFsrc/core/load-fragment-gperf.c Empty input keyword is

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread arnaud gaboury
What configure options did you use? Can you show the output from configure where it says what is enabled and what is disabled. What gperf version do you have? gperf-3.0.4-4 I use the AUR mechanism to make/install package in Arch linux.Here is part of it: build() { cd 'systemd'

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread Dave Reisner
On Mon, Feb 17, 2014 at 07:35:20PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Feb 17, 2014 at 06:38:04PM +0100, arnaud gaboury wrote: At least in systemd git nspawn places its machines in machines.slice. Lennart -- Lennart Poettering, Red Hat I can not build from

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread arnaud gaboury
Doesn't build for me with the suggested ./configure options, using gperf 3.0.4. I applied this patch locally fix it: https://paste.xinu.at/Ffu/ The problem seems to be the empty lines in the generated .gperf file. d See my previous email, I think too all these blank lines in

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread Thomas H.P. Andersen
On Mon, Feb 17, 2014 at 8:02 PM, Dave Reisner d...@falconindy.com wrote: On Mon, Feb 17, 2014 at 07:35:20PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Feb 17, 2014 at 06:38:04PM +0100, arnaud gaboury wrote: At least in systemd git nspawn places its machines in machines.slice.

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Vasiliy Tolstov
2014-02-17 18:40 GMT+04:00 Koen Kooi k...@dominion.thruhere.net: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close,

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread H. Peter Anvin
On 02/17/2014 12:01 PM, Vasiliy Tolstov wrote: 2014-02-17 18:40 GMT+04:00 Koen Kooi k...@dominion.thruhere.net: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you

[systemd-devel] [PATCH] networkd: act on lease only if there is one

2014-02-17 Thread Umut Tezduyar Lindskog
Interface could go down before acquiring a dhcp lease --- src/network/networkd-link.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index d83c4ce..9aca1b6 100644 --- a/src/network/networkd-link.c +++

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread Vasiliy Tolstov
2014-02-18 0:07 GMT+04:00 H. Peter Anvin h...@zytor.com: kexec? Is that possible to keep ramdisk while doing kexec? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ systemd-devel mailing list

[systemd-devel] Problems with systemd-coredump

2014-02-17 Thread Manuel Reimer
Hello, if a bigger application crashes with coredump, then systemd-coredump seems to have a few problems with that. At first, there is the 767 MB limitation which just drops all bigger coredumps. But even below this limit it seems to be impossible to store coredumps. I did a few tries and

Re: [systemd-devel] needed steps to get rebootless upgrade

2014-02-17 Thread H. Peter Anvin
Well, kexec passes an initramfs like any other boot. On February 17, 2014 12:27:34 PM PST, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-02-18 0:07 GMT+04:00 H. Peter Anvin h...@zytor.com: kexec? Is that possible to keep ramdisk while doing kexec? -- Sent from my mobile phone. Please

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread arnaud gaboury
Dave's patch was incomplete and left us with some blank lines. I built systemd-git with this one : http://sprunge.us/Phac ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Problems with systemd-coredump

2014-02-17 Thread Jan Alexander Steffens
On Mon, Feb 17, 2014 at 9:27 PM, Manuel Reimer manuel.s...@nurfuerspam.de wrote: Hello, if a bigger application crashes with coredump, then systemd-coredump seems to have a few problems with that. At first, there is the 767 MB limitation which just drops all bigger coredumps. But even

[systemd-devel] [PATCH] man: fix a typo

2014-02-17 Thread Ansgar Burchardt
--- man/journald.conf.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 03bcd0c..9516432 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -400,7 +400,7 @@ and

Re: [systemd-devel] Problems with systemd-coredump

2014-02-17 Thread Kay Sievers
On Mon, Feb 17, 2014 at 9:43 PM, Jan Alexander Steffens jan.steff...@gmail.com wrote: On Mon, Feb 17, 2014 at 9:27 PM, Manuel Reimer manuel.s...@nurfuerspam.de wrote: Hello, if a bigger application crashes with coredump, then systemd-coredump seems to have a few problems with that. At

Re: [systemd-devel] [PATCH] networkd: act on lease only if there is one

2014-02-17 Thread Tom Gundersen
On Mon, Feb 17, 2014 at 9:16 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Interface could go down before acquiring a dhcp lease --- src/network/networkd-link.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/network/networkd-link.c

Re: [systemd-devel] [PATCH] man: fix a typo

2014-02-17 Thread Michael Biebl
2014-02-17 21:34 GMT+01:00 Ansgar Burchardt ans...@debian.org: --- man/journald.conf.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 03bcd0c..9516432 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml

Re: [systemd-devel] Mostly documentation updates

2014-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 17, 2014 at 04:29:26PM +0100, Jan Engelhardt wrote: Time for catching up :) Applied! Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread Lennart Poettering
On Mon, 17.02.14 21:43, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: Dave's patch was incomplete and left us with some blank lines. I built systemd-git with this one : http://sprunge.us/Phac Hmm, where's the difference if I may ask? With David's commit I see no empty lines in the

[systemd-devel] [HEADS-UP] It's release time!

2014-02-17 Thread Lennart Poettering
Heya! It's release time again! It has been more than 4 months now since the last release. That's kinda emberassing, since we actually intended to go for a 2-3 week cycle... The big dbus transition took some time however. Aynway, I just finished a review of the git history, marked backportable

[systemd-devel] [PATCH] doc: fix newly-arisen inconsistencies in NEWS

2014-02-17 Thread Jan Engelhardt
--- This goes onto 06beed6. NEWS | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index ae7be6e..6a6635b 100644 --- a/NEWS +++ b/NEWS @@ -5,13 +5,13 @@ CHANGES WITH 209: * A new component systemd-networkd has been added that can

Re: [systemd-devel] [PATCH] doc: fix newly-arisen inconsistencies in NEWS

2014-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 18, 2014 at 05:10:48AM +0100, Jan Engelhardt wrote: --- This goes onto 06beed6. Thanks, applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [HEADS-UP] It's release time!

2014-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 18, 2014 at 03:26:35AM +0100, Lennart Poettering wrote: Heya! It's release time again! It has been more than 4 months now since the last release. That's kinda emberassing, since we actually intended to go for a 2-3 week cycle... The big dbus transition took some time however.

[systemd-devel] [PATCH] NEWS: fix typos and grammar errors

2014-02-17 Thread Jason St. John
--- NEWS | 108 +-- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/NEWS b/NEWS index ae7be6e..d41eee8 100644 --- a/NEWS +++ b/NEWS @@ -4,14 +4,14 @@ CHANGES WITH 209: * A new component systemd-networkd has

Re: [systemd-devel] [PATCH] NEWS: fix typos and grammar errors

2014-02-17 Thread Jason St. John
On Tue, Feb 18, 2014 at 12:02 AM, Jason St. John jstj...@purdue.edu wrote: --- NEWS | 108 +-- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/NEWS b/NEWS index ae7be6e..d41eee8 100644 --- a/NEWS +++ b/NEWS

[systemd-devel] [PATCH] NEWS: fix typos and grammar errors

2014-02-17 Thread Jason St. John
--- This is a resubmit that should apply cleanly on top of Jan Engelhardt's latest patch (commit 4670e9d). NEWS | 102 +-- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/NEWS b/NEWS index 6a6635b..d65fe29 100644

[systemd-devel] [PATCH] NEWS: sd-resolv.h is sd-resolve.h

2014-02-17 Thread Daniel Buch
--- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6a6635b..5da5891 100644 --- a/NEWS +++ b/NEWS @@ -212,7 +212,7 @@ CHANGES WITH 209: time, and those which should be run only at boot (for example, a line that creates

Re: [systemd-devel] [PATCH] NEWS: sd-resolv.h is sd-resolve.h

2014-02-17 Thread David Herrmann
Hi On Tue, Feb 18, 2014 at 8:13 AM, Daniel Buch boogiewasth...@gmail.com wrote: --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Thanks! David diff --git a/NEWS b/NEWS index 6a6635b..5da5891 100644 --- a/NEWS +++ b/NEWS @@ -212,7 +212,7 @@ CHANGES WITH 209: