snapd debug without systemd activation

Boris Rybalkin ribalkin at gmail.com
Mon Dec 5 08:58:14 UTC 2016


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
creation lines if activation did not return a valid listener.

Should there be some 'else if "STANDALONE_MODE" == 1 then create sockets' ?

I am using Idea go plugin and ideally hitting shift + f9 should just work.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161205/f04df3a5/attachment.html>


More information about the Snapcraft mailing list