Re: [systemd-devel] Hand when using systemctl in unit files

2011-08-01 Thread Warpme
On 8/2/11 1:02 AM, Lennart Poettering wrote: On Thu, 28.07.11 15:20, warpme (war...@o2.pl) wrote: Zbyszek, Thx for replay. You touch exactly the point. You can use more than one ExecStartPost. E.g. ExecStartPost=sleep 10 ExecStartPost=systemctl try-restart proc2 This way you remove the u

Re: [systemd-devel] /etc/rc.d/ on shutdown incompatible

2011-08-01 Thread Reindl Harald
Am 02.08.2011 00:57, schrieb Lennart Poettering: > On Fri, 22.07.11 10:39, Reindl Harald (h.rei...@thelounge.net) wrote: > >> i think systemd does not wait until this script has finsished >> what can take some minutes if you have and hand full of virtual >> machines running with hughe memory >

[systemd-devel] [PATCH] gperf: add missing.h that was present in the C version to the m4

2011-08-01 Thread Koen Kooi
This fixes: src/load-fragment-gperf.c:413:51: error: 'RLIMIT_RTTIME' undeclared (first use in this function) Signed-off-by: Koen Kooi --- src/load-fragment-gperf.gperf.m4 |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/load-fragment-gperf.gperf.m4 b/src/load-fragme

Re: [systemd-devel] systemd automounts

2011-08-01 Thread Steve Dickson
On 08/01/2011 05:43 PM, Lennart Poettering wrote: > On Fri, 29.07.11 11:16, Steve Dickson (ste...@redhat.com) wrote: > >> I'm trying to automount /var/lib/nfs/rpc_pipefs >> for the nfs-idmap.service >> >> var-lib-nfs-rpc_pipefs.mount is: >> [Unit] >> Description=RPC Pipe File System >> DefaultDe

Re: [systemd-devel] fsck checking: passno interpretation problem

2011-08-01 Thread Lennart Poettering
On Sat, 30.07.11 01:11, Mariusz Bialonczyk (ma...@skyboo.net) wrote: > > Hello again > I want to bring some new light on this issue. It seems that passno doesn't > solve the > "busy device" issue (I tested it on debian's systemd v25-2 and also 29-1). > >From time to time I've got the following er

Re: [systemd-devel] PATCH: support for parsing /etc/insserv.conf for LSB system facilities

2011-08-01 Thread Lennart Poettering
On Mon, 04.07.11 11:39, Frederic Crozat (fcro...@suse.com) wrote: > Le vendredi 01 juillet 2011 à 23:30 +0200, Lennart Poettering a écrit : > > On Fri, 01.07.11 11:20, Frederic Crozat (fcro...@suse.com) wrote: > > > > > Hi, > > > > Heya, Thanks, applied! Lennart -- Lennart Poettering - Red

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

2011-08-01 Thread Lennart Poettering
On Tue, 02.08.11 01:09, Miklos Vajna (vmik...@frugalware.org) wrote: > On Tue, Aug 02, 2011 at 12:51:26AM +0200, Lennart Poettering > wrote: > > Looks good, but unfortunately doesn't apply anymore to git. May I ask > > you to rebase the patch? I'll then make sure to apply it quickly before > > I

Re: [systemd-devel] [PATCH] Documentation: Clarify env var handling

2011-08-01 Thread Lennart Poettering
On Wed, 20.07.11 13:47, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > Can I have feedback on the patch please? Sorry, I have been quite busy the past weeks, and didn't find the time to process all queued patches. I am currently working on that. Sorry for the delay, Lennart -- Lennart Poe

Re: [systemd-devel] [PATCH] Documentation: Clarify env var handling

2011-08-01 Thread Lennart Poettering
On Tue, 12.07.11 11:38, Barry Scott (barry.sc...@onelan.co.uk) wrote: > starting with ; or # will be ignored, > which may be used for commenting. The > +parser for will strip leading and > +

Re: [systemd-devel] [PATCH] systemd-cgroup-limits.patch

2011-08-01 Thread Lennart Poettering
On Thu, 14.07.11 13:17, Patrascu, Cristian (cristian.patra...@windriver.com) wrote: > I've changed the options, it was indeed confusing, sorry for that. > Very good observation, Thank you! Christian, I finally had a closer look at your patch. I like the idea, but not all of the implementation.

Re: [systemd-devel] Howto run script at begin and end of session: sessionsupport?

2011-08-01 Thread Lennart Poettering
On Fri, 15.07.11 23:55, Stef Bon (stef...@gmail.com) wrote: > But what I want is to run some scripts when a session starts (and when > it ends) to run a "determine settings" and create a "namespace". There currently is no such hook. The CK hook doesn't really provide you with this either, since i

Re: [systemd-devel] I'm moving from runit to systemd. Some questions...

2011-08-01 Thread Lennart Poettering
On Sun, 17.07.11 13:27, Warpme (war...@o2.pl) wrote: > Hi * > > I really like systemd concept and currently I'm in process of > migrating my Arch based home server form runit to systemd. > Regarding this I have some basic usage related questions. > If this is wrong place to ask this type of quest

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

2011-08-01 Thread Miklos Vajna
On Tue, Aug 02, 2011 at 12:51:26AM +0200, Lennart Poettering wrote: > Looks good, but unfortunately doesn't apply anymore to git. May I ask > you to rebase the patch? I'll then make sure to apply it quickly before > I change configure.ac again. Sure - updated patch attached. From 5d9a96d4fb122ad

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

2011-08-01 Thread Lennart Poettering
On Tue, 19.07.11 19:27, Honza Horak (hho...@redhat.com) 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, which is provided by an > executable. Hm, w

Re: [systemd-devel] Hand when using systemctl in unit files

2011-08-01 Thread Lennart Poettering
On Thu, 28.07.11 15:20, warpme (war...@o2.pl) wrote: > > Zbyszek, > > Thx for replay. > You touch exactly the point. > > >You can use more than one ExecStartPost. E.g. > > ExecStartPost=sleep 10 > > ExecStartPost=systemctl try-restart proc2 > >This way you remove the unnecessary delay when st

Re: [systemd-devel] how to let systemd mount /run very early?

2011-08-01 Thread Lennart Poettering
On Fri, 22.07.11 10:55, yang.y...@gmail.com (yang.y...@gmail.com) wrote: > The below is i see in Fedora 15: > > [root@yangyi-dev2 /]# cat /etc/*-release > Fedora release 15 (Lovelock) > Fedora release 15 (Lovelock) > Fedora release 15 (Lovelock) > [root@yangyi-dev2 /]# rpm -qf /var/run/ > abrt/

Re: [systemd-devel] /etc/rc.d/ on shutdown incompatible

2011-08-01 Thread Lennart Poettering
On Fri, 22.07.11 10:39, Reindl Harald (h.rei...@thelounge.net) wrote: > i think systemd does not wait until this script has finsished > what can take some minutes if you have and hand full of virtual > machines running with hughe memory We wait for all operations, but we time them out. SysV start

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

2011-08-01 Thread Lennart Poettering
On Sun, 24.07.11 17:12, Miklos Vajna (vmik...@frugalware.org) wrote: > On Thu, Jul 14, 2011 at 12:20:54AM +0200, Lennart Poettering > wrote: > > Neither hostnamed, nor logind/pam_systemd, nor localed, nor timedated > > are necessary on most embedded setups. I'd be happy to merge a patch > > that

Re: [systemd-devel] How to set up plymouth and custom startup scripts

2011-08-01 Thread Lennart Poettering
On Sun, 24.07.11 20:20, Maciej Marcin Piechotka (uzytkown...@gmail.com) wrote: > I have 2 "problems" (not really a problems but good to have things): > > 1. Is there a mechanism to start custom scrips? In OpenRC I had > /etc/local.d/ but I haven't found any place in systemd that would be a > good

Re: [systemd-devel] Hand when using systemctl in unit files

2011-08-01 Thread Lennart Poettering
On Wed, 27.07.11 22:05, Warpme (war...@o2.pl) wrote: > Hi, > I really like systemd concept. > I want to use systemctl to control other unit from given unit. > I'm on systemd-29 > > Example: > > unit1: > ExecStartPre=systemctl restart service2.service This won't work since we only allow absolute

Re: [systemd-devel] Hand when using systemctl in unit files

2011-08-01 Thread Lennart Poettering
On Thu, 28.07.11 10:38, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > Hi, > to give a more concrete example: proc2=tracd using proc1=postgresql as a > backend requires a restart after the database daemon is restarted, > because it doesn't reopen the connection. A really ugly and painful

Re: [systemd-devel] Real Time access in a systemd control group

2011-08-01 Thread Lennart Poettering
On Fri, 29.07.11 15:50, Marius Perjeru (marius.perj...@windriver.com) wrote: > Hi, > > We configured a systemd environment, but we cannot have real time > access when running an application. > > We have defined a xorg.service which starts the X, and every script > runned gets under systemd/xorg.

Re: [systemd-devel] systemd automounts

2011-08-01 Thread Lennart Poettering
On Fri, 29.07.11 11:16, Steve Dickson (ste...@redhat.com) wrote: > I'm trying to automount /var/lib/nfs/rpc_pipefs > for the nfs-idmap.service > > var-lib-nfs-rpc_pipefs.mount is: > [Unit] > Description=RPC Pipe File System > DefaultDependencies=no > > [Mount] > What=sunrpc > Where=/var/lib/nfs/

Re: [systemd-devel] User Login and custom .service file

2011-08-01 Thread Lennart Poettering
On Mon, 01.08.11 13:31, George Stefan (stefan.georg...@gmail.com) wrote: > Hi, > I have a system configuration that requests the possibility of having > multiple users. Does systemd allow us to have a path (like > /lib/systemd/system) custom to each user? By this i mean something like > "/home/use

Re: [systemd-devel] PATCH: fix bash completion for systemctl restart

2011-08-01 Thread Lennart Poettering
On Mon, 01.08.11 18:46, Frederic Crozat (fcro...@suse.com) wrote: > Le lundi 01 août 2011 à 18:45 +0200, Frederic Crozat a écrit : > > Current bash completion doesn't use the correct service list for restart > > command, preventing to restart a already running service. > > Grrr, wrong file attach

Re: [systemd-devel] [PATCH] man: Fix command name in systemd-tmpfiles example.

2011-08-01 Thread Lennart Poettering
On Sat, 30.07.11 20:01, Ville Skyttä (ville.sky...@iki.fi) wrote: Applied. Thanks! > --- > man/systemd-tmpfiles.xml |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml > index fab8bca..08d5c73 100644 > --- a/man/syst

Re: [systemd-devel] [PATCH] man: loginctl has lock/unlock with a -session suffix

2011-08-01 Thread Lennart Poettering
On Sun, 31.07.11 13:57, Miklos Vajna (vmik...@frugalware.org) wrote: > Hi, > > The systemd-loginctl manpage talks about lock/unlock while in fact it1s > lock-sesion/unlock-session. The attached patch fixes this issue. Applied. Lennart -- Lennart Poettering - Red Hat, Inc.

Re: [systemd-devel] [PATCH] initctl: support 'telinit u/q'

2011-08-01 Thread Lennart Poettering
On Sat, 30.07.11 18:23, Tom Gundersen (t...@jklm.no) wrote: > We send SIGTERM (resp., SIGHUP) when we receive request for changing to > runlevel 'u' (resp., 'q'). > > As initctl is already async, we just send the signals rather than first > attempting to connect to sytemd over dbus and then falli

Re: [systemd-devel] PATCH: fix bash completion for systemctl restart

2011-08-01 Thread Frederic Crozat
Le lundi 01 août 2011 à 18:45 +0200, Frederic Crozat a écrit : > Current bash completion doesn't use the correct service list for restart > command, preventing to restart a already running service. Grrr, wrong file attached :) -- Frederic Crozat SUSE >From e8f9239aac3253884406c35309d673070c

[systemd-devel] PATCH: fix bash completion for systemctl restart

2011-08-01 Thread Frederic Crozat
Current bash completion doesn't use the correct service list for restart command, preventing to restart a already running service. -- Frederic Crozat SUSE Business cards request.ods Description: application/vnd.oasis.opendocument.spreadsheet ___ sys

Re: [systemd-devel] common RPM spec file?

2011-08-01 Thread Frederic Crozat
Le samedi 30 juillet 2011 à 16:36 +0200, Lennart Poettering a écrit : > On Thu, 28.07.11 09:49, Andreas Jaeger (a...@suse.com) wrote: > > > How are other distros packaging systemd? The systemd 31 release now adds > > devel > > files, so I consider creating a systemd-devel package. > > > > Can w

Re: [systemd-devel] Real Time access in a systemd control group

2011-08-01 Thread Barry Scott
On Friday 29 July 2011 13:50:49 Marius Perjeru wrote: > Hi, > > We configured a systemd environment, but we cannot have real time access > when running an application. > > We have defined a xorg.service which starts the X, and every script > runned gets under systemd/xorg.service control group,

[systemd-devel] User Login and custom .service file

2011-08-01 Thread George Stefan
Hi, I have a system configuration that requests the possibility of having multiple users. Does systemd allow us to have a path (like /lib/systemd/system) custom to each user? By this i mean something like "/home/user/systemd" where to have the associate .service/target/etc placed. Regards.