Re: [systemd-devel] systemd "hangs" for several minutes on shutdown if it gets "service force-reload" request

2011-01-17 Thread Tollef Fog Heen
]] Lennart Poettering | Detecting deadlocks is hard. (heck, the halting problem is | undecidable). Not sure how much we realistically can do. Given this is for debugging, have a command line param that dumps state if starting/stopping a job takes more than N seconds? At least I'd be happy with

Re: [systemd-devel] systemd hang on booting after mount

2011-01-17 Thread Chanwoo Choi
Lennart Poettering wrote: > On Mon, 17.01.11 22:57, 최찬우 ([email protected]) wrote: > >> Dear members, >> >> >> I want to use 'systemd' instead of old init process. >> Then I builded successfully "systemd-16" source in armel enviroment. >> >> Let me know the solution for this error. >> I will expe

Re: [systemd-devel] Problem with LVM

2011-01-17 Thread Miklos Vajna
On Mon, Jan 17, 2011 at 10:39:48PM +0100, Lennart Poettering wrote: > Older LVM versions used to create device nodes and symlinks to them on > their own instead of leaving that to udev (nobody should do that: /dev > is udev's territory and nobody else's). The effect of that is udev's > database d

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 17:30, Marius Tolzmann ([email protected]) wrote: > >>At last: Isn't that something lighttpd should take care off? Or the > >>user should test before issuing a reload? Or a small script can do? > > > >Isn't one of the points of systemd to eliminate such small scripts? > > Mi

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 20:11, Alexander E. Patrakov ([email protected]) wrote: > >There is no way you can notify systemd that the failed reload > >attempt was just a test prior to executing the real reload command > >(e.g. there is no ExecReloadPre or the like). (If a service keeps > >running I won't c

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-17 Thread Lennart Poettering
On Mon, 10.01.11 18:49, Marius Tolzmann ([email protected]) wrote: > and why do you explicitly not use the -D option and let systemd do > all the forking stuff for you..? you could get rid off the Type= > PIDFile= lines.. i also removed StandardError=syslog which seems to > be redundant here.

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 15:46, Marius Tolzmann ([email protected]) wrote: > > > hi again.. > > On 01/11/11 11:51, Alexander E. Patrakov wrote: > >After more research, I found the under-documented lighttpd-angel > >program. It does what is needed for babysitting lighttpd: performs the > >"send SIG

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 09:54, Alexander E. Patrakov ([email protected]) wrote: > instances of lighttpd to coexist for some time. See: after SIGINT, > the old instance does not listen on port 80, but continues servicing > large downloads that are still in progress. The new instance accepts > new connect

Re: [systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-17 Thread Lennart Poettering
On Mon, 10.01.11 20:22, Alexander E. Patrakov ([email protected]) wrote: > > 10.01.2011 18:57, Mirco Tischler wrote: > >This patch should fix it. Can you test it? The problem was that after a > >the mainpid exits, > >and because there are commands left to execute systemd assumes it > >executes a

Re: [systemd-devel] Assertion failed in systemd v16

2011-01-17 Thread Lennart Poettering
On Mon, 10.01.11 15:11, Alexander E. Patrakov ([email protected]) wrote: > [Unit] > Description=Lighttpd Web Server > After=network.target > > [Service] > Type=forking > EnvironmentFile=/etc/conf.d/lighttpd > PIDFile=/var/run/lighttpd.pid > ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lig

Re: [systemd-devel] miredo unit files

2011-01-17 Thread Lennart Poettering
On Fri, 07.01.11 22:26, Henry Gebhardt ([email protected]) wrote: > Dear list members, > > I have been maintaining a systemd overlay for Gentoo. Hence i was > contacted about how to get miredo running with systemd. I herefore > forward you the email, in the hope to get some help as to

Re: [systemd-devel] Restarting sshd

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 09:39, Gustavo Sverzut Barbieri ([email protected]) wrote: > > On Tue, Jan 11, 2011 at 7:12 AM, Alexander E. Patrakov > wrote: > ... > > ExecReload=/bin/kill -HUP $MAINPID > > This becoming a common case, shouldn't we have a ExecReloadSignal=HUP, > or SignalReload=HUP?

Re: [systemd-devel] Restarting sshd

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 12:30, Miklos Vajna ([email protected]) wrote: > On Tue, Jan 11, 2011 at 03:34:47PM +0500, "Alexander E. Patrakov" > wrote: > > 11.01.2011 15:24, Miklos Vajna wrote: > > > Is there any chance this could be sumitted to the maintainers of the > > > portable openssh? Having a

Re: [systemd-devel] Restarting sshd

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 15:34, Alexander E. Patrakov ([email protected]) wrote: > > 11.01.2011 15:24, Miklos Vajna wrote: > >Is there any chance this could be sumitted to the maintainers of > >the portable openssh? Having a different version for each distro > >is not something we want for sure. > > So

Re: [systemd-devel] Restarting sshd

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 11:24, Miklos Vajna ([email protected]) wrote: > On Tue, Jan 11, 2011 at 02:12:13PM +0500, "Alexander E. Patrakov" > wrote: > > sshd.service has the following problem, which is a regression from a > > traditional SysV setup and which is not present in sshd.socket + > > ss

Re: [systemd-devel] Restarting sshd

2011-01-17 Thread Lennart Poettering
On Tue, 11.01.11 14:12, Alexander E. Patrakov ([email protected]) wrote: > Hello. > > I have sshd-related unit files from http://0pointer.de/public/systemd-units/ > > sshd.service has the following problem, which is a regression from a > traditional SysV setup and which is not present in sshd.s

Re: [systemd-devel] Designing a scheduler interface

2011-01-17 Thread Lennart Poettering
On Thu, 13.01.11 18:29, Daniel Poelzleithner ([email protected]) wrote: > Hi, > > I'm currently implementing a dynamic linux kernel optimizer called > ulatencyd [1]. In my opinion the desktop experience (which applies to > servers as well) can be much improved by dynamically adjusting the the > k

Re: [systemd-devel] systemd "hangs" for several minutes on shutdown if it gets "service force-reload" request

2011-01-17 Thread Lennart Poettering
On Fri, 14.01.11 09:19, Tollef Fog Heen ([email protected]) wrote: > > ]] Lennart Poettering > > | > What I wonder in this case, why vnstat.service/reload appears to hang > | > in this case? The job itself fails during startup (initscript is > | > disabled, so it gets indirect request from ifup and

Re: [systemd-devel] Mandriva messagebus problems at shutdown/reboot

2011-01-17 Thread Lennart Poettering
On Sat, 15.01.11 10:00, Andrey Borzenkov ([email protected]) wrote: > > On Sat, Jan 15, 2011 at 12:15 AM, Michael Biebl wrote: > > 2011/1/14 Eugeni Dodonov : > >> I know that it is perhaps a simple newbie question, but is it something > >> that must be changed in our messagebus init script (atta

Re: [systemd-devel] Mandriva messagebus problems at shutdown/reboot

2011-01-17 Thread Lennart Poettering
On Fri, 14.01.11 18:14, Eugeni Dodonov ([email protected]) wrote: > Hi all, > > when playing with systemd by default on Mandriva (e.g., with > systemd-sysvinit installed and booting), we have faced a strange problem > when rebooting - the reboot process simple hanged and would not proceed. > >

Re: [systemd-devel] [PATCH 1/2] arch: remove support for legacy daemons

2011-01-17 Thread Lennart Poettering
On Sun, 16.01.11 01:46, Tom Gundersen ([email protected]) wrote: > This is now done by a generator, shipped downstream. Fantastic! I love deleting code! You rock! Commited both patches! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mail

Re: [systemd-devel] Problem with LVM

2011-01-17 Thread Lennart Poettering
On Sun, 16.01.11 03:29, Miklos Vajna ([email protected]) wrote: > Hi, > > I wanted to test LVM when using systemd, but it seems something > essential is missing on my test box. > > Here is what I tried: > > Our sysv lvm init script provides an LSB header, so it gets executed > early on boo

Re: [systemd-devel] systemd hang on booting after mount

2011-01-17 Thread Lennart Poettering
On Mon, 17.01.11 22:57, 최찬우 ([email protected]) wrote: > Dear members, > > > I want to use 'systemd' instead of old init process. > Then I builded successfully "systemd-16" source in armel enviroment. > > Let me know the solution for this error. > I will expect for your reply. The only guess

[systemd-devel] systemd hang on booting after mount

2011-01-17 Thread 최찬우
Dear members, I want to use 'systemd' instead of old init process. Then I builded successfully "systemd-16" source in armel enviroment. But, I faced following booting error : - 3.038309] Btrfs detected SSD devices, enabling SSD mode [3.046861] VFS: Mounted

Re: [systemd-devel] systemd "hangs" for several minutes on shutdown if it gets "service force-reload" request

2011-01-17 Thread Tomasz Torcz
On Fri, Jan 14, 2011 at 12:44:46PM +0100, Tollef Fog Heen wrote: > ]] Tomasz Torcz > > Hi, > > | “ SIGUSR2 > |When this signal is received the systemd manager will log its > complete > |state in human readable form. The data logged is the same as > printed by sys