Re: [systemd-devel] systemd-journal-remote

2014-03-18 Thread David Timothy Strauss
On Sun, Mar 16, 2014 at 11:29 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Curl requires the whole file to be exported first, which isn't great, because it wants to give the content size in the header. I'm note sure if it is possible to tell it to not do that. I'm think you just

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-18 Thread Henrik /KaarPoSoft
On 03/17/2014 10:32 PM, Tom Gundersen wrote: On Mon, Mar 17, 2014 at 10:21 PM, Henrik /KaarPoSoft hen...@kaarposoft.dk wrote: Hi Tom, Thanks for your feedback... I was briefly looking through git commits after 211 without finding anything related. But then again I did not look into too much

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-18 Thread Henrik /KaarPoSoft
On 03/18/2014 09:18 AM, Henrik /KaarPoSoft wrote: On 03/17/2014 10:32 PM, Tom Gundersen wrote: On Mon, Mar 17, 2014 at 10:21 PM, Henrik /KaarPoSoft hen...@kaarposoft.dk wrote: Hi Tom, Thanks for your feedback... I was briefly looking through git commits after 211 without finding anything

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-18 Thread Tom Gundersen
On Tue, Mar 18, 2014 at 10:00 AM, Henrik /KaarPoSoft hen...@kaarposoft.dk wrote: On 03/18/2014 09:18 AM, Henrik /KaarPoSoft wrote: On 03/17/2014 10:32 PM, Tom Gundersen wrote: On Mon, Mar 17, 2014 at 10:21 PM, Henrik /KaarPoSoft hen...@kaarposoft.dk wrote: Hi Tom, Thanks for your

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-18 Thread Henrik /KaarPoSoft
On 03/18/2014 10:10 AM, Tom Gundersen wrote: On Tue, Mar 18, 2014 at 10:00 AM, Henrik /KaarPoSoft hen...@kaarposoft.dk wrote: On 03/18/2014 09:18 AM, Henrik /KaarPoSoft wrote: On 03/17/2014 10:32 PM, Tom Gundersen wrote: On Mon, Mar 17, 2014 at 10:21 PM, Henrik /KaarPoSoft

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-18 Thread poma
... - journalctl/systemd-networkd: systemd-networkd[597]: timestamp of '/etc/systemd/network' changed systemd-networkd[597]: timestamp of '/run/systemd/network' changed systemd-networkd[597]: bridge0: creating netdev systemd-networkd[597]: enp1s6: link (with ifindex 2) added

Re: [systemd-devel] systemd-journal-remote

2014-03-18 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 17, 2014 at 11:00:32PM -0700, David Timothy Strauss wrote: On Sun, Mar 16, 2014 at 11:29 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Curl requires the whole file to be exported first, which isn't great, because it wants to give the content size in the header. I'm

[systemd-devel] [PATCH] systemctl: refuse to do kexec, if no kernel is loaded

2014-03-18 Thread harald
From: Harald Hoyer har...@redhat.com Doing a kexec with no kernel loaded would currently issue a normal reboot. This might not be wanted, if the goal of kexec is to circumvent the boot loader. Better fail to kexec, than to reboot into a maybe broken setup. --- src/systemctl/systemctl.c | 11

Re: [systemd-devel] Mount options for $XDG_RUNTIME_DIR

2014-03-18 Thread Leonid Isaev
[Sorry, forgot to CC the mailing list] Hi Lennart, On Tue, 18 Mar 2014 02:33:50 +0100 Lennart Poettering lenn...@poettering.net wrote: On Mon, 17.03.14 19:04, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi, Currently, XDG_RUNTIME_DIR=/run/user/UID is mounted with rather

Re: [systemd-devel] Mount options for $XDG_RUNTIME_DIR

2014-03-18 Thread Dave Reisner
On Mar 18, 2014 12:59 PM, Leonid Isaev lis...@umail.iu.edu wrote: [Sorry, forgot to CC the mailing list] Hi Lennart, On Tue, 18 Mar 2014 02:33:50 +0100 Lennart Poettering lenn...@poettering.net wrote: On Mon, 17.03.14 19:04, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi,

Re: [systemd-devel] Mount options for $XDG_RUNTIME_DIR

2014-03-18 Thread Lennart Poettering
On Tue, 18.03.14 12:59, Leonid Isaev (lis...@umail.iu.edu) wrote: I mean, the XDG_RUNTIME_DIR spec says the dir must be fully-featured by the standards of the operating system. More specifically, ... proper permissions ... must be supported. I'd read that as if the x bit should do what it

Re: [systemd-devel] Mount options for $XDG_RUNTIME_DIR

2014-03-18 Thread Mantas Mikulėnas
On Mar 18, 2014 8:19 PM, Lennart Poettering lenn...@poettering.net wrote: … Well, the ELF interpretor stuff means noexec is pretty much entirely useless. If by this you mean running '/lib/ld-linux.so.2' directly, that does not work with noexec anymore, due to the aforementioned mmap

[systemd-devel] [PATCH] sd-ipv4ll: generate predictable addresses

2014-03-18 Thread Umut Tezduyar Lindskog
--- TODO |1 - src/libsystemd-network/sd-ipv4ll.c | 86 +++- src/network/networkd-link.c| 12 - src/network/networkd.h |1 + src/shared/net-util.c | 42 ++

[systemd-devel] How to manually set service in failed state

2014-03-18 Thread Usman
Hi Guys, I am trying to test some code with respect to my services setup. I have two services, lets say service_a and service_b. In service_a unit file I have this: OnFailure=service_b And from the man page for OnFailure unit I get this: A space-separated list of one or more units that are

Re: [systemd-devel] How to manually set service in failed state

2014-03-18 Thread Reindl Harald
Am 18.03.2014 22:59, schrieb Usman: I am trying to test some code with respect to my services setup. I have two services, lets say service_a and service_b. In service_a unit file I have this: OnFailure=service_b And from the man page for OnFailure unit I get this: A space-separated

Re: [systemd-devel] How to manually set service in failed state

2014-03-18 Thread Michael Biebl
/etc/systemd/system# cat fail.service [Unit] Description=Fail service [Service] ExecStart=/bin/false 2014-03-18 22:59 GMT+01:00 Usman deser...@yahoo.com: Hi Guys, I am trying to test some code with respect to my services setup. I have two services, lets say service_a and service_b. In

Re: [systemd-devel] How to manually set service in failed state

2014-03-18 Thread Usman
Thanks. But this requires that service_a should be a dummy service. I want both the services in actual deployment scenario and then fail service_a to simulate real crash. Any way I can do that? ___ systemd-devel mailing list

[systemd-devel] network@.service unit file : typo

2014-03-18 Thread arnaud gaboury
Hi all, From network@.service unit file : .. ExecStop=/sbin/ip link set dev %I down Execstop=/sbin/ip addr delete ${address}/${netmask} dev %I -- There is a typo: should be ExecStop and not Execstop Regards. ___

Re: [systemd-devel] network@.service unit file : typo

2014-03-18 Thread arnaud gaboury
From network@.service unit file : .. ExecStop=/sbin/ip link set dev %I down Execstop=/sbin/ip addr delete ${address}/${netmask} dev %I -- There is a typo: should be ExecStop and not Execstop Sorry for the noise as it is a netctl unit file.

Re: [systemd-devel] network@.service unit file : typo

2014-03-18 Thread arnaud gaboury
Sorry for the noise as it is a netctl unit file. I must be very tired : nothing to do with netctl... ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] network@.service unit file : typo

2014-03-18 Thread Mantas Mikulėnas
On Mar 19, 2014 1:47 AM, arnaud gaboury arnaud.gabo...@gmail.com wrote: Hi all, From network@.service unit file : .. ExecStop=/sbin/ip link set dev %I down Execstop=/sbin/ip addr delete ${address}/${netmask} dev %I -- There is a typo: should be ExecStop and

Re: [systemd-devel] [PATCH] sd-ipv4ll: generate predictable addresses

2014-03-18 Thread Lennart Poettering
On Tue, 18.03.14 20:29, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: +int net_get_unique_predictable_data(struct udev_device *device, uint64_t *result) { +size_t l, sz = 0; +const char *name; +int r; +uint8_t *v; + +/* fetch some

[systemd-devel] [PATCH] Don't use class in public headers

2014-03-18 Thread Marc-Antoine Perennou
--- src/systemd/sd-login.h | 2 +- src/systemd/sd-resolve.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 87ebafb..c539dd8 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -178,7 +178,7 @@ int