Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-03 Thread Krzesimir Nowak
On Mon, Jun 1, 2015 at 8:12 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi As of today we've disabled git-push to fd.o. The official development git repository is now at github [1]. The old repository will still be back-synced, but we had to disable push-access to avoid getting

Re: [systemd-devel] sd-bus vs glib object path node hierarchy

2015-06-16 Thread Krzesimir Nowak
16 cze 2015 6:09 PM Lennart Poettering lenn...@poettering.net napisaƂ(a): On Tue, 16.06.15 15:51, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I have noticed that glib vs sd-bus have different hierarchy in terms of how objects are stacked. I don't have any argument why one or

[systemd-devel] [PATCH 1/7] nspawn, shared: Factor out sending and receiving fd

2015-06-01 Thread Krzesimir Nowak
Right now it can be used to sent rtnl and kmsg descriptors. These functions will be used later to send journal directory descriptor in machined. --- src/nspawn/nspawn.c | 66 +++-- src/shared/util.c | 56

[systemd-devel] [PATCH 7/7] journal: Try getting journal fd from machined

2015-06-01 Thread Krzesimir Nowak
--- Makefile.am | 2 +- src/journal/sd-journal.c | 52 +++- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 32e7ca3..ee9c29b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4399,8 +4399,8 @@

[systemd-devel] [PATCH 3/7] nspawn, machined: Fix comments and error messages related to child failures

2015-06-01 Thread Krzesimir Nowak
--- src/machine/machine-dbus.c | 18 +- src/nspawn/nspawn.c| 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index 0892479..12f7961 100644 --- a/src/machine/machine-dbus.c +++

[systemd-devel] [PATCH 5/7] journal: Add JournalDirectory

2015-06-01 Thread Krzesimir Nowak
This ref-counted struct holds a path and a descriptor to a directory. The descriptor should be used for real work (openat, renameat and others) and the path should be used for logging/debugging. --- Makefile.am | 2 + src/journal/journal-dir.c | 141

[systemd-devel] [PATCH 6/7] journal: Open JournalFile by dirfd and filename instead of path

2015-06-01 Thread Krzesimir Nowak
That way we can have access to a file that is not accessible by path, for example to a file in overlayfs in different mount namespace (which is the case for rkt pods). --- src/journal-remote/journal-remote-write.c | 12 +- src/journal-remote/journal-remote.c | 34 ++--

[systemd-devel] [PATCH 0/7] Make journalctl -M work with journals inside overlayfs

2015-06-01 Thread Krzesimir Nowak
. The patch is quite big because of that, sorry about that. Maybe you will want to minimize the changes (by preserving JournalFile's path member). Seventh patch hooks journalctl to machine1.Manager's GetJournal. Krzesimir Nowak (7): nspawn, shared: Factor out sending and receiving fd nspawn

[systemd-devel] [PATCH 2/7] nspawn: Close unneeded sockets in outer child

2015-06-01 Thread Krzesimir Nowak
--- src/nspawn/nspawn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index bd7532c..28b79c4 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -4348,6 +4348,8 @@ static int outer_child( } pid_socket =

[systemd-devel] [PATCH 4/7] machined: Add getter for machine's journal directory descriptor

2015-06-01 Thread Krzesimir Nowak
Sometimes machine's journal is not accessible by path, so we can ask machined to provide a descriptor to it. --- src/machine/machined-dbus.c| 112 + src/machine/org.freedesktop.machine1.policy.in | 10 +++ 2 files changed, 122 insertions(+) diff --git