Re: [systemd-devel] [PATCH 1/7] libsystemd-bus: bring definitions in sync with kdbus

2013-12-03 Thread Daniel Mack
On 12/04/2013 03:31 AM, Yin Kangkai wrote: > On 2013-11-15, 19:32 +0100, Daniel Mack wrote: >> diff --git a/src/libsystemd-bus/bus-kernel.h >> b/src/libsystemd-bus/bus-kernel.h >> index c4573c9..69df4f4 100644 >> --- a/src/libsystemd-bus/bus-kernel.h >> +++ b/src/libsystemd-bus/bus-kernel.h >> @@

[systemd-devel] [PATCH] libsystemd-bus: trivial macro KDBUS_PART_HEADER_SIZE replace

2013-12-03 Thread Yin Kangkai
It's a little bit cleaner(?) to replace offsetof(struct kdbus_item, data) with KDBUS_PART_HEADER_SIZE. --- src/libsystemd-bus/bus-control.c | 16 src/libsystemd-bus/bus-kernel.c | 41 src/libsystemd-bus/bus-kernel.h | 2 +- 3 files chang

Re: [systemd-devel] Occasion hang an reboot - related to user@0.service

2013-12-03 Thread Chris Murphy
On Dec 3, 2013, at 7:46 PM, NeilBrown wrote: > It sounds similar to > http://lists.freedesktop.org/archives/systemd-devel/2013-July/012309.html > > but the fix mentioned their appears to be present in 208. > > I added some extra tracing, and it is definitely sending SIGTERM (but not > SIGHUP)

[systemd-devel] Occasion hang an reboot - related to user@0.service

2013-12-03 Thread NeilBrown
Hi, I'm using openSUSE-13.1 which has systemd-208 (plus assorted patches, most from later releases I think) and Linux 3.11.6. I have a minimal install with no GUI - I just log in as root on the text console. Sometimes when I type "reboot" it takes 90 seconds before the reboot completes. T

Re: [systemd-devel] [PATCH 1/7] libsystemd-bus: bring definitions in sync with kdbus

2013-12-03 Thread Yin Kangkai
On 2013-11-15, 19:32 +0100, Daniel Mack wrote: > In particular, KDBUS_ITEM_NEXT is now called KDBUS_PART_NEXT, and > KDBUS_ITEM_FOREACH was renamed to KDBUS_PART_FOREACH and takes one more > argument to make it more flexible. [...] > --- > src/libsystemd-bus/bus-control.c | 2 +- > src/libsyste

Re: [systemd-devel] Need help with a systemd/mdadm interaction.

2013-12-03 Thread NeilBrown
On Tue, 12 Nov 2013 19:01:49 +0400 Andrey Borzenkov wrote: > В Tue, 12 Nov 2013 21:17:19 +1100 > NeilBrown пишет: > > > On Tue, 12 Nov 2013 18:16:24 +0900 Greg KH > > wrote: > > > > > On Tue, Nov 12, 2013 at 07:54:42PM +1100, NeilBrown wrote: > > > > On Tue, 12 Nov 2013 00:10:28 -0800 Greg K

Re: [systemd-devel] DBus signal on unit start/stop

2013-12-03 Thread Lennart Poettering
On Tue, 03.12.13 17:26, Ragnar Thomsen (rthoms...@gmail.com) wrote: > > On Saturday 30 November 2013 19:30:12 you wrote: > > There are standard dbus PropertiesChanged signals sent out for ActiveState > > changes, which invalidate the properties when they change in released > > versions of systemd

Re: [systemd-devel] DBus signal on unit start/stop

2013-12-03 Thread Ragnar Thomsen
On Tuesday 03 December 2013 17:34:06 Holger Winkelmann wrote: > If I read Lennart's answer correctly, the newer version in git already tells > you what have changed: "and which carry the new values along in git" > > Is this right? Yes, the properties and their new values can be retrieved, but not

Re: [systemd-devel] DBus signal on unit start/stop

2013-12-03 Thread Holger Winkelmann [TP]
Hi, - Original Message - > On Saturday 30 November 2013 19:30:12 you wrote: > > There are standard dbus PropertiesChanged signals sent out for ActiveState > > changes, which invalidate the properties when they change in released > > versions of systemd, and which carry the new values along

Re: [systemd-devel] DBus signal on unit start/stop

2013-12-03 Thread Ragnar Thomsen
On Saturday 30 November 2013 19:30:12 you wrote: > There are standard dbus PropertiesChanged signals sent out for ActiveState > changes, which invalidate the properties when they change in released > versions of systemd, and which carry the new values along in git. > > We probably should document

Re: [systemd-devel] [PATCH 1/2] nspawn: --populate to run static binaries on empty target directory

2013-12-03 Thread Shawn Landden
On Mon, Dec 2, 2013 at 9:41 AM, Shawn Landden wrote: > On Mon, Dec 2, 2013 at 8:27 AM, Lennart Poettering > wrote: >> On Sat, 30.11.13 10:20, Shawn Landden (sh...@churchofgit.com) wrote: >> >>> nspawn has been called "chroot on steroids". >>> >>> Continue that tradition by supporting target direc

[systemd-devel] [PATCH 1/2] bus: Add bus_kernel_monitor function

2013-12-03 Thread Lukasz Skalski
--- src/libsystemd-bus/bus-kernel.c | 16 src/libsystemd-bus/bus-kernel.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index ca36eb8..603aa97 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsys

[systemd-devel] [PATCH 2/2] tests: Add test-bus-kernel-monitor

2013-12-03 Thread Lukasz Skalski
test-bus-kernel-monitor is very simple program used to monitor all messages/signals going through a kdbus message bus. It allows monitor an arbitrary kernel bus given at --bus_path parameter and also monitor system and session kernel bus (implemented but disabled at this moment). --- Makefile.am

Re: [systemd-devel] [PATCH 0/7] kdbus related libsystemd-bus patches

2013-12-03 Thread Karol Lewandowski
On 11/15/2013 07:32 PM, Daniel Mack wrote: Hi! > What's missing and still under development is a service that provides > org.freedesktop.DBus on kdbus, and which translates the native interface > to calls in libsystemd-bus. This almost works now, but there are some > missing pieces in libsystemd