Re: snapd debug without systemd activation

2016-12-05 Thread Boris Rybalkin
John, I am new to go language (coming from Java world) I want to debug with breakpoints from IDE (and I was able aftet adding socket creation code). Maybe I should run it with systemd and then attach to it from IDE? On 5 Dec 2016 09:23, "John Lenton" wrote: On 5

Re: snapd debug without systemd activation

2016-12-05 Thread Didier Roche
Le 05/12/2016 à 09:58, Boris Rybalkin a écrit : > Hello, > > Is it possible to run snapd for debugging without systemd socket > activation ? > > There is a check here: > https://github.com/snapcore/snapd/blob/master/daemon/daemon.go#L198 > > Which seems to expect socket from systemd. > > I was

snapd debug without systemd activation

2016-12-05 Thread Boris Rybalkin
Hello, Is it possible to run snapd for debugging without systemd socket activation ? There is a check here: https://github.com/snapcore/snapd/blob/master/daemon/daemon.go#L198 Which seems to expect socket from systemd. I was able to run and debug without systemd by adding explicit socket