Re: [systemd-devel] How to debug blocking service start?

2015-04-08 Thread Lennart Poettering
On Wed, 08.04.15 10:31, Kai Hendry (hen...@webconverger.com) wrote: On Tue, 7 Apr 2015, at 11:13 PM, Lennart Poettering wrote: What does networkctl status say when this happens? And networkctl status -a? Oooh, I love those commands. Here is the output which says I'm routable:

Re: [systemd-devel] How to debug blocking service start?

2015-04-07 Thread Lennart Poettering
On Sat, 04.04.15 15:33, Kai Hendry (hen...@webconverger.com) wrote: Thanks for the reply Lennart! I'm sorry I couldn't attend your FOSSASIA talk in Singapore. I was on holiday. On Sat, 4 Apr 2015, at 12:16 AM, Lennart Poettering wrote: something else that runs before it is hanging hence.

Re: [systemd-devel] How to debug blocking service start?

2015-04-07 Thread Andrei Borzenkov
В Wed, 08 Apr 2015 10:31:18 +0800 Kai Hendry hen...@webconverger.com пишет: On Tue, 7 Apr 2015, at 11:13 PM, Lennart Poettering wrote: What does networkctl status say when this happens? And networkctl status -a? Oooh, I love those commands. Here is the output which says I'm routable:

Re: [systemd-devel] How to debug blocking service start?

2015-04-07 Thread Kai Hendry
On Tue, 7 Apr 2015, at 11:13 PM, Lennart Poettering wrote: What does networkctl status say when this happens? And networkctl status -a? Oooh, I love those commands. Here is the output which says I'm routable: http://s.natalian.org/2015-04-08/networkctl.txt Maybe all of this has something

Re: [systemd-devel] How to debug blocking service start?

2015-04-04 Thread Kai Hendry
Thanks for the reply Lennart! I'm sorry I couldn't attend your FOSSASIA talk in Singapore. I was on holiday. On Sat, 4 Apr 2015, at 12:16 AM, Lennart Poettering wrote: something else that runs before it is hanging hence. What does systemctl list-jobs say before you run this and it hangs?

Re: [systemd-devel] How to debug blocking service start?

2015-04-03 Thread Lennart Poettering
On Fri, 27.03.15 10:32, Kai Hendry (hen...@webconverger.com) wrote: First, thanks for trying to help me Kai. Awesome name btw. On Fri, 27 Mar 2015, at 03:26 AM, Kai Krakow wrote: Try Type=simple to not let it wait. That is telling systemd, that the binary will not daemonize - athough

Re: [systemd-devel] How to debug blocking service start?

2015-04-03 Thread Lennart Poettering
On Thu, 26.03.15 20:26, Kai Krakow (hurikha...@gmail.com) wrote: Kai Hendry hen...@webconverger.com schrieb: Hi there, How do I figure out why or where something is stuck? http://s.natalian.org/2015-03-25/systemd-start-issue.png `journalctl -u surf -f` prints nothing. Binary

Re: [systemd-devel] How to debug blocking service start?

2015-03-27 Thread Martin Pitt
Hello Kai, Kai Hendry [2015-03-27 12:18 +0800]: Wish there was a service validator service. Not sure what you changed, but systemd-analyze verify foo.service might be a good start? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

Re: [systemd-devel] How to debug blocking service start?

2015-03-26 Thread Kai Hendry
First, thanks for trying to help me Kai. Awesome name btw. On Fri, 27 Mar 2015, at 03:26 AM, Kai Krakow wrote: Try Type=simple to not let it wait. That is telling systemd, that the binary will not daemonize - athough it should be default according to [1]. It's still getting stuck with

Re: [systemd-devel] How to debug blocking service start?

2015-03-26 Thread Kai Hendry
On Fri, 27 Mar 2015, at 12:14 PM, Daurnimator wrote: My first guess based on that screenshot is case: Simple vs simple. No I fixed that problem. :) http://ix.io/h8U Wish there was a service validator service. ___ systemd-devel mailing list

Re: [systemd-devel] How to debug blocking service start?

2015-03-26 Thread Daurnimator
On 27 March 2015 at 13:32, Kai Hendry hen...@webconverger.com wrote: It's still getting stuck with Type=simple. http://s.natalian.org/2015-03-27/simple.png Isn't there a better way to debug than running journalctl -u service -f in parallel? The frustrating thing is that the SAME service

Re: [systemd-devel] How to debug blocking service start?

2015-03-26 Thread Kai Krakow
Kai Hendry hen...@webconverger.com schrieb: Hi there, How do I figure out why or where something is stuck? http://s.natalian.org/2015-03-25/systemd-start-issue.png `journalctl -u surf -f` prints nothing. Binary surf runs fine when I run it manually. It probably is not stuck, it's

[systemd-devel] How to debug blocking service start?

2015-03-24 Thread Kai Hendry
Hi there, How do I figure out why or where something is stuck? http://s.natalian.org/2015-03-25/systemd-start-issue.png `journalctl -u surf -f` prints nothing. Binary surf runs fine when I run it manually. Many thanks, ___ systemd-devel mailing list