Re: [systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-01-29 Thread Andrei Borzenkov
On Thu, Jan 29, 2015 at 8:31 PM, John Lane wrote: > I am looking for some advice about configuring encrypted volumes with > systemd that I want to open on demand (noauto). > > I can add entries into /etc/crypttab and /etc/fstab for the device, for > example > > #

[systemd-devel] Callback of sd_bus_track: when it will be invoked

2015-01-29 Thread cee1
Hi all, I notice in sd_bus_track_new, a callback can be specified, but when it will be invoked? It seems it will not be triggered when a name in track is removed. -- Regards, - cee1 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Support for staged startup

2015-01-29 Thread Hoyer, Marko (ADITG/SW2)
Hi Alison, > -Original Message- > From: Alison Chaiken [mailto:ali...@she-devel.com] > Sent: Thursday, January 29, 2015 8:17 PM > To: systemd-devel@lists.freedesktop.org > Cc: Hoyer, Marko (ADITG/SW2) > Subject: Re: Support for staged startup > > Marko Hoyer asks: > > I'd like to realize

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 29, 2015 at 06:49:08PM +0300, Andrei Borzenkov wrote: > В Thu, 29 Jan 2015 15:10:16 +0100 > Zbigniew Jędrzejewski-Szmek пишет: > > > On Thu, Jan 29, 2015 at 02:05:10PM +, Rauta, Alin wrote: > > > What if we don't use the "*" for now and document "BindCarrier" > > > accordingly to

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
В Thu, 29 Jan 2015 16:19:14 + "Rauta, Alin" пишет: > So, we have: > > 1. BindCarrier="list of uplink ports" > > 2. Network.DownlinkCarrierGroup=1 in upstream interface > Network.UplinkCarrierGroup=1 in downstream interface > > This would mean you have to create 2 new members for the Networ

Re: [systemd-devel] BUG: several bugs in core/main.c (v218)

2015-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 29, 2015 at 09:54:57PM +0100, tomazzi wrote: > To summarise: there are no bugs in core/main.c: > > 1. Ignoring return value from sigaction is not a problem, because > it's almost *unlikely* to fail. > In any case, kernel will do the job, so it doesn't even matter > whether the handle

[systemd-devel] systemd-nspawn support for loading kernel modules / custom seccomp rules

2015-01-29 Thread Jay Faulkner
Hi all, I’m a big fan of systemd, and currently use IPA[1] running inside systemd-nspawn containers to provision and maintain systems as part of OpenStack Ironic. This includes, at times, doing things like flashing firmwares which may require a kernel module to be loaded. Currently, we’re usin

Re: [systemd-devel] Programmatically setting udev properties

2015-01-29 Thread Tomasz Torcz
On Fri, Jan 30, 2015 at 08:12:54AM +1000, Peter Hutterer wrote: > Hi, > > I need some sort of way of assigning udev properties on the fly to a device, > but I'm short of ideas how to do this sensibly. > > Because of uinput, the test suite runs as root. One solution would be to > drop a custom tes

[systemd-devel] Programmatically setting udev properties

2015-01-29 Thread Peter Hutterer
Hi, I need some sort of way of assigning udev properties on the fly to a device, but I'm short of ideas how to do this sensibly. A bit more context: The libinput test suite works by setting up uinput devices for each test case, then hooking libinput contexts up to those devices. libinput itself u

Re: [systemd-devel] BUG: several bugs in core/main.c (v218)

2015-01-29 Thread tomazzi
On 01/29/2015 03:16 AM, Zbigniew Jędrzejewski-Szmek wrote: 2. SIGSEGV should be catched by a handler running on a separate stack (SA_ONSTACK) - otherwise it can cause segfault itself, when the first SIGSEGV which triggered the handler is caused by stack overflow. I'd take a patch for this, but

Re: [systemd-devel] Support for staged startup

2015-01-29 Thread Alison Chaiken
Marko Hoyer asks: > I'd like to realize a staged startup with systemd which is mainly about: > - starting up a static tree up to a final service > - the only job of the final service is to kick off the start of an additional > sub tree of units > This kind of startup could be realized simply by ad

Re: [systemd-devel] [PATCH 12/12] Add mock fsck process

2015-01-29 Thread Didier Roche
Le 28/01/2015 17:13, Martin Pitt a écrit : Zbigniew Jędrzejewski-Szmek [2015-01-28 16:08 +0100]: +#!/bin/bash I think you can change this to /bin/sh, I don't see any bashisms. +declare -a maxpass=(30 5 2 30 60) I do :-) POSIX shell doesn't have arrays AFAIK, and declare -a definitively doesn

Re: [systemd-devel] [PATCH 11/12] Add man page and references to it.

2015-01-29 Thread Didier Roche
Le 28/01/2015 16:06, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:24:55PM +0100, Didier Roche wrote: From 6b13d8fb248bf4176f1ad7e1d4736683462bf196 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 17:34:59 +0100 Subject: [PATCH 11/12] Add man page and refer

Re: [systemd-devel] [PATCH 10/12] Add fsckd service and socket, retarget systemd-fsck

2015-01-29 Thread Didier Roche
Le 28/01/2015 16:00, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:24:32PM +0100, Didier Roche wrote: From 000f1b6ff4f5f80a2a13309590d255de6d6526ec Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 17:30:00 +0100 Subject: [PATCH 10/12] Add fsckd service and

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-29 Thread Didier Roche
Le 28/01/2015 21:25, Lennart Poettering a écrit : On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: src/fsck/fsck.c | 29 + src/fsckd/fsckd.c | 43 +++ src/fsckd/fsckd.h | 5 + 3 files changed, 69 in

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-29 Thread Didier Roche
Le 28/01/2015 15:53, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:22:54PM +0100, Didier Roche wrote: From 104cf82ba28941e907f277a713f834ceb3d909f0 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 16:40:52 +0100 Subject: [PATCH 06/12] Support cancellation o

Re: [systemd-devel] [PATCH 04/12] Add some plymouth functionality to connect and send, messages

2015-01-29 Thread Didier Roche
Le 28/01/2015 21:22, Lennart Poettering a écrit : On Wed, 28.01.15 14:22, Didier Roche (didro...@ubuntu.com) wrote: # -- +have_plymouth=no +AC_ARG_ENABLE(plymouth, AS_HELP_STRING([--disable-plymouth], [disable plymou

Re: [systemd-devel] [PATCH 04/12] Add some plymouth functionality to connect and send, messages

2015-01-29 Thread Didier Roche
Le 28/01/2015 15:44, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:22:04PM +0100, Didier Roche wrote: From 7afe9270e3210668053089caaff8a1dd790a48f5 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 17:07:32 +0100 Subject: [PATCH 04/12] Add some plymouth func

Re: [systemd-devel] [PATCH 01/12] fsckd daemon for inter-fsckd communication

2015-01-29 Thread Didier Roche
Le 28/01/2015 21:16, Lennart Poettering a écrit : Thanks for your feedbacks! Changes integrated, some remaining questions though: On Wed, 28.01.15 14:20, Didier Roche (didier.ro...@canonical.com) wrote: +last_activity = now(CLOCK_MONOTONIC); + +for (;;) { +in

[systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-01-29 Thread John Lane
I am looking for some advice about configuring encrypted volumes with systemd that I want to open on demand (noauto). I can add entries into /etc/crypttab and /etc/fstab for the device, for example # dataUUID=deadbeef

Re: [systemd-devel] [PATCH 01/12] fsckd daemon for inter-fsckd communication

2015-01-29 Thread Didier Roche
Le 28/01/2015 15:37, Zbigniew Jędrzejewski-Szmek a écrit : On Wed, Jan 28, 2015 at 02:20:40PM +0100, Didier Roche wrote: Hey Zbigniew, Thanks for the quick feedbacks! Integrated your changes in the incoming patches. Just answered to some comments here: From d0f49b4e0994b9a1dd2738da18c5a2a6

[systemd-devel] crash after commit core: make setting the shutdown watchdog configuration via dbus work

2015-01-29 Thread Cristian Rodríguez
hi: systemd crashes after that commit with gdb --args ./systemd Failed to create root cgroup hierarchy: Permission denied Failed to allocate manager object: Permission denied Program received signal SIGSEGV, Segmentation fault. 0x55574ec4 in main (argc=1, argv=0x7fffdac8) at src/

[systemd-devel] Support for staged startup

2015-01-29 Thread Hoyer, Marko (ADITG/SW2)
Hi all, I'd like to realize a staged startup with systemd which is mainly about: - starting up a static tree up to a final service - the only job of the final service is to kick off the start of an additional sub tree of units This kind of startup could be realized simply by adding an additional

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Daniel Ankers
On 29 January 2015 at 16:19, Rauta, Alin wrote: > So, we have: > > 1. BindCarrier="list of uplink ports" > > 2. Network.DownlinkCarrierGroup=1 in upstream interface > Network.UplinkCarrierGroup=1 in downstream interface > > This would mean you have to create 2 new members for the Network structur

Re: [systemd-devel] root= ignored

2015-01-29 Thread Chris Murphy
On Thu, Jan 29, 2015 at 2:20 AM, Felix Miata wrote: > I wrote "clone" for a reason. I don't "just copy" files. I clone (logical, > root, autonomous) *partitions*, subsequently modifying only fstab, volume > label and UUID before attempting boot from it. Clone is a generic term, it doesn't require

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Rauta, Alin
So, we have: 1. BindCarrier="list of uplink ports" 2. Network.DownlinkCarrierGroup=1 in upstream interface Network.UplinkCarrierGroup=1 in downstream interface This would mean you have to create 2 new members for the Network structure. 3. If we are to add 2 members then we can also think of add

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
В Thu, 29 Jan 2015 15:10:16 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Thu, Jan 29, 2015 at 02:05:10PM +, Rauta, Alin wrote: > > What if we don't use the "*" for now and document "BindCarrier" accordingly > > to be a list of port names and no wildcard ? > > Then, if it's the case we can a

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 29, 2015 at 02:05:10PM +, Rauta, Alin wrote: > What if we don't use the "*" for now and document "BindCarrier" accordingly > to be a list of port names and no wildcard ? > Then, if it's the case we can add such "*" support for "BindCarrier" and > think about all those corner cases

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Rauta, Alin
What if we don't use the "*" for now and document "BindCarrier" accordingly to be a list of port names and no wildcard ? Then, if it's the case we can add such "*" support for "BindCarrier" and think about all those corner cases ? /Alin -Original Message- From: Andrei Borzenkov [mailto:

Re: [systemd-devel] [PATCH v2] libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()

2015-01-29 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Aug 30, 2014 at 11:56:30AM +0200, Kay Sievers wrote: > On Sat, Aug 30, 2014 at 2:09 AM, Michael Biebl wrote: > > Updated patch which the correct version information. > > Applied. Hm, I think this was an unintentional ABI break. udev_queue_flush @@ LIBUDEV_183 was removed, udev_queue_flush

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Rauta, Alin
Hi Andrei, Please find my answers below: > How do you distinguish between groups? By interface list in BindCarrier > statement? Yes, first list of "BindCarrier"s will represent the uplinks for group ID 1; Second different list of "BindCarrier"s wiil represent the uplinks for group ID 2. And on

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
On Wed, Jan 28, 2015 at 3:40 PM, Lennart Poettering wrote: > On Wed, 28.01.15 10:13, Rauta, Alin (alin.ra...@intel.com) wrote: > >> Lennart, on a switch I should be able to configure more than one UFD >> group. > > What precisely does this mean? WOuld those groups be orthogonal? > > I really would

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Andrei Borzenkov
On Thu, Jan 29, 2015 at 2:20 PM, Rauta, Alin wrote: > Hi Lennart, > > I'll do some testing today with "BindCarrier=" and check if it covers all > usecases. > Regarding the "networkctl" update to show the UFD groups in a user friendly > fashion, what about that ? > > Let's take a simple example.

Re: [systemd-devel] [PATCH] fs: switch to d_splice_alias()

2015-01-29 Thread Daniel Mack
On 01/29/2015 05:42 AM, Bryan Hundven wrote: > During the 3.19 merge window, two commits in Linus's tree: > b5ae6b15bd73e35b129408755a0804287a87e041 > = > merge d_materialise_unique() into d_splice_alias() > = > and > 41d28bca2da4bd75a8915c1ccf2cacf7f4a2e531 > = > switch d_materialise_u

Re: [systemd-devel] [PATCH] Added UFD (Uplink failure detection) support to networkd

2015-01-29 Thread Rauta, Alin
Hi Lennart, I'll do some testing today with "BindCarrier=" and check if it covers all usecases. Regarding the "networkctl" update to show the UFD groups in a user friendly fashion, what about that ? Let's take a simple example. If I have a configuration file like below: #cat sw0p10.network [M

Re: [systemd-devel] root= ignored

2015-01-29 Thread Felix Miata
Chris Murphy composed on 2015-01-28 23:51 (UTC-0700): > Felix Miata wrote: >> Chris Murphy composed on 2015-01-27 23:29 (UTC-0700): >>> Felix Miata wrote: Lennart Poettering composed on 2015-01-28 02:03 (UTC+0100): > Hmm, Fedora doesn't obey root=? That sounds like a bug. >>> I'm not

[systemd-devel] [PATCH] timesyncd: Make saving clock to disk on NTP fix optional

2015-01-29 Thread Philipp Reinkemeier
Hi. Since it has bothered me that systemd-timesyncd unconditionally writes the current clock value to disk everytime it got an NTP fix i filed a BUG report (https://bugs.freedesktop.org/show_bug.cgi?id=86292). Zbigniew asked me to send a patch to this mailing list. So here it is. I also attached i