[systemd-devel] systemd with older kernels (Was: Re: getting the fedora 13 systemd qemu image)

2011-08-18 Thread Mathieu Bridon
On Thu, 2011-08-18 at 08:13 -0700, Leisner, Martin wrote: > I want to use an out of date image -- I'm looking to port to 2.6.34... > (I even had to start patching the kernel to give me /sys/fs/cgroup -- I don't > have the hierarchy under that yet). > > I'm building systemd-5 for starters...(it wo

Re: [systemd-devel] RFC: Cooperating in the cgroup tree

2011-08-18 Thread Daniel P. Berrange
On Fri, Aug 19, 2011 at 01:25:16AM +0200, Lennart Poettering wrote: > Heya, > > I put together a short recommendations document explaining how > applications making use of cgroups should try to behave in the cgroupfs > trees. Since the trees are shared resources everybody should behave > nicely an

Re: [systemd-devel] PATCH: add missing header include

2011-08-18 Thread Lennart Poettering
On Thu, 18.08.11 16:18, Frederic Crozat ([email protected]) wrote: > Le jeudi 18 août 2011 à 16:00 +0200, Lennart Poettering a écrit : > > On Thu, 18.08.11 15:50, Frederic Crozat ([email protected]) wrote: > > > > > Hi, > > > > > > MS_REC is not always defined in sys/mount.h. linux/fs.h should be

[systemd-devel] RFC: Cooperating in the cgroup tree

2011-08-18 Thread Lennart Poettering
Heya, I put together a short recommendations document explaining how applications making use of cgroups should try to behave in the cgroupfs trees. Since the trees are shared resources everybody should behave nicely and not muck with everybody else's cgroups. http://www.freedesktop.org/wiki/Softw

[systemd-devel] /sys/subsystem device dependency not working

2011-08-18 Thread Albert Strasheim
Hello all I am trying to use systemd-26 to configure a network device. I've decided to try this instead of the standard Fedora init scripts because I want the network configuration to depend on a kernel command line argument (which should be possible as soon as ConditionKernelCommandLine=foo=bar

Re: [systemd-devel] getting the fedora 13 systemd qemu image

2011-08-18 Thread Leisner, Martin
> -Original Message- > From: systemd-devel- > [email protected] [mailto:systemd- > [email protected]] On Behalf > Of Lennart Poettering > Sent: Thursday, August 18, 2011 6:20 AM > To: Leisner, Ma

Re: [systemd-devel] Unit failed to load: Cannot allocate memory.

2011-08-18 Thread Lennart Poettering
On Tue, 09.08.11 07:02, Mike Kazantsev ([email protected]) wrote: > Good day, > > Updating to systemd-33 (with "include missing.h" patch) seem to give me > the following errors on boot: > > [ 27.024525] systemd[1]: Cannot add dependency job for unit > fossil_echo.service, ignoring: Unit

Re: [systemd-devel] systemd boot hang

2011-08-18 Thread Lennart Poettering
On Tue, 09.08.11 13:28, Joel A Fernandes ([email protected]) wrote: > Hi, I'm using kernel 3.0.1 and systemd, the boot process hangs. I am > booting from an SD Card using the BeagleBoard. > > I am passing "systemd.log_target=kmsg systemd.log_level=debug" in my > boot arguments but I don't see

Re: [systemd-devel] PATCH: add missing header include

2011-08-18 Thread Frederic Crozat
Le jeudi 18 août 2011 à 16:00 +0200, Lennart Poettering a écrit : > On Thu, 18.08.11 15:50, Frederic Crozat ([email protected]) wrote: > > > Hi, > > > > MS_REC is not always defined in sys/mount.h. linux/fs.h should be > > included, since it is always defined there. > > Not always? Can you be mor

Re: [systemd-devel] ConditionKernelCommandLine not working?

2011-08-18 Thread Jóhann B. Guðmundsson
On 08/18/2011 02:02 PM, Lennart Poettering wrote: No, what Albert is using there is actually syntax that we should read correctly. If we misparse that then this is a bug in systemd, and we should fix it. I stand corrected JBG ___ systemd-devel mailin

Re: [systemd-devel] kernel dependency >= 2.6.37 now?

2011-08-18 Thread Kay Sievers
On Thu, Aug 18, 2011 at 15:42, Lennart Poettering wrote: > On Wed, 10.08.11 13:34, Marius Tolzmann ([email protected]) wrote: >> >> shouldn't the kernel dependency in the README be raised to >= 2.6.37 >> due to the fact that logind needs /sys/class/tty/tty0/active support >> which was first r

Re: [systemd-devel] ConditionKernelCommandLine not working?

2011-08-18 Thread Lennart Poettering
On Thu, 18.08.11 13:41, "Jóhann B. Guðmundsson" ([email protected]) wrote: > > On 08/18/2011 12:46 PM, Albert Strasheim wrote: > >Hello > > > >On Thu, Aug 18, 2011 at 12:44 PM, Lennart Poettering > > wrote: > >>Can you please elaborate on what does not work you expect to work, and > >>what happ

Re: [systemd-devel] PATCH: add missing header include

2011-08-18 Thread Lennart Poettering
On Thu, 18.08.11 15:50, Frederic Crozat ([email protected]) wrote: > Hi, > > MS_REC is not always defined in sys/mount.h. linux/fs.h should be > included, since it is always defined there. Not always? Can you be more specific please? Which version of glibc is that? Lennart -- Lennart Poetterin

[systemd-devel] PATCH: add missing header include

2011-08-18 Thread Frederic Crozat
Hi, MS_REC is not always defined in sys/mount.h. linux/fs.h should be included, since it is always defined there. -- Frederic Crozat SUSE >From 9f8a50decf45aaa4436b9fb3a0ab360f238b7d96 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 18 Aug 2011 15:42:29 +0200 Subject: [PATCH] nspawn:

Re: [systemd-devel] kernel dependency >= 2.6.37 now?

2011-08-18 Thread Lennart Poettering
On Wed, 10.08.11 13:34, Marius Tolzmann ([email protected]) wrote: > > hi.. > > shouldn't the kernel dependency in the README be raised to >= 2.6.37 > due to the fact that logind needs /sys/class/tty/tty0/active support > which was first released with 2.6.37-rc7 if i don't got something > w

Re: [systemd-devel] ConditionKernelCommandLine not working?

2011-08-18 Thread Jóhann B. Guðmundsson
On 08/18/2011 12:46 PM, Albert Strasheim wrote: Hello On Thu, Aug 18, 2011 at 12:44 PM, Lennart Poettering wrote: Can you please elaborate on what does not work you expect to work, and what happens what you didn't expect? Given that you pass selinux=0 it appears to me that everything is worki

Re: [systemd-devel] ConditionKernelCommandLine not working?

2011-08-18 Thread Albert Strasheim
Hello On Thu, Aug 18, 2011 at 12:44 PM, Lennart Poettering wrote: > Can you please elaborate on what does not work you expect to work, and > what happens what you didn't expect? Given that you pass selinux=0 it > appears to me that everything is working correctly. I confused the issue by mention

Re: [systemd-devel] X socket with logind and poly-instantiated /tmp

2011-08-18 Thread Lennart Poettering
On Fri, 12.08.11 11:11, Tomasz Torcz ([email protected]) wrote: > > Hi, > > I noticed following message in logs today: > systemd-logind[15652]: Linked /tmp/.X11-unix/X0 to > /run/user/tomek/X11/display. > > I wonder how this is going to work with poly-instantiated /tmp dirs, as > desc

Re: [systemd-devel] Announcing libqsystemd

2011-08-18 Thread Lennart Poettering
On Fri, 12.08.11 14:42, Stefan Majewsky ([email protected]) wrote: Heya, > I've been hacking the last few days on a Qt-based client library that > wraps systemd's DBus interface. Code is hosted on KDE's Git server at > [1]. I've just requested to promote this project from the scratch

Re: [systemd-devel] ConditionKernelCommandLine not working?

2011-08-18 Thread Lennart Poettering
On Mon, 15.08.11 13:27, Albert Strasheim ([email protected]) wrote: > Hello all > > Does ConditionKernelCommandLine work in systemd-26-5.fc15.x86_64? > > I've tested it with my own units and with the Fedora > fedora-autorelabel.service, but no luck. > > Here's the dmesg: > > [0.00] Com

Re: [systemd-devel] getting the fedora 13 systemd qemu image

2011-08-18 Thread Lennart Poettering
On Wed, 17.08.11 08:11, Leisner, Martin ([email protected]) wrote: > I tried this torrent: > http://surfsite.org/f13-systemd-livecd.torrent > > Does anyone have a direct link to this image -- I couldn't find any > peers serving it. > > I'm looking to see an older, running system as a refe

Re: [systemd-devel] getting the fedora 13 systemd qemu image

2011-08-18 Thread Harald Hoyer
On 17.08.2011 17:11, Leisner, Martin wrote: > I tried this torrent: > http://surfsite.org/f13-systemd-livecd.torrent > > Does anyone have a direct link to this image -- I couldn't find any > peers serving it. > > I'm looking to see an older, running system as a reference (I'm trying > to port sys

Re: [systemd-devel] v33 - crashes on 'systemctl enable'?

2011-08-18 Thread Mantas M.
On Wed, Aug 17, 2011 at 07:41:30PM +0200, Kay Sievers wrote: > On Tue, Aug 16, 2011 at 10:25, Frederic Crozat wrote: > > | #7  0x7fc9e995abe7 in ?? () from /usr/lib/libdbus-1.so.3 > >> | #8  0x7fc9e994da2b in dbus_message_iter_append_basic () from > >> /usr/lib/libdbus-1.so.3 > > Please