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

2011-02-08 Thread Lennart Poettering
On Sat, 29.01.11 09:47, Eugeni Dodonov (eug...@mandriva.com) wrote: Don't know if it is possible, but the following would be almost ideal debugging thing for cases I am having problems with - something like a signal which systemd would catch and dump everything it is doing right now; or dump

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

2011-01-29 Thread Eugeni Dodonov
On 01/29/2011 05:33 AM, Andrey Borzenkov wrote: On Thu, Jan 27, 2011 at 11:50 PM, Andrey Borzenkov arvidj...@gmail.com wrote: On Fri, Jan 7, 2011 at 5:33 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 01.12.10 22:55, Andrey Borzenkov (arvidj...@gmail.com) wrote: In Mandriva

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

2011-01-27 Thread Andrey Borzenkov
On Fri, Jan 7, 2011 at 5:33 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 01.12.10 22:55, Andrey Borzenkov (arvidj...@gmail.com) wrote: In Mandriva we are using {ifup,ifdown}.d script for callouts. One package install script that - in both cases - does service vnstat

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 systemctl

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 (tfh...@err.no) 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 does

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 hangs for several minutes on shutdown if it gets service force-reload request

2011-01-14 Thread Tomasz Torcz
On Fri, Jan 14, 2011 at 09:19:34AM +0100, Tollef Fog Heen 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 does

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

2011-01-14 Thread Tollef Fog Heen
]] 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 systemctl dump. | ” This is useful. It'd be even more useful if I could just hit a

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

2011-01-06 Thread Lennart Poettering
On Wed, 01.12.10 22:55, Andrey Borzenkov (arvidj...@gmail.com) wrote: In Mandriva we are using {ifup,ifdown}.d script for callouts. One package install script that - in both cases - does service vnstat force-reload. During shutdown it is causing interesting effect - this request hangs which