/srv/irclogs.ubuntu.com/2017/03/01/#snappy.txt

mwhudsonargh01:46
mwhudsonthe way LDFLAGS is set for classic snap builds is painful01:46
=== ahrs is now known as ahrs|AFK
mupBug #1662357 opened: Can't use lsb_release on Ubuntu Core 16 <Snappy:New> <Snappy Ubuntu Core:New> <lsb (Ubuntu):Confirmed> <https://launchpad.net/bugs/1662357>02:18
mupPR snapcraft#1165 opened: beta <Created by snappy-m-o> <https://github.com/snapcore/snapcraft/pull/1165>02:53
mwhudsonwaaait a minute03:21
mwhudsoncan i build classic snaps on launchpad for all architectures?03:21
mwhudsonstrongly getting the feeling that the interpreter is wrong for these builds03:22
mupPR snapd#2957 opened: snapstate: include change kind/summary in error report <Created by mvo5> <https://github.com/snapcore/snapd/pull/2957>07:07
mupPR snapd#2958 opened: snapstate: disable running the configure hook on classic for the core snap <Created by mvo5> <https://github.com/snapcore/snapd/pull/2958>08:29
mupBug #1668891 opened: Can install non classic snap with --classic, but classic flag isn't set <amd64> <apport-bug> <xenial> <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1668891>08:36
mupPR snapd#2959 opened: data: re-add snapd.refresh.{timer,service} with weekly schedule <Created by mvo5> <https://github.com/snapcore/snapd/pull/2959>09:07
threshjdstrand, what exactly does that change mean, btw?  I'm too stupid to understand docs.09:21
mupPR snapd#2960 opened: release: add linuxmint 18 to the whitelisted distros <Created by mvo5> <https://github.com/snapcore/snapd/pull/2960>09:26
mupPR snapd#2961 opened: ifacestate: re-generate apparmor in InterfaceManager.initialize() <Created by mvo5> <https://github.com/snapcore/snapd/pull/2961>09:46
=== JamesTait is now known as Guest95749
=== Guest95749 is now known as JamesTait
mupPR snapd#2962 opened: tests: temporarly unbreak docker by manually connecting the interfaces <Created by mvo5> <https://github.com/snapcore/snapd/pull/2962>10:21
=== JanC is now known as Guest86538
=== JanC_ is now known as JanC
Son_Gokugurgle10:30
mupPR snapd#2963 opened: interfaces: use MockInfo in tests <Created by stolowski> <https://github.com/snapcore/snapd/pull/2963>10:39
* ogra_ hands Son_Goku a snorkel10:40
* Son_Goku takes it, then chokes on it10:40
ogra_should i have removed the cork at the end ?10:41
paulliuhi. I have a problem. I'm snapcrafting zenity. But zenity wants to load its ui file from /usr/share/zenity/zenity.ui10:42
paulliuI'd like to know if there's any tricks other than patching zenity?10:43
Son_Gokuogra_: probably :P10:45
ogra_:)10:46
mupPR snapd#2962 closed: tests: temporarly unbreak docker by manually connecting the interfaces <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2962>11:08
mupPR snapd#2957 closed: snapstate: include change kind/summary in error report <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2957>11:09
Son_Gokuogra_: I hate golang now11:24
Son_Gokua lot11:24
Son_Gokubefore, I just disliked it11:24
Son_Goku:/11:24
mupPR snapd#2964 opened: errtracker: forward port the 2.22.7 fixes <Created by mvo5> <https://github.com/snapcore/snapd/pull/2964>11:25
mupPR snapcraft#1166 opened: tests: Fix name registration window limit test to latest changes <Created by fgallina> <https://github.com/snapcore/snapcraft/pull/1166>11:38
zioprotocoreycb, james I was able to compile the nova package versione 13.1.3 I pushed stable/mitaka and pristine-tar branches to https://code.launchpad.net/~zioproto/ubuntu/+source/nova/+git/nova    How does it work for the merge request on launchpad ? I have to do 1 MR for each branch ? I will be testing the new package on our staging cluster. I will do the merge request when I am sure it is okay.11:56
zioprotoops wrong channel :)11:56
zioprotosorry for the noise:)11:57
=== hikiko is now known as hikiko|ln
ssweenyjdstrand: awesome, thanks!13:25
=== hikiko|ln is now known as hikiko
mupPR snapd#2965 opened: snapstate: error in LinkSnap() if revision is unset <Created by mvo5> <https://github.com/snapcore/snapd/pull/2965>13:38
enoch85_workhey, anyone knows where kyrofa is?13:44
jdstrandthresh: the snap declaration issued by the store did not include an auto-connection constraint when it should have so that would make snapd auto-connect snaps that plugged yours13:49
mupPR snapd#2966 opened: daemon: DevModeDistro does not imply snapstate.Flags{DevMode:true} <Critical> <Created by chipaca> <https://github.com/snapcore/snapd/pull/2966>14:06
mupBug #1669000 opened: classic snap can't use confinement override <amd64> <apport-bug> <xenial> <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1669000>14:23
Tryumping didrocks (Thibault Jochem ^^)14:46
mupBug #1669012 opened: Can't reinstall a snap already installed switching confinement mode <amd64> <apport-bug> <xenial> <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1669012>14:51
jdstrandmorphis_: hey, I was looking into mmcli not auto-connecting and it seems your yaml should be: http://paste.ubuntu.com/24090328/14:51
morphis_jdstrand: hey14:51
morphis_jdstrand: that syntax was working quite well so far, what is broken with this short form?14:51
jdstrandmorphis_: I'm not sure if that is a bug in snapd or not. I know mmcli: null is supposed to work14:52
morphis_hm14:52
morphis_auto-connection AFAIK works14:52
morphis_or do you see this with a pretty recent snapd version?14:53
jdstrandmorphis_: but this is supposed to be a dict. I'm looking at the docker snap declaration and the modem-manager snap declarations, and they are identical in how they allow auto-connect, but docker's works and modem-manager does not14:53
jdstrandmorphis_: and this is the difference I see in their snap.yamls14:53
jdstrand$ snap --version14:54
jdstrandsnap    2.22.714:54
morphis_hm14:54
morphis_jdstrand:  let me try to reproduce this14:55
jdstrandmorphis_: hmm. if I look at nm, it has the same style as mm, and it auto connects14:55
morphis_yeah, that is what makes me wonder and we have a CI test in place which verifies this doesn't break14:56
jdstrandmorphis_: oh, weird14:57
jdstrandhmm, this is on classic14:57
jdstrandmorphis_: let me reproduce on all snaps14:58
jdstrandI just noticed that :modem-manager and modem-manager:service were both in the list14:58
morphis_jdstrand: ah you do this on classic?14:59
jdstrandmorphis_: I did. gimme a minute before spending time on it14:59
morphis_ok14:59
jdstrandmorphis_: it is fine on all snaps15:03
mupPR snapd#2955 closed: cmd: fixes to run correctly on opensuse <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2955>15:03
morphis_jdstrand: ok15:04
morphis_reminds me we should put a CI job for testing classic in one day too15:04
mupPR snapd#2967 opened: tests: remove workaround for docker again, snap-declaration is fixed now <Created by mvo5> <https://github.com/snapcore/snapd/pull/2967>15:04
jdstrandmorphis_: is ofono supposed to auto-connect to bluez?15:09
jdstrandthere is no snap decl for that15:09
didrockshey Tryum ;)15:16
didrocksTryum: saw your email on the ML, let's see if that triggers ideas :)15:17
jdstrandmorphis_: it seems clear there should be, so I granted it just now15:18
morphis_jdstrand: oh thanks, yeah it should15:19
mupPR snapd#2960 closed: release: add linuxmint 18 to the whitelisted distros <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2960>15:24
mupPR snapd#2964 closed: errtracker: forward port the 2.22.7 fixes <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2964>15:25
jdstrandmvo: hey, I have 2 PRs that are 'Waiting for status to be reported' for travis-ci. They were submitted/updated yesterday. is there an issue with travis?15:39
jdstrandhttps://github.com/snapcore/snapd/pull/2948 and https://github.com/snapcore/snapd/pull/295615:39
mupPR snapd#2948: interfaces/bluez,network-manager: implement ConnectedSlot policy <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2948>15:39
mupPR snapd#2956: interfaces: allow 'getent' by default with some missing dbs to various interfaces <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2956>15:39
mvojdstrand: yes, travis is in unhappy-land currently, I think related to the s3 outage the other day15:43
jdstrandmvo: ah, ok, thanks15:57
mvojdstrand: also thanks for your feedback on the dynamic-detection of the apparmor features branch, happy to look at the directory instead of version_signature15:57
mvojdstrand: lets talk tomorrow or friday, I need to get 2.23 out of the door today but I'm keen to fix snapd/snap-confine interaction soon :)15:58
jdstrandmvo: we might want to discuss with tyhicks and come up with a plan for making this easier/more robust15:58
jdstrandmvo: ah, ok, sure15:58
mupPR snapd#2965 closed: snapstate: error in LinkSnap() if revision is unset <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2965>15:58
jdstrandmvo: would you ind looking at 2948 and 2956 for 2.23 then?15:59
jdstrandmind*15:59
mvojdstrand: yeah, I was  unaware of this problem until recently, we added some more distros for 2.23 (mint,zorin) so its not super urgent15:59
mvojdstrand: sure, let me check15:59
jdstrandmvo: 2956 is super obvious. 2948 impacts morphis_' snaps, but he gave the +116:00
mvojdstrand: could you please merge master and push them? that hopefully wakes travis up again16:00
jdstrandsure16:00
jdstrandmvo: done for both. it looks like travis is 'in progress'16:02
mvojdstrand: I keep an eye on it and restart if needed, thank you. reviewing now16:03
jdstrandmvo: thanks!16:03
mupPR snapd#2968 opened: overlord/snapstate: drop forced devmode <Created by chipaca> <https://github.com/snapcore/snapd/pull/2968>16:14
pshodset up a pi3 with core16:18
pshodfrom console asks for localhost login16:18
pshodssh with sso username asks for password16:19
pshodhelp!!!16:24
kyrofapshod, did it ever work?16:25
kyrofapshod, or did you just finish the initial setup?16:25
pshodgot till successfully registering my sso account16:26
pshodssh ssousername@192.168.1.1816:28
kyrofaAnd your SSO account has SSH keys in it?16:28
pshodusing this from the machine from which ssh keys are generated16:28
pshodyes16:28
kyrofaRSA ones (I seem to remember DSA not being supported)16:28
pshodshould the pi3 be shown @ my sso accnt16:28
pshod?16:28
pshodyes16:28
pshodtwas a rsa key16:29
kyrofapshod, run ssh with -vvv and pastebin the output (feel free to sanitize as necessary)16:29
pshodon every boot it goes to localhost login screen16:29
pshodokay.16:29
pshodwait.16:29
kyrofapshod, that sounds like it may be an old image-- I think it should be listing available keys and its IP address16:30
kyrofapshod, where did you get it?16:30
pshodfrom the ubuntu's site16:30
kyrofadavidcalle, how do I log a bug against https://developer.ubuntu.com/core/get-started/dragonboard-410c ?16:31
kyrofapshod, can you please give me the link you used?16:31
kyrofapshod, the link to the image could be out of date, I've discovered that before16:31
davidcallekyrofa: https://github.com/ubuntudesign/developer.ubuntu.com/issues16:33
davidcallepshod: I'm interested in where you got the image as well16:36
pshod2http://pastebin.com/rKHrQGPx16:37
pshod2pshod here16:37
pshod2frm inside vm16:37
pshod2david: ubuntu's website16:37
pshodhttps://github.com/ubuntudesign/developer.ubuntu.com/issues16:38
pshod2https://developer.ubuntu.com/core/get-started/raspberry-pi-2-316:40
pshod2tis is the link16:40
pshod2to the image16:40
jdstrandmvo: I think you may want to read and weigh in on https://github.com/snapcore/snapd/pull/2947#discussion_r10372814716:41
mupPR snapd#2947: cmd/snap-confine,tests: bind-mount /etc/os-release <Created by zyga> <https://github.com/snapcore/snapd/pull/2947>16:41
kyrofadavidcalle, interesting, that page is using releases, whereas the DB one uses cdimage16:43
kyrofadavidcalle, releases hasn't been updated since november16:43
davidcallekyrofa: https://github.com/ubuntudesign/developer.ubuntu.com/pull/22316:44
kyrofadavidcalle, whereas cdimage was updated the end of January: http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/16:44
kyrofadavidcalle, ah ha!16:44
kyrofapshod2, try the image from http://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ instead16:45
mvojdstrand: sure, looking16:45
jdstrandmvo: it's kind of a philosophical question that I think requires an architect/lead to consider16:46
mvojdstrand: that sounds more like gustavo, but I will give my 0.02€ still16:46
jdstrandhehe16:46
pshod2anybody checked the pastebin?16:55
pshod2eating16:55
pshod2brb16:55
kyrofapshod2, please try with a newer image. If it happens again we'll look at the pastebin16:57
pshod2how long till you are here17:01
pshod2i will download it and flash17:02
pshod2will take me some17:02
kyrofapshod2, I'll be here for about 5 hours or so17:09
pshodmd5?17:24
pshodshould i cpy?17:24
pshodkyrofa17:24
kyrofapshod, I don't understand what you're asking17:25
pshodwhile flashing the image onto the sd card17:25
pshodthere is an option of copying md5 checksum file17:25
pshodshould I use it?17:25
kyrofaYou mean to verify the image you downloaded was good?17:26
kyrofaThat's always a good idea17:26
pshodyes17:27
pshodokay17:27
pshodkyrofa: why is it that i need to use a sd card formatter off the net instead of the in built format option17:29
kyrofapshod, which OS are you using?17:29
pshodwindows17:30
pshodthough have a vm running ubuntu 1617:30
pshodcorportate workstation limits17:31
pshodshitty*17:31
pshodgenerated the ssh keys in vm17:32
pshodwould ssh from there only17:33
kyrofapshod, that's a question for davidcalle. I didn't know Windows had a built-in tool for flashing images17:34
pshodno17:35
pshodnot a built in tool17:35
pshodWin 32 diskimager, redirected from the ubintu page17:35
pshodubuntu17:36
davidcallepshod: it's not a formatter it's a disk flasher, you can use https://etcher.io/ if you prefer17:36
pshodyes17:37
pshodused a diff app to format17:37
pshodnow pi is booting17:38
davidcallekyrofa: PR from earlier deployed thanks for pointing it out17:46
pshodkyrofa: thanks bro reflashing with new image worked.17:52
kyrofapshod, good deal. Thanks for the update davidcalle!17:52
mupPR snapd#2827 closed: cmd: add helpers for mounting / unmounting <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2827>18:29
mupPR snapd#2948 closed: interfaces/bluez,network-manager: implement ConnectedSlot policy <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2948>18:34
mupPR snapd#2966 closed: daemon: DevModeDistro does not imply snapstate.Flags{DevMode:true} <Critical> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2966>18:34
mupPR snapd#2961 closed: ifacestate: re-generate apparmor in InterfaceManager.initialize() <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2961>18:35
mupPR snapd#2958 closed: snapstate: disable running the configure hook on classic for the core snap <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2958>18:53
mterryWhy might the version from "snap version" not match my installed deb version?  (I have xenial-updates version 2.22.3 installed, but snap version says 2.22.7)19:01
jdstrandmterry: because of snap reexec on classic19:02
jdstrandmterry: the core snap has a newer snapd than what is installed on the system19:02
jdstrandmterry: and there is magic to use it instead of what is shipped in the deb19:03
mterryjdstrand: interesting.  Is there a way I can turn that off so that I can test a manually rebuilt snapd deb?19:06
jdstrandmterry: I think SNAP_REEXEC=019:06
mterryjdstrand: ah thx!19:08
mterryrunning snapd manually doesn't seem easy -- it seems to re-trigger its systemd job19:16
mupPR snapd#2934 closed: errtacker,overlord/snapstate: more info in errtracker reports <Created by pedronis> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/2934>19:35
lazyPowerhey stgraber - just wanted to follow up on http://pad.lv/1668659    Thanks for digging deep on this one. It sounds like the "sudo mount --make-rshared/" is a viable work around until the regression is patched? Is that a safe assumption to make?19:40
stgraberlazyPower: yeah19:42
mwhudsonhey20:20
mwhudsonwhat's the status on https://bugs.launchpad.net/snapcraft/+bug/1665165 ?20:20
mupBug #1665165: classic snaps fail to build in launchpad in archs other than amd64 <classic> <launchpad-buildd:Invalid> <Snapcraft:In Progress by sergiusens> <https://launchpad.net/bugs/1665165>20:20
mwhudsonbecause boy did i get confused about that yesterday20:23
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
mupPR snapd#2968 closed: overlord/snapstate: drop forced devmode <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2968>20:31
=== beisner- is now known as beisner
=== leftyfb_ is now known as leftyfb
=== iahmad_ is now known as iahmad
=== Pharaoh_Atem is now known as Conan_Kudo
=== Conan_Kudo is now known as Pharaoh_Atem
mupPR snapd#2956 closed: interfaces: allow 'getent' by default with some missing dbs to various interfaces <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2956>21:29
=== bdmurray_ is now known as bdmurray
bdmurrayis there something equivalent to cronjobs in snaps?21:56
kyrofabdmurray, personally I just use sleep in a normal simple service21:59
mupBug #1669151 opened: No way to discover one's own appID <Snappy:New> <https://launchpad.net/bugs/1669151>21:59
=== Elleo_ is now known as Elleo
bdmurraykyrofa: sleep for 24 hours? if its a cron.daily job22:11
kyrofabdmurray, yep: https://github.com/nextcloud/nextcloud-snap/blob/master/src/https/scripts/renew-certs#L2922:12
kyrofabdmurray, not saying it's ideal by any means, but it's the only way I know to do it today22:17
kyrofabdmurray, I expect at some point snapd will expose systemd's timers22:18
bdmurraykyrofa: thanks for the idea22:19
mupPR snapd#2949 closed:  cmd/libsnap: add sc_string_append_char_pair <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2949>22:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!