Re: [systemd-devel] [PATCH] gperf: Include missing.h.

2011-08-03 Thread Thierry Reding
* Thierry Reding wrote: > Older GNU C libraries don't define RLIMIT_RTTIME, so including the > missing.h is required to fix the build. [...] So I just noticed that Koen already posted the same patch before. I should have looked more carefully. Thierry pgpoCK1rD2KM6.pgp Description: PGP signatur

Re: [systemd-devel] [PATCH]: fix compile due to missing RLIMIT_RTTIME

2011-08-03 Thread Lennart Poettering
On Wed, 03.08.11 19:13, Kelly Anderson ([email protected]) wrote: > Hi, > > The def for RLIMIT_RTTIME was not getting included in > load-fragment-gperf.gperf.m4. Fixed with Koen's patch. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. ___

Re: [systemd-devel] [ANNOUNCE] systemd 33

2011-08-03 Thread Lennart Poettering
On Wed, 03.08.11 20:52, Koen Kooi ([email protected]) wrote: > Speaking of gperf, could you have a look at > http://lists.freedesktop.org/archives/systemd-devel/2011-August/003085.html > please? Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___

[systemd-devel] [PATCH]: fix compile due to missing RLIMIT_RTTIME

2011-08-03 Thread Kelly Anderson
Hi, The def for RLIMIT_RTTIME was not getting included in load-fragment-gperf.gperf.m4. --- ./src/load-fragment-gperf.gperf.m4.orig2011-08-03 18:19:11.0 -0600 +++ ./src/load-fragment-gperf.gperf.m42011-08-03 19:05:22.935134717 -0600 @@ -2,6 +2,7 @@ #include #include "conf

Re: [systemd-devel] Tomcat.service / PID aquiring

2011-08-03 Thread Miklos Vajna
On Wed, Aug 03, 2011 at 07:46:25AM +0200, Josh Geisser wrote: > So far the ExecStart and ExecStop is clear, but is there something > like ExecStatus? Or, is it possible that systemd reads the service-pid > from a file generated by not himself? man systemd.service, search for pidfile. :) pgpCLP

Re: [systemd-devel] [ANNOUNCE] systemd 33

2011-08-03 Thread Koen Kooi
Op 3 aug. 2011, om 15:40 heeft Lennart Poettering het volgende geschreven: > On Wed, 03.08.11 09:29, Andreas Jaeger ([email protected]) wrote: > >> >> On Wednesday, August 03, 2011 05:24:33 Lennart Poettering wrote: >>> Heya, >>> >>> http://www.freedesktop.org/software/systemd/systemd-33.tar.bz2 >

Re: [systemd-devel] PATCH: detect SUSE initrd for fsck-root

2011-08-03 Thread Frederic Crozat
Le mercredi 03 août 2011 à 18:45 +0200, Lennart Poettering a écrit : > On Wed, 03.08.11 18:35, Frederic Crozat ([email protected]) wrote: > > Heya, > > > currently fsck-root.service detects only dracut initrd to prevent > > running fsck on / when it was mounted rw by initrd. Attached patch adds >

Re: [systemd-devel] PATCH: detect SUSE initrd for fsck-root

2011-08-03 Thread Lennart Poettering
On Wed, 03.08.11 18:35, Frederic Crozat ([email protected]) wrote: Heya, > currently fsck-root.service detects only dracut initrd to prevent > running fsck on / when it was mounted rw by initrd. Attached patch adds > detection for SUSE initrd. Humm. /dev/shm is the place where POSIX shared memory

[systemd-devel] PATCH: detect SUSE initrd for fsck-root

2011-08-03 Thread Frederic Crozat
Hi, currently fsck-root.service detects only dracut initrd to prevent running fsck on / when it was mounted rw by initrd. Attached patch adds detection for SUSE initrd. -- Frederic Crozat SUSE >From 687d70cc43b34eb2359598d0ca0b69e996aa1b38 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: W

Re: [systemd-devel] [ANNOUNCE] systemd 33

2011-08-03 Thread Michael Biebl
2011/8/3 Lennart Poettering : > On Wed, 03.08.11 09:29, Andreas Jaeger ([email protected]) wrote: > >> >> On Wednesday, August 03, 2011 05:24:33 Lennart Poettering wrote: >> > Heya, >> > >> > http://www.freedesktop.org/software/systemd/systemd-33.tar.bz2 >> >> It does not build for me: >> >> src/system

Re: [systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Kay Sievers
On Wed, Aug 3, 2011 at 16:19, Stef Bon wrote: > 2011/8/3 Kay Sievers : >> On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote: > >>> Isn't it a good idea to provide every different namespace a own mtab, >>> containing only the mounts visible for that namespace? >> >> You mean /etc/mtab? Systemd requires

Re: [systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Stef Bon
2011/8/3 Kay Sievers : > On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote: >> Isn't it a good idea to provide every different namespace a own mtab, >> containing only the mounts visible for that namespace? > > You mean /etc/mtab? Systemd requires that to be symlink to > /proc/mounts, which is always

Re: [systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Kay Sievers
On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote: > I've been looking into how namespaces work, shared mounted subtrees > and user namespaces using PAM. > > My own construction is using a FUSE filesystem, some bind mounts of > system directories and (still) pam_chroot. > and looking to switch to use p

[systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Stef Bon
Hi all, I've been looking into how namespaces work, shared mounted subtrees and user namespaces using PAM. My own construction is using a FUSE filesystem, some bind mounts of system directories and (still) pam_chroot. and looking to switch to use pam_namespace. Anyhowe, I see that with using dif

Re: [systemd-devel] [ANNOUNCE] systemd 33

2011-08-03 Thread Lennart Poettering
On Wed, 03.08.11 09:29, Andreas Jaeger ([email protected]) wrote: > > On Wednesday, August 03, 2011 05:24:33 Lennart Poettering wrote: > > Heya, > > > > http://www.freedesktop.org/software/systemd/systemd-33.tar.bz2 > > It does not build for me: > > src/systemd_logind-logind.o: In function `manage

Re: [systemd-devel] environment/configuration in socket unit files

2011-08-03 Thread Honza Horak
On 08/02/2011 01:06 AM, Lennart Poettering wrote: On Tue, 19.07.11 19:27, Honza Horak ([email protected]) wrote: Hi, I'm creating some systemd unit files for Fedora (currently myslq just FYI), but I need to set a socket path in the mydaemon.socket unit file according to user's configuration, w

Re: [systemd-devel] [ANNOUNCE] systemd 33

2011-08-03 Thread Andreas Jaeger
On Wednesday, August 03, 2011 05:24:33 Lennart Poettering wrote: > Heya, > > http://www.freedesktop.org/software/systemd/systemd-33.tar.bz2 It does not build for me: src/systemd_logind-logind.o: In function `manager_parse_config_file': /usr/src/packages/BUILD/systemd-33/src/logind.c:1179: undefi