Re: [systemd-devel] kdbus refactoring?

2015-11-09 Thread Richard Weinberger
On Mon, Nov 9, 2015 at 12:30 AM, Greg KH <gre...@linuxfoundation.org> wrote: > On Sun, Nov 08, 2015 at 10:39:43PM +0100, Richard Weinberger wrote: >> On Sun, Nov 8, 2015 at 10:35 PM, Greg KH <gre...@linuxfoundation.org> wrote: >> > On Sun, Nov 08, 2015 at 10:06:31PM +

Re: [systemd-devel] modules in container

2015-11-08 Thread Richard Weinberger
On Sun, Nov 8, 2015 at 1:17 PM, arnaud gaboury wrote: > I am trying to understand how kernel modules are "passed" to nspawn container. A container must not load any module as the kernel is a shared resource. -- Thanks, //richard

Re: [systemd-devel] kdbus refactoring?

2015-11-08 Thread Richard Weinberger
On Sun, Nov 8, 2015 at 10:35 PM, Greg KH <gre...@linuxfoundation.org> wrote: > On Sun, Nov 08, 2015 at 10:06:31PM +0100, Richard Weinberger wrote: >> Hi all, >> >> after reading on the removal of kdbus from Rawhide[1] I've searched >> the mailinglist archives

[systemd-devel] kdbus refactoring?

2015-11-08 Thread Richard Weinberger
Hi all, after reading on the removal of kdbus from Rawhide[1] I've searched the mailinglist archives for more details but didn't find anything. So, what are your plans? [1] https://lists.fedoraproject.org/pipermail/kernel/2015-October/006011.html -- Thanks, //richard

Re: [systemd-devel] nspawn dependencies

2015-06-11 Thread Richard Weinberger
Lennart, Am 11.06.2015 um 12:08 schrieb Lennart Poettering: On Thu, 11.06.15 09:40, Richard Weinberger (richard.weinber...@gmail.com) wrote: Hi! Recent systemd-nspawn seems to support unprivileged containers (user namespaces). That's awesome, thank you guys for working on that! Well

Re: [systemd-devel] [PATCH] x86: defconfig: Enable CONFIG_FHANDLE

2014-11-30 Thread Richard Weinberger
Am 01.12.2014 um 01:18 schrieb Dave Chinner: On Sun, Nov 30, 2014 at 10:08:01PM +0100, Richard Weinberger wrote: Am 30.11.2014 um 21:54 schrieb Dave Chinner: On Wed, Nov 26, 2014 at 12:36:52AM +0100, Richard Weinberger wrote: systemd has a hard dependency on CONFIG_FHANDLE. If you run systemd

Re: [systemd-devel] systemd-cgroups-agent not working in containers

2014-11-28 Thread Richard Weinberger
Am 28.11.2014 um 06:33 schrieb Martin Pitt: Hello all, Cameron Norman [2014-11-27 12:26 -0800]: On Wed, Nov 26, 2014 at 1:29 PM, Richard Weinberger rich...@nod.at wrote: Hi! I run a Linux container setup with openSUSE 13.1/2 as guest distro. After some time containers slow down

Re: [systemd-devel] systemd-cgroups-agent not working in containers

2014-11-27 Thread Richard Weinberger
Am 26.11.2014 um 22:29 schrieb Richard Weinberger: Hi! I run a Linux container setup with openSUSE 13.1/2 as guest distro. After some time containers slow down. An investigation showed that the containers slow down because a lot of stale user sessions slow down almost all systemd tools

[systemd-devel] systemd-cgroups-agent not working in containers

2014-11-26 Thread Richard Weinberger
Hi! I run a Linux container setup with openSUSE 13.1/2 as guest distro. After some time containers slow down. An investigation showed that the containers slow down because a lot of stale user sessions slow down almost all systemd tools, mostly systemctl. loginctl reports many thousand sessions.

Re: [systemd-devel] How to use cgroups within containers?

2014-10-24 Thread Richard Weinberger
Am 20.10.2014 um 19:27 schrieb Lennart Poettering: On Mon, 20.10.14 19:16, Richard Weinberger (rich...@nod.at) wrote: Have you read the link I posted? Sure, I've also been in the room in Düsseldorf while you've read it in front of us. Not that I changed it since then... ;-) Yes, I

Re: [systemd-devel] How to use cgroups within containers?

2014-10-20 Thread Richard Weinberger
Am 20.10.2014 um 18:51 schrieb Lennart Poettering: On Mon, 20.10.14 18:49, Richard Weinberger (rich...@nod.at) wrote: Am 20.10.2014 um 18:24 schrieb Lennart Poettering: On Fri, 17.10.14 23:35, Richard Weinberger (richard.weinber...@gmail.com) wrote: Dear systemd and container folks

Re: [systemd-devel] How to use cgroups within containers?

2014-10-20 Thread Richard Weinberger
Am 20.10.2014 um 19:04 schrieb Lennart Poettering: On Mon, 20.10.14 18:55, Richard Weinberger (rich...@nod.at) wrote: Am 20.10.2014 um 18:51 schrieb Lennart Poettering: On Mon, 20.10.14 18:49, Richard Weinberger (rich...@nod.at) wrote: Am 20.10.2014 um 18:24 schrieb Lennart Poettering

[systemd-devel] How to use cgroups within containers?

2014-10-17 Thread Richard Weinberger
Dear systemd and container folks, at Plumbers the question raised how to provide cgroups to a systemd that lives in a container (with user namespaces). Due to the GDL train strikes I had to leave very soon and had no chance to talk to you in person. Was a solution proposed? All I want to know is

Re: [systemd-devel] How to use cgroups within containers?

2014-10-17 Thread Richard Weinberger
...fixing LXC devel mailinglist... :-\ On Fri, Oct 17, 2014 at 11:35 PM, Richard Weinberger richard.weinber...@gmail.com wrote: Dear systemd and container folks, at Plumbers the question raised how to provide cgroups to a systemd that lives in a container (with user namespaces). Due

Re: [systemd-devel] Should user mode linux register with machined?

2014-10-10 Thread Richard Weinberger
Lennart, Am 10.10.2014 um 18:44 schrieb Lennart Poettering: It's a bit more complex. While UML, qemu, kvm, currently don't, LXC, systemd-nspawn and libvirt-lxc all do talk directly to machined. (Note that LXC and libvirt-lxc are separate codebases, the latter is *not* a wrapper around the

Re: [systemd-devel] Timed out waiting for device dev-disk-by...

2014-09-29 Thread Richard Weinberger
On Mon, Sep 29, 2014 at 8:29 PM, Thomas Meyer tho...@m3y3r.de wrote: Hi, I get a timeout in the Fedora 21 alpha: [ TIME ] Timed out waiting for device dev-disk-by\x2duuid-008af19d\x2d2562\x2d49bd\x2d8907\x2d721ea08f3e14.device. But all devices are available from early kernel start: # ls

Re: [systemd-devel] [RESEND][PATCH] systemd-tmpfiles: Fix IGNORE_DIRECTORY_PATH age handling

2014-09-26 Thread Richard Weinberger
Am 09.09.2014 11:09, schrieb Richard Weinberger: If one has a config like: d /tmp 1777 root root - X /tmp/important_mount All files below /tmp/important_mount will be deleted as the /tmp/important_mount item will spuriously inherit a max age of 0 from /tmp. /tmp has a max age of 0

Re: [systemd-devel] Should user mode linux register with machined?

2014-09-17 Thread Richard Weinberger
On Wed, Sep 17, 2014 at 1:09 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Sep 16, 2014 at 05:31:05PM +0200, Thomas Meyer wrote: Hi, I wrote a small patch for user-mode linux to register with machined by calling CreateMachine. Is this a good idea to do so? Yes, this sounds

Re: [systemd-devel] Should user mode linux register with machined?

2014-09-16 Thread Richard Weinberger
On Tue, Sep 16, 2014 at 5:31 PM, Thomas Meyer tho...@m3y3r.de wrote: Hi, I wrote a small patch for user-mode linux to register with machined by calling CreateMachine. Is this a good idea to do so? I think machined gives you a nice overview over all running UML instances, also you get the

[systemd-devel] [RESEND][PATCH] systemd-tmpfiles: Fix IGNORE_DIRECTORY_PATH age handling

2014-09-09 Thread Richard Weinberger
If one has a config like: d /tmp 1777 root root - X /tmp/important_mount All files below /tmp/important_mount will be deleted as the /tmp/important_mount item will spuriously inherit a max age of 0 from /tmp. /tmp has a max age of 0 but age_set is (of course) false. This affects also the

Re: [systemd-devel] [PATCH] systemd-tmpfiles: Fix IGNORE_DIRECTORY_PATH age handling

2014-09-02 Thread Richard Weinberger
Am 27.08.2014 14:55, schrieb Richard Weinberger: If one has a config like: d /tmp 1777 root root - X /tmp/important_mount All files below /tmp/important_mount will be deleted as the /tmp/important_mount item will spuriously inherit a max age of 0 from /tmp. /tmp has a max age of 0

[systemd-devel] [PATCH] systemd-tmpfiles: Fix IGNORE_DIRECTORY_PATH age handling

2014-08-27 Thread Richard Weinberger
in the IGNORE_DIRECTORY_PATH logic. Signed-off-by: Richard Weinberger rich...@nod.at --- src/tmpfiles/tmpfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 79fd0b7..c8d4abb 100644 --- a/src/tmpfiles/tmpfiles.c +++ b

[systemd-devel] Device units and LXC

2014-05-24 Thread Richard Weinberger
Hi! As of my understanding of systemd, device units depend hard udev. Units like network@.service contain lines like BindsTo=sys-subsystem-net-devices-%i.device Within a Linux container this is a problem because there is no udev. There systemd never receives an event for this device and the

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Richard Weinberger
Am 09.04.2014 19:19, schrieb Tom Gundersen: On Mon, Apr 7, 2014 at 9:47 PM, Richard Weinberger rich...@nod.at wrote: At least LXC does not allow the container root to change the OOM Score adjust value. Signed-off-by: Richard Weinberger rich...@nod.at --- Hi! Within Linux containers we

Re: [systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-09 Thread Richard Weinberger
Am 09.04.2014 20:28, schrieb Tom Gundersen: On Wed, Apr 9, 2014 at 7:39 PM, Richard Weinberger rich...@nod.at wrote: Am 09.04.2014 19:19, schrieb Tom Gundersen: On Mon, Apr 7, 2014 at 9:47 PM, Richard Weinberger rich...@nod.at wrote: At least LXC does not allow the container root to change

[systemd-devel] [PATCH] [RFC] Ignore OOMScoreAdjust in Linux containers

2014-04-07 Thread Richard Weinberger
At least LXC does not allow the container root to change the OOM Score adjust value. Signed-off-by: Richard Weinberger rich...@nod.at --- Hi! Within Linux containers we cannot use OOMScoreAdjust nor CapabilityBoundingSet (and maybe more related settings). This patch tells systemd to ignore

[systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Richard Weinberger
Hi! We're heavily using Linux containers in our production environment. As modern Linux distributions move forward to systemd have to make sure that systemd works within our containers. Sadly we're facing issues with cgroups. Our testbed consists of openSUSE 13.1 with Linux 3.13.1 and libvirt

Re: [systemd-devel] Howto run systemd within a linux container

2014-02-05 Thread Richard Weinberger
On Thu, Feb 6, 2014 at 1:08 AM, Kay Sievers k...@vrfy.org wrote: On Thu, Feb 6, 2014 at 12:56 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 05.02.14 23:44, Richard Weinberger (richard.weinber...@gmail.com) wrote: We're heavily using Linux containers in our production