Re: [systemd-devel] [PATCH 1/5] shared: rename path_strv_canonicalize_absolute functions

2014-06-19 Thread Michael Marineau
On Thu, Jun 19, 2014 at 9:14 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jun 19, 2014 at 07:07:02PM -0700, Michael Marineau wrote: >> Since 12ed81d9 path_strv_canonicalize_absolute leaves the search list >> relative to the given root directory instead of resolving paths to their >> true locat

Re: [systemd-devel] [PATCH 1/5] shared: rename path_strv_canonicalize_absolute functions

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 19, 2014 at 07:07:02PM -0700, Michael Marineau wrote: > Since 12ed81d9 path_strv_canonicalize_absolute leaves the search list > relative to the given root directory instead of resolving paths to their > true location as the name implies. To better reflect this behavior > rename to the l

Re: [systemd-devel] [PATCH 04/11] Allow multiple sulogin to be started

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 13, 2014 at 04:41:03PM +0200, Werner Fink wrote: > From: Frederic Crozat > > Otherwise any agetty on the devices of the system console will > conflict with sulogin and its input. > > --- > units/getty@.service.m4|1 + > units/rescue.target|1 + > units/se

[systemd-devel] [Proposal] Minimal network settings passed to networkd from the kernel cmdline

2014-06-19 Thread Corus
Hello. I just joined the list so I'm sorry if this is not the proper way to propose or ask for a feature to be added to systemd. I spoke in #systemd on Freenode a few days ago and I was pointed in this direction for submitting feature requests. I read this post: http://0pointer.de/blog/projects/

Re: [systemd-devel] [PATCH 08/11] Avoid abort due timeout at user service

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 13, 2014 at 04:41:07PM +0200, Werner Fink wrote: > It was seen only once, nevertheless this change does avoid the > assert on s->user->slice in session_start_scope() Yeah, it seems possible that the slice will not be started and the assert can fail. It seems that instead of checking s->

Re: [systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 16, 2014 at 02:59:34PM +0200, Dr. Werner Fink wrote: > On Fri, Jun 13, 2014 at 07:09:50PM +0300, Ran Benita wrote: > > From a cursory look, the bash-completion package deals with this issue > > in a more systematic way. See _init_completion() in > > /usr/share/bash-completion/bash_compl

Re: [systemd-devel] [PATCH 10/11] Avoid doubling the efforts for /var/log/journal

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 18, 2014 at 08:10:03PM +0200, Goffredo Baroncelli wrote: > Hi Fink > > On 06/13/2014 04:41 PM, Werner Fink wrote: > > That is: set NOATIME, NOCOW, and NOCOMP for the journal directory > > If I read correctly, you want set UN-conditionally the NOCOW behavior. > Please, please, please

Re: [systemd-devel] [PATCH 06/11] There is no ANSI support on common 3215 consoles

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 13, 2014 at 04:41:05PM +0200, Werner Fink wrote: > Therefore strip off the ANSI escape sequences for 3215 consoles > but support 3270 consoles if found. > > --- > src/core/manager.c | 24 > src/shared/util.c | 80 > +++

Re: [systemd-devel] [PATCH 05/11] After emergency service had been started any incoming traffic on syslog.socket

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jun 17, 2014 at 06:52:04AM +0400, Andrey Borzenkov wrote: > В Fri, 13 Jun 2014 16:41:04 +0200 > Werner Fink пишет: > > > From: arvidj...@gmail.com > > > > will terminate emergency.service due to implicit dependencies on > > basic.target > > and therefore sysinit.target which in turn con

Re: [systemd-devel] [PATCH 03/11] Ensure that ask-password-wall starts after getty.target

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 13, 2014 at 04:41:02PM +0200, Werner Fink wrote: > From: Frederic Crozat > > --- > units/systemd-ask-password-wall.service.in |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git units/systemd-ask-password-wall.service.in > units/systemd-ask-password-wall.ser

Re: [systemd-devel] [PATCH 02/11] Use valid symlink for serial /dev/3270/tty1 in systemd-getty-generator

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 13, 2014 at 04:41:01PM +0200, Werner Fink wrote: > Otherwise the add_symlink() function tries to make directories for each > slash even for the slash after the @ symbol in the final link name. I now pushed a simpler patch which should fix the issue. Please test. Zbyszek ___

[systemd-devel] [PATCH 3/5] conf-files: include root in returned file paths

2014-06-19 Thread Michael Marineau
This restores the original root handling logic that was present prior to 112cfb18 when path expansion moved to path_strv_canonicalize_absolute. That behavior partially went away in 12ed81d9. Alternatively all users of conf_files_list* could be updated to concatenate the paths themselves as unit_fi

[systemd-devel] [PATCH 5/5] shared: fix search_and_fopen with alternate roots

2014-06-19 Thread Michael Marineau
Update for the current behavior of path_strv_resolve which now returns paths relative to the given root, not the full absolute paths. --- src/shared/util.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index c1e1f9f..aaf109e 100644 --

[systemd-devel] [PATCH 4/5] test: ensure conf_files_list returns absolute paths

2014-06-19 Thread Michael Marineau
--- .gitignore | 1 + Makefile.am| 9 - src/test/test-conf-files.c | 84 ++ 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 src/test/test-conf-files.c diff --git a/.gitignore b/.gitignore index

[systemd-devel] [PATCH 2/5] test: unit test for using alternate roots with path_strv_resolve

2014-06-19 Thread Michael Marineau
--- src/test/test-path-util.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c index 9f8ae4d..4ee33a9 100644 --- a/src/test/test-path-util.c +++ b/src/test/test-path-util.c @@ -20,10 +20,12 @@ ***/ #inclu

[systemd-devel] [PATCH 1/5] shared: rename path_strv_canonicalize_absolute functions

2014-06-19 Thread Michael Marineau
Since 12ed81d9 path_strv_canonicalize_absolute leaves the search list relative to the given root directory instead of resolving paths to their true location as the name implies. To better reflect this behavior rename to the less strongly worded path_strv_resolve. --- src/shared/conf-files.c | 2 +

Re: [systemd-devel] [PATCH 01/11] Ensure that systemd-sysctl.service is applied after modules are loaded

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 18, 2014 at 11:54:49AM +0200, Dr. Werner Fink wrote: > On Mon, Jun 16, 2014 at 06:02:37PM +0200, Tom Gundersen wrote: > > On Mon, Jun 16, 2014 at 5:19 PM, Frederic Crozat wrote: > > > > > > See https://bugzilla.novell.com/show_bug.cgi?id=725412 > > > > Hm, that really does not look co

Re: [systemd-devel] [PATCH] units/systemd-sysctl.service.in: run after load-modules

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 23, 2013 at 04:50:26AM +0100, Lennart Poettering wrote: > On Sat, 23.03.13 03:54, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > > > Modules might or will register new sysctl options. > > Well, most modules are loaded asynchronously from udev, so I fear this > won't do much...

Re: [systemd-devel] [PATCH] tests: add missing return

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 20, 2014 at 12:26:12AM +0200, Ronny Chevalier wrote: > --- > src/test/test-fdset.c | 2 ++ > 1 file changed, 2 insertions(+) Applied! Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mai

Re: [systemd-devel] [PATCH] tests: add tests for strv_extendf

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 20, 2014 at 12:25:58AM +0200, Ronny Chevalier wrote: > --- > src/test/test-strv.c | 15 +++ > 1 file changed, 15 insertions(+) Applied! Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freed

Re: [systemd-devel] [PATCH] tests: add tests to test-util

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 20, 2014 at 12:25:34AM +0200, Ronny Chevalier wrote: > add tests for: > - filename_is_safe > - ascii_strlower > - files_same > - is_valid_documentation_url > - file_in_same_dir > - endswith > - close_nointr > - unlink_noerrno > - readlink_and_make_absolute > - read_o

Re: [systemd-devel] [PATCH 3/3] sd-dhcp6-client: include dhcp6-protocol.h in the list of sources

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 15:27, Filipe Brandenburger (filbran...@google.com) wrote: > > Thanks Lennart! > > Any chance that testing "make dist" and "make distcheck" could be > incorporated as part of the Jenkins run? David Strauss runs the Jenkins instance. David, any chance you can add "make distcheck

Re: [systemd-devel] localization of console

2014-06-19 Thread Lennart Poettering
On Wed, 18.06.14 20:19, Alexey Shabalin (a.shaba...@gmail.com) wrote: > Hello. > > I do not understand how the should work localization of console. > - systemd-vconsole-setup.service for an early boot (for enter password > in cryptsetup? but people do not used non-latin letters for password) > >

Re: [systemd-devel] systemd-networkd: no network connectivity with 214/master due to 63a070415db09f5b5bcc5c

2014-06-19 Thread Lennart Poettering
On Wed, 18.06.14 21:51, Friedrich Kröner (friedr...@mailstation.de) wrote: > Hello, > > when trying systemd-networkd with >=214 and the following config: > > [Match] > Name=eth* > > [Network] > DHCP=yes > > Address=2001:db8::1234:5678/64 > DNS=8.8.8.8 > DNS=2001:db8:1::ab9:C0A8:102 > reverting

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

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 10:43, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: Applied earlier today by Zbigniew! Thanks! > --- > man/systemd.special.xml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man/systemd.special.xml b/man/systemd.special.xml > index f29cc23..2ff64

Re: [systemd-devel] Soliciting feedback for golang bindings to the systemd journal C API

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 19, 2014 at 12:28:06PM -0700, Brandon Philips wrote: > On Sat, Jun 14, 2014 at 8:13 AM, Zbigniew Jędrzejewski-Szmek > wrote: > > I think that designing the api in steps like this will make it harder > > to get a consistent design. The journal api is rather small, so I don't > > think i

Re: [systemd-devel] [PATCH] tests: fix test-icmp6-rs

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 19:32, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: Looks good! Applied! Thanks! > Don't close the fd given to sd-icmp6-nd, since it will be aynschonously closed > by sd_icmp6_nd_unref > --- > src/libsystemd-network/test-icmp6-rs.c | 1 - > 1 file changed, 1 deletion(-) >

Re: [systemd-devel] [PATCH] sd-icmp6-nd: fix uninitialized fd

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 19:32, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: Looks good! Applied! > --- > src/libsystemd-network/sd-icmp6-nd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/libsystemd-network/sd-icmp6-nd.c > b/src/libsystemd-network/sd-icmp6-nd.c > index f820a9c..1

Re: [systemd-devel] [PATCH 3/3] sd-dhcp6-client: include dhcp6-protocol.h in the list of sources

2014-06-19 Thread Filipe Brandenburger
Thanks Lennart! Any chance that testing "make dist" and "make distcheck" could be incorporated as part of the Jenkins run? I also have some other patches I sent on Monday that fix some other problems in dist and distcheck... It would be great if someone could take a look at them... Cheers, Filip

Re: [systemd-devel] [PATCH] sd-dhcp6-client: fix uninitialized variables

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 19:44, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: Looks good! Applied! > --- > src/libsystemd-network/sd-dhcp6-client.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/libsystemd-network/sd-dhcp6-client.c > b/src/libsystemd-network/sd-d

Re: [systemd-devel] [PATCH] coredump: fix include of xattr.h

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 11:18, Filipe Brandenburger (filbran...@google.com) wrote: > The correct path is now (from glibc-headers) and no longer > (from libattr-devel.) > > Fixes: 34c10968cbe3b5591b3c0ce225b8694edd9709d0 Thanks a lot! Applied! Lennart -- Lennart Poettering, Red Hat

[systemd-devel] [PATCH] tests: add missing return

2014-06-19 Thread Ronny Chevalier
--- src/test/test-fdset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test-fdset.c b/src/test/test-fdset.c index ed83ee1..7f52748 100644 --- a/src/test/test-fdset.c +++ b/src/test/test-fdset.c @@ -111,4 +111,6 @@ int main(int argc, char *argv[]) { test_fdset_put_dup();

Re: [systemd-devel] [PATCH 3/3] sd-dhcp6-client: include dhcp6-protocol.h in the list of sources

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 11:59, Filipe Brandenburger (filbran...@google.com) wrote: > If the file is not listed, then "make dist" will not include it. > > Tested: "make distcheck" works after this fix is applied. > > Fixes: 139b011ab81ccea1d51f09e0261a1c390115c6ff Thanks! Applied all three! Lennart

[systemd-devel] [PATCH] tests: add tests to test-util

2014-06-19 Thread Ronny Chevalier
add tests for: - filename_is_safe - ascii_strlower - files_same - is_valid_documentation_url - file_in_same_dir - endswith - close_nointr - unlink_noerrno - readlink_and_make_absolute - read_one_char - ignore_signals - strshorten --- src/test/test-util.c | 202 +

[systemd-devel] [PATCH] tests: add tests for strv_extendf

2014-06-19 Thread Ronny Chevalier
--- src/test/test-strv.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/test/test-strv.c b/src/test/test-strv.c index c8c5fc9..24ed681 100644 --- a/src/test/test-strv.c +++ b/src/test/test-strv.c @@ -323,6 +323,20 @@ static void test_strv_extend(void) { assert_se

Re: [systemd-devel] [PATCH] tmpfiles: copy - stop if chown/chmod fails

2014-06-19 Thread Lennart Poettering
On Thu, 19.06.14 22:48, Thomas H.P. Andersen (pho...@gmail.com) wrote: > From: Thomas Hindoe Paaboel Andersen > > after 19f3934057d20c63f4c95791312038a41b4666d0 the errors from chown/chmod > will be cleared before being read. Presumably to clear the possible EEXIST > from copying to an existing

Re: [systemd-devel] Soliciting feedback for golang bindings to the systemd journal C API

2014-06-19 Thread Brandon Philips
On Thu, Jun 19, 2014 at 12:37 PM, Dan Mace wrote: > This is on my backburner at the moment while I work on some other things. > Hitting the segfault while testing our primary use case and being unable to > reproduce the error made me nervous enough that I don't feel comfortable > promoting any

[systemd-devel] [PATCH] tmpfiles: copy - stop if chown/chmod fails

2014-06-19 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen after 19f3934057d20c63f4c95791312038a41b4666d0 the errors from chown/chmod will be cleared before being read. Presumably to clear the possible EEXIST from copying to an existing directory. Note: with this patch we stop immediately on error in chown/chmod while

Re: [systemd-devel] [PATCH 1/2] dhcp-network: add check for DHCP.chaddr

2014-06-19 Thread Michal Sekletar
On Thu, Jun 19, 2014 at 12:02:39PM -0500, Dan Williams wrote: > On Thu, 2014-06-19 at 18:59 +0200, Michal Sekletar wrote: > > Check that received DHCP packets actually include our MAC address in > > chaddr field. BPF interpreter has 32 bit wide registers but MAC address > > is 48 bits long so we ha

Re: [systemd-devel] Soliciting feedback for golang bindings to the systemd journal C API

2014-06-19 Thread Dan Mace
- Original Message - > From: "Brandon Philips" > To: "Zbigniew Jędrzejewski-Szmek" > Cc: "Dan Mace" , "systemd Mailing List" > , > appinfra-l...@redhat.com > Sent: Thursday, June 19, 2014 3:28:06 PM > Subject: Re: [systemd-devel] Soliciting feedback for golang bindings to the > systemd

Re: [systemd-devel] Soliciting feedback for golang bindings to the systemd journal C API

2014-06-19 Thread Brandon Philips
On Sat, Jun 14, 2014 at 8:13 AM, Zbigniew Jędrzejewski-Szmek wrote: > I think that designing the api in steps like this will make it harder > to get a consistent design. The journal api is rather small, so I don't > think it is hard to cover most of it in the initial design. In my > experience, ge

[systemd-devel] [PATCH 1/3] sd-dhcp6-client: remove bogus dependency on dhcp6-icmp6.h

2014-06-19 Thread Filipe Brandenburger
Makefile.am had a reference to it but it none of the sources included it. Tested: "make dist" works again after this patchset is applied. Fixes: 2ea8857effb833615b16d10fc7a19a7104c19e13 --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4f4eb372935

[systemd-devel] [PATCH 3/3] sd-dhcp6-client: include dhcp6-protocol.h in the list of sources

2014-06-19 Thread Filipe Brandenburger
If the file is not listed, then "make dist" will not include it. Tested: "make distcheck" works after this fix is applied. Fixes: 139b011ab81ccea1d51f09e0261a1c390115c6ff --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index d93b64e69d85..2427b24f59f

[systemd-devel] [PATCH 2/3] sd-dhcp6-client: fix path of sd-icmp6-nd.h in Makefile.am

2014-06-19 Thread Filipe Brandenburger
It was incorrectly looking for a file in src/libsystemd-network/ when the file was actually deployed to src/systemd/ instead. This broke "make dist". Tested: "make dist" works again after this patchset is applied. Fixes: f20a35cc0d537dd4cfc1054cf7936b04a1700f3a --- Makefile.am | 2 +- 1 file c

[systemd-devel] [PATCH] sd-dhcp6-client: fix uninitialized variables

2014-06-19 Thread Ronny Chevalier
--- src/libsystemd-network/sd-dhcp6-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c index ef5fb44..97a2ba7 100644 --- a/src/libsystemd-network/sd-dhcp6-client.c +++ b/src/libsystem

[systemd-devel] [PATCH] sd-icmp6-nd: fix uninitialized fd

2014-06-19 Thread Ronny Chevalier
--- src/libsystemd-network/sd-icmp6-nd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsystemd-network/sd-icmp6-nd.c b/src/libsystemd-network/sd-icmp6-nd.c index f820a9c..10c5e5e 100644 --- a/src/libsystemd-network/sd-icmp6-nd.c +++ b/src/libsystemd-network/sd-icmp6-nd.c @@ -171,6 +1

[systemd-devel] [PATCH] tests: fix test-icmp6-rs

2014-06-19 Thread Ronny Chevalier
Don't close the fd given to sd-icmp6-nd, since it will be aynschonously closed by sd_icmp6_nd_unref --- src/libsystemd-network/test-icmp6-rs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libsystemd-network/test-icmp6-rs.c b/src/libsystemd-network/test-icmp6-rs.c index 86e02cc..cd5c476

Re: [systemd-devel] [PATCH] ease installation on non-running kernels

2014-06-19 Thread Greg KH
On Tue, Jun 17, 2014 at 11:18:24PM +0200, Simon Peeters wrote: > --- > Makefile | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/Makefile b/Makefile > index c593b51..178257b 100644 > --- a/Makefile > +++ b/Makefile > @@ -17,7 +17,8 @@ kdbus$(EXT)-y := \ > >

Re: [systemd-devel] [PATCH 1/2] dhcp-network: add check for DHCP.chaddr

2014-06-19 Thread Dan Williams
On Thu, 2014-06-19 at 18:59 +0200, Michal Sekletar wrote: > Check that received DHCP packets actually include our MAC address in > chaddr field. BPF interpreter has 32 bit wide registers but MAC address > is 48 bits long so we have to do check in two steps. And if the MAC address is not 48 bits (I

[systemd-devel] [PATCH 1/2] dhcp-network: add check for DHCP.chaddr

2014-06-19 Thread Michal Sekletar
Check that received DHCP packets actually include our MAC address in chaddr field. BPF interpreter has 32 bit wide registers but MAC address is 48 bits long so we have to do check in two steps. --- src/libsystemd-network/dhcp-internal.h| 3 ++- src/libsystemd-network/dhcp-network.c | 15 +

[systemd-devel] [PATCH 2/2] dhcp-network: don't bother with IP fragments

2014-06-19 Thread Michal Sekletar
--- src/libsystemd-network/dhcp-network.c | 4 1 file changed, 4 insertions(+) diff --git a/src/libsystemd-network/dhcp-network.c b/src/libsystemd-network/dhcp-network.c index e5fd6a8..f500bff 100644 --- a/src/libsystemd-network/dhcp-network.c +++ b/src/libsystemd-network/dhcp-network.c @@

Re: [systemd-devel] [PATCH] fileio: make parse_env_file() return number of parsed items

2014-06-19 Thread Michal Sekletar
On Mon, Jun 02, 2014 at 06:03:27PM +0200, Michal Sekletar wrote: > This should make logic in locale_setup() work as intended, hence don't > parse /etc/locale.conf if admin passed to us explicit locale settings on > kernel cmdline. > --- > src/shared/fileio.c | 28 ++-- > 1

Re: [systemd-devel] [PATCH] localed: consider an unset model as a wildcard

2014-06-19 Thread Michal Sekletar
On Fri, May 30, 2014 at 06:20:16PM +0200, Michal Sekletar wrote: ping? > --- > src/locale/localed.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/src/locale/localed.c b/src/locale/localed.c > index e3061c8..358f6c2 100644 > --- a/src/locale/localed.c > +

[systemd-devel] [PATCH RFC] Add an UpdateMachineLeader method to machined

2014-06-19 Thread Cedric Bosdonnat
The rationale for this is that libvirt first creates the machine on machined and then starts the init process of the container. In such a case, the leader pid can't be the proper one when registering the machine and it needs to be updated as soon as the init process is started. --- src/machine/mac

[systemd-devel] Linking user-session services to a systemd-logind session

2014-06-19 Thread Elias Probst
Hi list, I'm working on getting (at least the basics for now) ready to run a KF5 based Plasma Workspace session completely based on systemd user-session services to get rid of the legacy cruft shell-based "startkde" script and get to use all the nice things systemd offers. I'm currently stuck try

Re: [systemd-devel] localization of console

2014-06-19 Thread Andrey Borzenkov
On Thu, Jun 19, 2014 at 1:49 PM, Alexey Shabalin wrote: >>> >>> Oh, sorry. I have not problems with encryption passphrase. >>> I can not see my font after getty@.service, after login. >> >> Are you using graphical plymouth (or may be another boot splash screen)? > > Yes, plymouth. > It sounds sim

Re: [systemd-devel] [PATCH 02/24] sd-dhcp6-client: Add Router Solicitation and Advertisement support

2014-06-19 Thread Patrik Flykt
On Wed, 2014-06-18 at 16:27 +0200, Zbigniew Jędrzejewski-Szmek wrote: > > Go ahead and push. It is probably simpler to make further > > suggestions/comments in terms of patches anyway. > Agreed. I made some small comments, but the patch set looks great. Polished a bit more and pushed, enjoy! Chee

Re: [systemd-devel] [PATCH 12/24] sd-dhcp6-client: Add DHCPv6 Solicit message creation and sending

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 19, 2014 at 02:52:06PM +0300, Patrik Flykt wrote: > On Wed, 2014-06-18 at 16:25 +0200, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Jun 18, 2014 at 07:05:35AM -0700, Filipe Brandenburger wrote: > > > On Wed, Jun 18, 2014 at 6:58 AM, Zbigniew Jędrzejewski-Szmek > > > wrote: > > > >> +

Re: [systemd-devel] [PATCH 02/24] sd-dhcp6-client: Add Router Solicitation and Advertisement support

2014-06-19 Thread Patrik Flykt
On Wed, 2014-06-18 at 16:27 +0200, Zbigniew Jędrzejewski-Szmek wrote: > > Go ahead and push. It is probably simpler to make further > > suggestions/comments in terms of patches anyway. > Agreed. I made some small comments, but the patch set looks great. Patch set fixed according to your comments e

Re: [systemd-devel] [PATCH 12/24] sd-dhcp6-client: Add DHCPv6 Solicit message creation and sending

2014-06-19 Thread Patrik Flykt
On Wed, 2014-06-18 at 16:25 +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Jun 18, 2014 at 07:05:35AM -0700, Filipe Brandenburger wrote: > > On Wed, Jun 18, 2014 at 6:58 AM, Zbigniew Jędrzejewski-Szmek > > wrote: > > >> +if (client->fd > 0) > > >> +safe_close(client->f

[systemd-devel] Setting bridge parameters

2014-06-19 Thread Vladimir Elisseev
Hello, Simple question: is there a way to set bridge parameters (bridge forward delay, bridge hello time, etc) using systemd networking units? Regards, Vlad. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.or

Re: [systemd-devel] localization of console

2014-06-19 Thread Alexey Shabalin
2014-06-19 6:31 GMT+04:00 Andrey Borzenkov : > В Thu, 19 Jun 2014 02:04:53 +0400 > Alexey Shabalin пишет: > >> 2014-06-19 0:06 GMT+04:00 Jason St. John : >> > On Wed, Jun 18, 2014 at 12:19 PM, Alexey Shabalin >> > wrote: >> >> Hello. >> >> >> >> I do not understand how the should work localizati

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

2014-06-19 Thread Ronny Chevalier
--- man/systemd.special.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd.special.xml b/man/systemd.special.xml index f29cc23..2ff64c9 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -1137,7 +1137,7 @@

Re: [systemd-devel] [PATCH 09/24] sd-dhcp6-client: Add DHCPv6 client Solicitation timeout handling

2014-06-19 Thread Patrik Flykt
Hi, On Wed, 2014-06-18 at 15:50 +0200, Zbigniew Jędrzejewski-Szmek wrote: > > +if (!client->retransmit_time) { > > +client->retransmit_time = > > + > > client_timeout_compute_random(init_retransmit_time); > > +} else { > > +