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.
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.
That makes sense and fits the purpose of the snap. Given the snap has already been vetted for and granted the snapd-control, I will go ahead and the make the change.
@mikecw - I saw the landscape-client app in the snap has:
Please remove the snapd-control plug and keep the snapd-control-managed and submit a new revision. review-tools complains when it is tries to plug it twice with the new declaration update. Let me know once this change is submitted and I’ll make the changes live!
Hi @cav, sorry for the slight delay. I’ve made that change and the newly build snap should be in the edge and beta channels. Is that sufficient to get the change applied?
That may have come about because the change to the snap is on the edge track and not the stable so the store has propagated the change to those with stable. Ok, thanks for reverting, I will investigate more when I am back from holiday.
Hi, just to close this out - after a lot of discussion about this topic as to the best way to proceed, the landscape client snap has now been amended to achieve the same result (enabling managed mode) without the need to change the existing snap declaration.
The issue it highlights to some extend is that snap declarations are global to the snap and not to any specific track - accordingly we have to be more careful if we make a change to any channel (i.e. edge) that needs a change to the declaration as this will also be applied to stable channels. We will look to see if this can be mitigated against in the future or more clearly documented. Thanks all.