Landscape client snap - Managed Mode attribute

Hi Store-requests,

Can we please request the modification of the snapdcontrol interface on the Landscape Client snap to include the managed mode attribute? This won’t change functionality but adds another mechanism by which to manage the snap refresh timer.

Thanks,

Michael

1 Like

So from what I can see, your snap wants the ability to specify:

plugs:
  snapd-control:
    refresh-schedule: managed

Is that correct? (as per https://snapcraft.io/docs/snapd-control-interface)

Yes… that is the one.

hi @mikecw - just to get a better idea of the change, what is the reasoning for the managed mode attribute with landscape-client?

Thanks!

Hi @cav,

The managed mode attribute was the original way of disabling automatic snap updates to ensure that updates were only applied when directly commanded via Landscape. This is Field Engineering’s preferred mechanism for controlling that for IoT devices and as such it is their request.

Functionally, inside snapd it is now the same as disabling the refresh timers which can be achieved using snapdcontrol - but as there are existing customers using this method it made sense to allow consistency for them.

Thanks,