Re: systemd reload (ExevReload) support

2017-01-24 Thread Boris Rybalkin
can easily sign online assuming you're happy with the > terms: > > https://www.ubuntu.com/legal/contributors > > > > On Tue, Jan 17, 2017 at 11:51 AM, Boris Rybalkin <ribal...@gmail.com> > wrote: > >> Yes, I had to add support on our branch before we get official

Re: systemd reload (ExevReload) support

2017-01-17 Thread Boris Rybalkin
zygmunt.kryni...@canonical.com> wrote: > Quick grep tells me that this is not currently supported. > > On Sat, Jan 14, 2017 at 4:55 PM, Boris Rybalkin <ribal...@gmail.com> > wrote: > > Hi, > > > > Could you tell me if there is systemd ExecReload support in snap.yaml? >

Re: configure hook

2016-11-09 Thread Boris Rybalkin
ks/meta/hooks. >> >> Hope that helps! >> Didier >> >> >> Thanks. >> >> Br >> Enwei >> >> >> >> On Tue, Nov 8, 2016 at 6:28 PM, Didier Roche <didro...@ubuntu.com> wrote: >> >>> Le 08/11/2016 à 04:52, Kyle Fa

Re: configure hook

2016-11-09 Thread Boris Rybalkin
gt; Le 09/11/2016 à 09:39, Boris Rybalkin a écrit : > > Sorry, I did not get that. > > I am using snapcraft, are you saying that just creating hooks/configure is > not enaugh? > > It should be enough if you ensure it's in your final snap in > meta/hooks/configure. (Look at

configure hook

2016-11-05 Thread Boris Rybalkin
Hello, I want to generate my config on snap install using snap location variables. >From the docs configure hook is only triggered when 'snap set' is called. Will configure also be called on install and upgrade? If not is there any other hook available for that purpose? Thank you. --

Re: configure hook

2016-11-12 Thread Boris Rybalkin
me and then running snapcraft snap. This bug says it is probably not yet available in edge, how do I switch channel? https://bugs.launchpad.net/snappy/+bug/1636931 Thank you. On 9 Nov 2016 09:21, "Didier Roche" <didro...@ubuntu.com> wrote: > Le 09/11/2016 à 10:15, Boris Rybalkin a

Re: configure hook

2016-11-14 Thread Boris Rybalkin
Will it help if I upgrade to 16.10? Also what is really relation between snapd and ubuntu core on amd64? On 14 Nov 2016 8:01 am, "Didier Roche" <didro...@ubuntu.com> wrote: > Le 12/11/2016 à 17:45, Boris Rybalkin a écrit : > > Still struggling with hooks, they ar

uwsgi systemd config (Type=notify)

2016-11-21 Thread Boris Rybalkin
/uwsgi --ini ${SNAP_COMMON}/config/uwsgi/public.ini daemon: simple restart-condition: always plugs: [network, network-bind] - Snap way of defining systemd services seems very limited, is there a way to provide systemd version of the config in snapd? Thanks -- Boris

Re: configure hook

2016-11-17 Thread Boris Rybalkin
After reinstalling snapd (2.17.1) and cleaning /var/lib/snapd/ issue seems to go away. Thank you very much! On Wed, Nov 16, 2016 at 7:20 PM, Boris Rybalkin <ribal...@gmail.com> wrote: > After upgrading snapd on desktop 16.04 from xenial-proposed now I have > this wired messag

Re: configure hook

2016-11-14 Thread Boris Rybalkin
on how to install snapd on a linux? On Mon, Nov 14, 2016 at 9:20 AM, Didier Roche <didro...@ubuntu.com> wrote: > Le 14/11/2016 à 10:04, Boris Rybalkin a écrit : > > Will it help if I upgrade to 16.10? > > No, it contains the same version: https://launchpad.net/ubuntu/+

Re: Should Syncloud migrate to snappy?

2016-11-04 Thread Boris Rybalkin
/gadget/ > > > > I guess you meant to link this one: > > - https://myriadrf.org/blog/snap-packages-limesdr/ > > > >> we even provided a very simple example store to demonstrate it > > > > - https://github.com/noise/snapstore > > - https://uappexplorer.com/a

Snapd circular dependencies

2016-12-09 Thread Boris Rybalkin
Hi, I am learning snapd code and have found some rather strange place of the code: snapstate.go: var Configure = func(st *state.State, snapName string, patch map[string]interface{}) *state.TaskSet { panic("internal error: snapstate.Configure is unset") } I tried to understand why would anyone

systemd reload (ExevReload) support

2017-01-14 Thread Boris Rybalkin
Hi, Could you tell me if there is systemd ExecReload support in snap.yaml? Thank you. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Snapd free space available check

2017-01-11 Thread Boris Rybalkin
Done https://github.com/snapcore/snapd/issues/2603 On 9 Jan 2017 13:57, "Zygmunt Krynicki" <zygmunt.kryni...@canonical.com> wrote: > I don't think we're doing this yet. > > > Can you please report an issue so that it can be tracked. > > Best regards > ZK >

Re: configure hook

2016-12-01 Thread Boris Rybalkin
install :) Could anyone confirm this? On Fri, Nov 18, 2016 at 12:25 AM, Boris Rybalkin <ribal...@gmail.com> wrote: > After reinstalling snapd (2.17.1) and cleaning /var/lib/snapd/ issue seems > to go away. > Thank you very much! > > On Wed, Nov 16, 2016 at 7:20 PM,

Re: configure hook

2016-12-02 Thread Boris Rybalkin
(not practical) Thanks On 2 Dec 2016 06:50, "Didier Roche" <didro...@ubuntu.com> wrote: Le 02/12/2016 à 02:53, Boris Rybalkin a écrit : Sorry still more questions on hooks. As I understand configure hooks are executed after services startup: https://github.com/sna

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

Re: snapd debug without systemd activation

2016-12-05 Thread Boris Rybalkin
gt; wrote: On 5 December 2016 at 08:58, Boris Rybalkin <ribal...@gmail.com> wrote: > > Is it possible to run snapd for debugging without systemd socket activation? depends on what you mean. At the end of HACKING.md in the root of the project there are instructions for how to run snapd by

Snapcraft tool under debian armhf

2017-01-04 Thread Boris Rybalkin
Hi, Is it possible to get snapcraft tool under Debian? We have some debian armhf build agents and we would like to build snaps on them as well as on Ubuntu amd64 agents. Our yaml is simple and contains only few daemon definitions and a dump plugin so I thought we can even create snap archive

Re: Snapcraft tool under debian armhf

2017-01-04 Thread Boris Rybalkin
Great, that is what I was looking for! Thanks. On 4 Jan 2017 18:30, "Kyle Fazzari" <kyle.fazz...@canonical.com> wrote: > On 01/04/2017 10:01 AM, Boris Rybalkin wrote: > > Thanks for the replies. > > > > Would it be easier for now just to create a squ

Re: Snapcraft tool under debian armhf

2017-01-04 Thread Boris Rybalkin
ded into snap.yaml. As you can see we are not really using any snapcraft feature except archiving. On 4 Jan 2017 17:47, "Neal Gompa" <ngomp...@gmail.com> wrote: > On Wed, Jan 4, 2017 at 10:37 AM, Leo Arias <leo.ar...@canonical.com> > wrote: > > Hello! > > > &g