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 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: >time, an

[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 /run/nologin).

[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 ---

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 wrote: > --- > 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

[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" ha

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.

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

[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

[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 fix

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

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

[systemd-devel] [RFC] bus: add sd_bus_emit_object_{added, removed}()

2014-02-17 Thread David Herrmann
The ObjectManager dbus interface provides an InterfacesAdded signal to notify others about new interfaces that are added to an object. The same signal is also used to advertise new objects (by adding the first interface to a given object path) and delete them. However, our internal helpers sd_bus_

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

2014-02-17 Thread Michael Biebl
2014-02-17 21:34 GMT+01:00 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

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 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 b/src/network/networkd-link

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 wrote: > On Mon, Feb 17, 2014 at 9:27 PM, Manuel Reimer > 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 w

[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 Jan Alexander Steffens
On Mon, Feb 17, 2014 at 9:27 PM, Manuel Reimer 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 below this limit it

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] 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 wrote: >2014-02-18 0:07 GMT+04:00 H. Peter Anvin : >> kexec? > > >Is that possible to keep ramdisk while doing kexec? -- Sent from my mobile phone. Please pardon brevity and lack of form

[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 an

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 : > 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@lists.freedesktop.org http://li

[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 +++ b/sr

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 : >> 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 a

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

2014-02-17 Thread Vasiliy Tolstov
2014-02-17 17:50 GMT+04:00 Lennart Poettering : > Such reboot-less upgrades are hardly possible. There are large parts of > the system you cannot upgrade during runtime, such as the kernel or > dbus-daemon and other bits. And even if you could replace all these > things, upgrades during runtime bet

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 : > 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 Thomas H.P. Andersen
On Mon, Feb 17, 2014 at 8:02 PM, Dave Reisner 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. >> > > >> > > Lennart

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 src/sy

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

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 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 i

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 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? It as

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

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'

Re: [systemd-devel] [PATCH] export SELinuxContext on the bus as a structure

2014-02-17 Thread Lennart Poettering
On Fri, 14.02.14 17:13, Michael Scherer (m...@zarb.org) wrote: > This permit to hide the logic of prefixing by '-' from the consumer > of the DBus API, by presenting a boolean and a string rather than just > a raw string, with specific magic value. See > http://lists.freedesktop.org/archives/syste

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 ex

[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 +++ b/ma

[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

[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 man/sd_bus_lab

[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 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 --- a/src/core/umou

[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 a/

[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 @@ -

[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 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 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 wit

[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 44841cb351bb641ab8cbe77006e399913b1d8e

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 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 support reboot-less

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) sy

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 m

[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 ➤➤ ~