Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Umut Tezduyar
Hi, Stable version of some distros (Debian Wheezy nor Ubuntu LTS 12.04) still don't have support for this. Is it not possible to solve it in another way. Thanks On Mon, Mar 3, 2014 at 5:57 PM, Lennart Poettering wrote: > On Mon, 03.03.14 16:12, Michael Biebl (mbi...@gmail.com) wrote: > >> The p

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Simon McVittie
On 04/03/14 11:00, Umut Tezduyar wrote: > Stable version of some distros (Debian Wheezy nor Ubuntu LTS 12.04) > still don't have support for this. Does that actually matter much? This ln usage is at build time, not install time, and those stable versions aren't going to upgrade to a current system

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Umut Tezduyar Lindskog
Hi, > -Original Message- > From: systemd-devel-boun...@lists.freedesktop.org [mailto:systemd- > devel-boun...@lists.freedesktop.org] On Behalf Of Simon McVittie > Sent: den 4 mars 2014 12:56 > To: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] [PATCH] Fix systemd-stdio-

[systemd-devel] [PATCH] architecture: Add cris

2014-03-04 Thread Umut Tezduyar Lindskog
--- src/shared/architecture.c |3 +++ src/shared/architecture.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/src/shared/architecture.c b/src/shared/architecture.c index fcdb3d5..9e0c3ef 100644 --- a/src/shared/architecture.c +++ b/src/shared/architecture.c @@ -114,6 +114,8 @@ Arc

[systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Umut Tezduyar Lindskog
Hi, I have noticed systemd doesn't generate the StartupFinished dbus signal on 210 (probably 209 too). The code tells me we are generating the signal on all private connection and on api bus if we have client connected. "if we have client connected" statement is not clear to me. Have we change

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 12:00, Umut Tezduyar (u...@tezduyar.com) wrote: > > Hi, > > Stable version of some distros (Debian Wheezy nor Ubuntu LTS 12.04) > still don't have support for this. Is it not possible to solve it in > another way. I'd be happy to merge a patch that adds an autoconf check for th

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 11:56, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: > Having said that, for the packaged systemd on Debian and Ubuntu it's > irrelevant whether these symlinks are relative or absolute, because > dh_link will adjust them after installation to be in the form Debian > Polic

[systemd-devel] [PATCH] build-sys: Don't distribute generated udev rule

2014-03-04 Thread Armin K
It contains hardcoded path to systemd-sysctl executable which is /usr/lib/systemd/systemd-sysctl on latest stable release and as such it will complain at runtime if rootprefix != prefix --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 251b5d0..3523

[systemd-devel] [systemd][cgroup in container] problem with cgroup hierarchy in container

2014-03-04 Thread Jacek Pielaszkiewicz
Hi, It seems that systemd builds incorrectly cgroup hierarchy when is running in the container. Systemd duplicates part of the hierarchy below machine.slice/machine...scope/. It causes finally that non root user session cannot be created due to lack of permissions. In nspawn cont

[systemd-devel] Network unreachable in container

2014-03-04 Thread arnaud gaboury
I have a npsawn/networkd managed container. Unfortunately, I can't reach network from the container. Below are part of the setup. On host : /etc/systemd/network/70-dahlia-network [Match] Host=host0 Virtualization=container [NetDev] Name=br0 Kind=bridge *** /etc/systemd/network/80-dah

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 14:12, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: > Hi, > > I have noticed systemd doesn't generate the StartupFinished dbus signal on > 210 (probably 209 too). The code tells me we are generating the signal on all > private connection and on api bus if we have clie

Re: [systemd-devel] [PATCH] architecture: Add cris

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 13:58, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: Applied! Thanks! > --- > src/shared/architecture.c |3 +++ > src/shared/architecture.h |3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/src/shared/architecture.c b/src/shared/architecture.c > index

Re: [systemd-devel] [systemd][cgroup in container] problem with cgroup hierarchy in container

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 16:23, Jacek Pielaszkiewicz (j.pielasz...@samsung.com) wrote: > +-machine.slice > │ L-machine-lxc\x2dtizen\x2dbash\x2d2.scope > │ +-2672 /usr/libexec/libvirt_lxc --name tizen-bash-2 --console 20 -- > security= > │ L-machine.slice > │ L-machine-lxc\x2dtizen\x2dbash\x2d2.sco

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Lennart Poettering
On Mon, 03.03.14 16:26, Mike Gilbert (flop...@gentoo.org) wrote: > > On Mon, Mar 3, 2014 at 11:57 AM, Lennart Poettering > wrote: > > On Mon, 03.03.14 16:12, Michael Biebl (mbi...@gmail.com) wrote: > > > >> The patch looked ok to me as is, but I can certainly add a --relative > >> if you prefer.

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 16:24, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > I have a npsawn/networkd managed container. Unfortunately, I can't > reach network from the container. Below are part of the setup. > > On host : > > /etc/systemd/network/70-dahlia-network

Re: [systemd-devel] [PATCH 1/2] journal: assume that next entry is after previous entry

2014-03-04 Thread Lennart Poettering
On Thu, 27.02.14 00:57, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > /* And jump to it */ > -return generic_array_get(f, > - le64toh(f->header->entry_array_offset), > - i, > -

Re: [systemd-devel] [PATCH 2/2] journal: forget file after encountering an error

2014-03-04 Thread Lennart Poettering
On Thu, 27.02.14 00:57, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > If we encounter an inconsistency in a file, let's just > ignore it. Otherwise, after previous patch, we would try, > and fail, to use this file in every invocation of sd_journal_next > or sd_journal_previous that happ

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread arnaud gaboury
>> /etc/systemd/network/70-dahlia-network > ^ a dash? Should be a dot? > >> [Match] >> Host=host0 >> Virtualization=container > > Hmm? This match section is conditionalized to Virtualization=container > but you say it is for the host? > This config file is on my "ma

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Umut Tezduyar
Hi On Tue, Mar 4, 2014 at 8:55 PM, Lennart Poettering wrote: > On Tue, 04.03.14 14:12, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: > >> Hi, >> >> I have noticed systemd doesn't generate the StartupFinished dbus signal on >> 210 (probably 209 too). The code tells me we are generating t

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 21:40, Umut Tezduyar (u...@tezduyar.com) wrote: > >> To compare 208 and 210, I pretty much followed steps @ > >> https://wiki.ubuntu.com/DebuggingDBus and by using > >> $> dbus-monitor "type=signal,sender='org.freedesktop.systemd1'" --system > > > > You have to invoke "Subscribe(

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread Lennart Poettering
On Tue, 04.03.14 21:27, arnaud gaboury (arnaud.gabo...@gmail.com) wrote: > > >> /etc/systemd/network/70-dahlia-network > > ^ a dash? Should be a dot? > > > >> [Match] > >> Host=host0 > >> Virtualization=container > > > > Hmm? This match section is conditionalized t

[systemd-devel] High level blurb -- pass two.

2014-03-04 Thread David Farning
I wanted to take another pass at a brief intro blurb. It can take a lot of passes to prune the vast amount of information in the wiki into a few paragraphs that someone can quickly read. As someone new to this space I keep coming back to two reoccurring themes: 1. Users expect systems to be dynami

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread arnaud gaboury
> > Moreover, you claim that you run netctl, not systemd-networkd on the > host? .network files are configuraiton files for systemd-networkd, hence > they have no effect on the host anyway... > > Sorry, still don't get what you are trying to do there... > on the "host", systemctl-networkd IS of co

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread arnaud gaboury
> > Well, if that's the case, then the .network file you posted will have > zero effect there. The [Match] section describes to which interfaces the > file shall apply und which conditions. You explicitly declare in your > [Match] section that it only shall apply if run inside a container, and > he

[systemd-devel] [PATCH 0/3] hostname: read pretty_name and cpe_name from remote

2014-03-04 Thread Djalal Harouni
Expose pretty_name and cpe_name in hostnamed and update hostnamectl to read from the remote. This series does not include code to update the '/etc/os-release' file and the related fields. If you think that we should do it, I can update the patch. Thanks! __

[systemd-devel] [PATCH 1/3] hostnamed: minor improvements in context_write_data_other()

2014-03-04 Thread Djalal Harouni
Prepare context_write_data_other() and rename it to context_write_data_machine_info() --- src/hostname/hostnamed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 6aa08ca..fab0601 100644 --- a/src/hostname/hostname

[systemd-devel] [PATCH 2/3] hostnamed: expose PrettyName and CpeName as bus properties

2014-03-04 Thread Djalal Harouni
--- src/hostname/hostnamed.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index fab0601..f8aea78 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -40,6 +40,8 @@ enum { PROP_PRETTY_HOSTNAME,

[systemd-devel] [PATCH 3/3] hostnamectl: read pretty_name and cpe_name from remote

2014-03-04 Thread Djalal Harouni
--- src/hostname/hostnamectl.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index 94b4243..ad359d6 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -67,6 +67,8 @@ type

[systemd-devel] [PATCH] restore support for enslaving to bonding interface

2014-03-04 Thread Mark Oteiza
networkd: Restore logic for enslaving to a master bonding interface. --- Bonding support seems to have been removed right after being added, between 52433f6 (22 Jan) and 54abf46 (25 Jan). http://cgit.freedesktop.org/systemd/systemd/log/src/network/networkd-link.c With this patch, networkd succe

Re: [systemd-devel] StartTransientService problems

2014-03-04 Thread Lennart Poettering
On Tue, 25.02.14 17:59, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > Which should make them available via the bus for transient units. If you > > need other props like this, just let me know and I'll add them too... > > > > I just tried to set LimitCORE and that was rejected. Can you add th