devmode flag disappears after disabling+re-enabling a snap

Kyle Fazzari kyle.fazzari at canonical.com
Tue Jan 24 20:06:42 UTC 2017



On 01/24/2017 11:56 AM, Alejandro J. Cura wrote:
> On Tue, Jan 24, 2017 at 4:49 PM, Kyle Fazzari
> <kyle.fazzari at canonical.com> wrote:
>>
>> On 01/24/2017 11:34 AM, Alejandro J. Cura wrote:
>>> Is that the expected behavior?
>>>
>>> alecu at localhost:~$ snap list
>>> Name            Version        Rev  Developer  Notes
>>> core            16.04.1        976  canonical  -
>>> mir-kiosk       0.1            22   canonical  devmode
>>> mir-kiosk-apps  0.1            11   canonical  devmode
>>> mir-libs        0.1            20   canonical  devmode
>>> pi2             16.04-0.17     36   canonical  -
>>> pi2-kernel      4.4.0-1040-47  26   canonical  -
>>> alecu at localhost:~$ snap disable mir-kiosk-apps
>>> mir-kiosk-apps disabled
>>> alecu at localhost:~$ snap enable mir-kiosk-apps
>>> mir-kiosk-apps enabled
>>> alecu at localhost:~$ snap list
>>> Name            Version        Rev  Developer  Notes
>>> core            16.04.1        976  canonical  -
>>> mir-kiosk       0.1            22   canonical  devmode
>>> mir-kiosk-apps  0.1            11   canonical  -
>>> mir-libs        0.1            20   canonical  devmode
>>> pi2             16.04-0.17     36   canonical  -
>>> pi2-kernel      4.4.0-1040-47  26   canonical  -
>>> alecu at localhost:~$
>>
>> Well that's interesting. Does it stop working at that point, or is it
>> still actually in devmode?
> 
> How can I tell exactly?
> mir-kiosk-apps still works after that, and I think it was devmode that
> fixed it, so it seems to be in devmode still.

Yeah I was assuming it required devmode to work. I suspect this is not
desired behavior; it would probably be worth logging a bug.

-- 
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170124/275fdee4/attachment.sig>


More information about the Snapcraft mailing list