/srv/irclogs.ubuntu.com/2016/11/10/#snappy.txt

josharensonIf you have a snap installed from the stable channel, is there an easy way to get a newer channel without uninstalling/reinstalling?00:47
naccjosharenson: snap refresh foo --<channel>00:48
naccjosharenson: i think?00:48
naccjosharenson: i mean, that will change what is installed, of course, not sure how you expect to avoid that?00:49
josharensonnacc: its downloading... thanks00:49
naccjosharenson: unless you just meant the two steps :)00:49
josharensonnacc: yeah this is what I was looking for00:49
naccjosharenson: great!00:51
=== JanC_ is now known as JanC
sergiusensjdstrand are you using master?01:32
mupPR snapcraft#895 closed: Release changelog for 2.22 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/895>02:16
=== chihchun_afk is now known as chihchun
foxmaskbonjello08:00
dholbachhey hey08:11
didrocksgood morning dholbach!08:25
abeato$ sudo snap connect modem-manager:mmcli modem-manager:service08:41
abeatoerror: cannot perform the following tasks:08:41
abeato- Connect modem-manager:mmcli to modem-manager:service (connection denied by slot rule of interface "modem-manager")08:41
abeatomorphis_, zyga any idea on why this might be happening? ^^08:42
morphis_abeato: did you sideload a modem-manager snap?08:42
abeatomoyes08:42
abeatomorphis_, yes08:43
morphis_then I guess the base_declaration.go denies slot connection for unasserted snaps :-)08:43
morphis_which doesn't sound right to me08:43
abeatohmpf08:43
morphis_abeato: need to check with jdstrand what the rational behind this is08:44
abeatomorphis_, agreed, will try to reach him later08:44
morphis_thanks08:44
dholbachsalut didrocks08:46
tsdgeosis there a way to tell snapcraft "reload the .deb files that may be old since the last run"?08:48
tsdgeosor do i need to clean and run it again?08:49
didrockstsdgeos: you can clean a part if needed08:52
didrocksto not clea all parts of your builds08:53
tsdgeos that doesn't help much08:56
tsdgeossince all the debs are in the same part08:56
tsdgeosgiven the big amount of debs in the unity8 snap08:56
didrockstsdgeos: not other way AFAIK than redownloading all of them08:56
tsdgeoswould be good not having to refetch several MB of data just because 1 .deb changed08:57
didrocksplease open a bug for this08:57
tsdgeosotoh not sure if we can actaully know only 1 deb changed08:57
tsdgeosi guess we can (since apt-get update knows)08:57
didrockscould, from the checksum08:57
didrocksor if we don't want to compute them, opening the ar, there is a checksum inside08:57
didrockstsdgeos: please refer here the opened bug08:58
tsdgeossure08:58
tsdgeosdidrocks: https://bugs.launchpad.net/snapcraft/+bug/164072109:07
mupBug #1640721: Feature Request: Would be nice to have a way to refresh .deb files <Snapcraft:New> <https://launchpad.net/bugs/1640721>09:07
tsdgeosnot sure i worded it correctly09:07
didrockstsdgeos: just added a small precision, but yeah, looks good!09:17
ppisatiogra_: i suspect you have a white list of modules that end up in the pc-kernel snap10:16
=== LarreaMikel1 is now known as LarreaMikel
ppisatiogra_: e.g. initramfs-tools-ubuntu-core10:17
ppisatiogra_: that's where you select which kernel modules endup in the pc-kernel snap initrd10:17
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
didrocksMirv: I'm unsure to understand your PR11:02
didrocksMirv: I guess you didn't push the second commit with the override, correct?11:02
Mirvdidrocks: sorry, I was just thinking I might have explained it better. so the platform qt5 sets QTCOMPOSE, but if the "general" QTCOMPOSE is set after that block the platform qt5 setting is never taking effect11:02
didrocksoh, you already overrde it11:03
didrockslet me check :)11:03
Mirvyes, but currently the override is before it's generally set, so the override never works11:03
didrocksah indeed :)11:03
didrockswhat is QTCOMPOSE for btw?11:04
didrockslooking for locales? but the name doesn't help…11:04
didrocks(I guess it's for input keyboards…)11:04
didrocks(merged)11:04
Mirvyeah the location of compose.dir11:07
didrocksgood, thanks!11:09
ogra_ppisati, yup11:18
ogra_ppisati, that is what we use today, correct ... i need a way to have a modules file per arch though, i dont want all the VM drivers in arm kernels for example11:19
=== ant_ is now known as Guest44024
=== hikiko is now known as hikiko|ln
tsdgeoswhat was the command to get a shell inside the snap ?12:34
ogra_snap run --shell $yourcommand12:34
tsdgeostx12:36
=== hikiko|ln is now known as hikiko
Elleojdstrand: ping?13:02
renato__Mirv, hey, just tested the platform plugin from here: https://code.launchpad.net/~timo-jyrinki/+snap/ubuntu-app-platform/, but the app still not starting on unity813:04
renato__Mirv, if I add the "mir-graphics-drivers-desktop" it works. Probably some files still missing13:04
Mirvrenato__: or environment variable ;)13:06
Mirvrenato__: weird though, since you only added that same package that's being staged13:07
renato__Mirv, no, I am not using any wrapper13:07
renato__Mirv, could be some dir that you are not exporting?13:07
Mirvrenato__: yeah I just started looking at that actually, the same thing occurred to me13:07
renato__Mirv, nice, let me know if you fix it.13:08
popeyjdstrand: http://people.canonical.com/~alan/wine/32bitbuild/wine_1.6-git_amd64.snap - 32 bit build for you13:09
Mirvrenato__: not finding anything not exported in the new packages which were libmirplatform13 mir-client-platform-mesa5 mir-platform-graphics-mesa-x10 mir-platform-graphics-mesa-kms10 mir-graphics-drivers-desktop13:19
Mirvrenato__: so it might be something that was already installed by previous staged packages, but not exported, which was not needed until now... or something completely different13:19
davmor2pitti, mwhudson: In console conf, if you have ethernet and wifi you see options to configure the wifi but also on the main page there is what looks to be some global set ipv4/ipv6.  Are they actually global or are they only controlling ethernet?13:20
renato__Mirv, cLet me try to make a list of all files intalled with my package13:21
Mirvrenato__: I'll make list of files that are staged by the platform snap but not exported13:27
renato__Mirv, i will do a diff btw the version with ""mir-graphics-drivers-desktop"" and without it13:28
Mirvdoh, what's up with pastebin.ubuntu.com13:30
Mirvrenato__: ok here goes, I don't find anything suspicious "mir" http://pastebin.com/vfi0vPGf13:31
Mirvalso directly rm -rf :d usr/share/doc and usr/share/man from the list, in addition to move /lib, /lib64 and /usr/include to that canbeprobablysafelyignored13:32
Mirvrenato__: logically thinking if mir-graphics-driver-desktop was the only thing you have in staged-packages now, and I added it in platform snap, and it works with your included-in-app but not with included-in-platform, the missing file(s) should be in that pastebin.com output, am I thinking correctly?13:35
Mirvthere's surely bunch of /usr/bin that's not being exported, but nothing obvious13:35
renato__Mirv, I am getting the diff now13:36
renato__Mirv, page 2: https://docs.google.com/spreadsheets/d/1IKlbILX1S-k2w2Pba5-ZlBoYsBVcOIglmAEUjv8uOcY/edit#gid=14470090013:40
renato__Mirv, is "$plataform/usr/lib/x86_64-linux-gnu/mir/" part of LD_LIBRARY_PATH?13:43
renato__Mirv, and usr/lib/x86_64-linux-gnu/mir/client-platform13:43
Mirvrenato__: yeah, so missing env var indeed (you said "no, I am not using any wrapper" so I wasn't sure if you meant it can't be any env var), that's probably it. adding.13:49
renato__Mirv, did you confirm that? Is the missing var?13:49
Mirvrenato__: well it's not set, I'm not sure if it's something that helps13:49
jdstrandsergiusens: re master> no. I was using 2.21 with https://github.com/snapcore/snapcraft/pull/876/files13:50
mupPR snapcraft#876: repo: allow for architecture-specific stage-packages <Created by stgraber> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/876>13:50
jdstrandpopey: thanks!13:50
Mirvrenato__: you could try it in your local snapcraft-desktop-helpers first of course13:50
jdstrandElleo: hey13:50
renato__Mirv, ok let me try first I am not sure if it is necessary13:50
renato__Mirv, are you able to check if that is exported for QT5 or gtk launcher?13:51
Mirvrenato__: it's not, but I'm wondering if Mir could confused that it's not under the standard path /usr/lib/.../mir but /ubuntu-app-platform/usr/lib/.../mir13:52
Mirvrenato__: oh, actually now I found it!13:52
Mirvrenato__: export MIR_CLIENT_PLATFORM_PATH=$SNAP/usr/lib/$ARCH/mir/client-platform in desktop-exports, not launcher-specific13:52
Mirvso we need to override that common env13:53
renato__Mirv, let me try13:53
Mirvrenato__: http://pastebin.com/mZNLx7j8 - the diff13:53
jdstrandpopey: fyi:13:53
jdstrand$ /snap/bin/wine notepad.exe13:53
jdstrand/snap/wine/x1/wine: 15: /snap/wine/x1/wine: /snap/wine/x1/bin/wine64: not found13:53
Mirvrenato__: if you're on up-to-date snapcraft-desktop-helpers locally13:53
Elleojdstrand: heya, got a couple of questions about app armor rules for snaps; is there any equivalent of @{APP_PKGNAME}? At the moment I'm faking it with "snap.@{SNAP_NAME}.@{SNAP_NAME}", but I'm not sure if that covers all cases correctly? and what about @{APP_ID_DBUS}? I saw in the old click stuff it uses libnih-dbus to get a dbus friendly name, but I couldn't find anything similar in snapd?13:57
Elleojdstrand: I had wondered whether I should write a bit of go code in my interface to make a dbus friendly ID instead?13:58
Elleojdstrand: like some of the ###TEMPLATE### style replace stuff done in other interfaces13:58
popeyjdstrand: balls13:59
popeyjdstrand: ok, will rebuild and actually test it this time13:59
popeysorry13:59
jdstrandElleo: all of the variables are in interfaces/apparmor/template_vars.go14:01
jdstrandElleo: snap.@{SNAP_NAME}.@{SNAP_NAME} is only going to sometimes be correct14:02
renato__Mirv, did not solve the problem, let me try more Vars14:03
Elleojdstrand: okay, neither of those are in template_vars.go, so what would be the correct way of forming an equivelant of APP_PKGNAME and should I rewrite it to be dbus friendly in my interface or add something to snapd to make it available for all snaps?14:04
jdstrandElleo: but snippets has different ways of creating the label. eg, plugAppLabelExpr(plug) and slotAppLabelExpr(slot)14:04
jdstrandElleo: see for example udisks2.go and how it expands ###PLUG_SECURITY_TAGS###14:05
jdstrandpopey: np. I'm not blocked on it atm since I have a simpler reproducer, but would like to test with wine before claiming to have fixed it14:07
jdstrandpopey: and yes, I think I will be able to make this work14:07
Elleojdstrand: ah, okay, looks like I can use that for the replacement of APP_PKGNAME and then I guess just write some go code to do what libnih-dbus does to make it dbus friendly for APP_ID_DBUS then?14:08
popeyjdstrand: that's awesome news, thanks.14:08
jdstrandElleo: there is already go code for that14:08
Elleojdstrand: oh?14:08
jdstrandElleo: that is what plugAppLabelExpr and slotAppLabelExpr do14:08
jdstrandElleo: they expand out the plugged commands into what you need. just copy the udisks2.go methodology and you'll get what you need14:09
Elleojdstrand: okay, thanks :)14:10
jdstrandElleo: (notice that ###PLUG_SECURITY_TAGS### in udisks2ConnectedSlotAppArmor expands to dbus labels)14:10
jdstrandElleo: it works pretty neat because it will expand to snap.<snap>.* if using a toplevel plugs, snap.<snap>.<command> if only one command is connected or 'snap.<snap>.<command1>,snap.<snap>.<command2>,snap.<snap>.<commandN>' if multiple commands are connected14:12
jdstrandElleo: so all you need to worry about is peer=(label=###PLUG_SECURITY_TAGS###)14:13
Elleojdstrand: okay, separate but related questions; where should I be allowing download manager and the apps to write data? currently it's: @{HOME}/.local/share/ubuntu-download-manager/@{APP_PKGNAME}/ (which is where the non-dbus version of PKGNAME was being used), should we be shifting that somewhere else for snaps? and should it be on a per snap basis or a per command basis (I'd guess per snap so all commands within a snap can access downloads from other 14:14
jdstrandElleo: (note, you use ###PLUG_SECURITY_TAGS### on the slot side policy and ###SLOT_SECURITY_TAGS### on the plug side policy (they are opposite since you are specifying the peer)14:14
jdstrandElleo: per snap. a tenant of snappy is that all commands can access each other's data14:15
jdstrandElleo: @{HOME}/.local/share/ubuntu-download-manager/ is trickier cause there are a couple of things to keep in mind14:16
renato__Mirv, I can not find the problem :(. Do you know some Mir guy that could help us?14:18
jdstrandElleo: the @{HOME} apparmor variable (be default) expands to '/root/' and /home/*/'. the $HOME *environment* variable is set to $HOME/snap/$SNAP_NAME/$SNAP_REVISION14:18
renato__Mirv, at least get more info about the problem14:18
jdstrands/be default/by default/14:18
jdstrandElleo: and the template policy allows writes to @{HOME}snap/$SNAP_NAME/$SNAP_REVISION/**14:19
Mirvrenato__: I think they are all more in your time zone, maybe ask Kevin to give a person to give ideas.14:19
Mirvrenato__: I can't also find any further variables to set at this point that could have an effect14:19
jdstrandElleo: so from a snap's perspective, you don't have to do anything if udm puts stuff in $HOME/snap/$SNAP_NAME/$SNAP_REVISION/.local/share/ubuntu-download-manager/14:19
renato__Mirv, do you have a small app that they could easily test?14:20
jdstrandElleo: (note there is also $SNAP_USER_COMMON env variable, which is set to $HOME/snap/$SNAP_NAME/common14:21
jdstrand)14:21
Elleojdstrand: is there a way in which the UDM service can find out the SNAP_REVISION of what it's talking to? or can I have it write to $HOME/snap/$SNAP_NAME/$SNAP_REVISION/current/<blah>?14:21
Elleojdstrand: ah, thought there was a current symlink there, but seems thats only for snap packages in /snap/ not user directories14:22
jdstrandElleo: so you have a choice-- you can adjust udm to figure out where to put the downloads or you can store them where you do now and make your clients figure out where it is (which is tricky cause they don't know the user's home)14:22
renato__Mirv, this is printing on unity8 log while trying to run the app: http://paste.ubuntu.com/23456384/14:22
renato__Mirv, check if you see anything that could cause the problem14:22
jdstrandElleo: SNAP_USER_DATA doesn't have the current symlink14:23
jdstrandElleo: but this is data that really isn't revision specific, I suspect SNAP_USER_COMMON is a better fit (and easier to implement for you)14:23
Elleojdstrand: udm sends the path to the client as part of the finished signal, can that be used unmodified if the interface provides access to the current location? then the apps don't need to do any work to find it14:23
jdstrandElleo: yes, that is possible from a policy perspective. it is a bit weird with the way snap data dirs are setup though. to me SNAP_USER_COMMON seems the way to go unless there is a compelling reason not to (this will come up in the PR review as well)14:25
Elleojdstrand: for udm to work in a snap it'll need write access to all other snap's common areas though; with the current mechanism it just has access to $HOME/.local/share/ubuntu-download-manager/** and apps get .local/share/ubuntu-download-manager/snap.@{SNAP_NAME}/ or similar14:26
Elleojdstrand: which would seem to keep things much more isolated14:26
jdstrandElleo: click had a different way of doing things-- it had data sprinkled throughout the HOME dir by having data in xdg data dirs. snappy consolidates when application data is and sets HOME for the snap so it can put it wherever. ngoi14:27
Elleojdstrand: is there a way I can find out SNAP_USER_COMMON's value for a snap I'm communicating with over dbus?14:28
jdstrandElleo: udm is a trusted slot though-- its the connecting snaps that are untrusted. you can still limit it to: '@{HOME}/snap/*/common/.local/share/ubuntu-download-manager/** rwk,'14:28
jdstrand(or something-- point is, limited within the snap's dir)14:29
Elleojdstrand: okay, when udm decides where to write if I can't get the actual SNAP_USER_COMMON can I assume that @{HOME}/snap/@{SNAP_NAME}/common/... will be correct?14:30
jdstrandElleo: you can use libapparmor to figure out the connecting process' security label and then derive the $SNAP_NAME from that14:30
Elleojdstrand: okay, so SNAP_USER_COMMON will always be of that form then?14:30
jdstrandElleo: you can assume @{HOME}/snap/@{SNAP_NAME}/common/ is correct for series 16, yes. I doubt it will change for series 18, but it is conceivable14:31
jdstrandElleo: yes14:31
Elleojdstrand: okay, cool; thanks :)14:31
Elleojdstrand: will see about making those changes now, I expect I'll be back with more questions soon :P14:31
jdstrandok14:31
Mirvrenato__: please try / give them https://code.launchpad.net/~timo-jyrinki/+snap/uitk-gallery/+build/9673/+files/uitk-gallery_0.1_amd64.snap - anyway, I'm EOD now but just managed to create that snap14:39
Mirvnot tested under U8, starts under U714:40
renato__Mirv, yes my app starts on u7 too14:40
renato__Mirv, the problem is only on unit814:40
Mirvrenato__: yeah, I just mean that there's nothing fundamentally wrong with that snap (that I just created on LP for the first time), so it should be good for testing14:43
Mirvuses the platform snap14:43
mupPR snapcraft#896 opened: indicators: work with Content-Encoding set <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/896>14:44
=== JanC is now known as Guest87424
=== JanC_ is now known as JanC
renato__Mirv, did you push the changes on the launcher? With the MIR client evn var?14:59
=== chihchun is now known as chihchun_afk
mupPR snapcraft#897 opened: Don't organize in the install dir <Created by josepht> <https://github.com/snapcore/snapcraft/pull/897>15:20
mupPR snapcraft#856 closed: Call organize() after building <Created by josepht> <Closed by josepht> <https://github.com/snapcore/snapcraft/pull/856>15:23
kalikiana_jdstrand: Would you have another look at https://github.com/snapcore/snapd/pull/2225 ?15:35
mupPR snapd#2225: Implement lxd-client interface exposing the lxd snap <Created by kalikiana> <https://github.com/snapcore/snapd/pull/2225>15:35
=== zsombi_ is now known as zsombi
jdstrandkalikiana_: yes15:44
kalikiana_Thanks15:52
lewciiehi there! trying to register a snap and getting registration failed but no reason is given15:54
didrockshey lewciie! What's your specific error message output?15:55
lewciie'Registration failed.'15:55
didrockshum, nothing more with --debug?15:56
lewciielet me check15:56
didrocks(just if it gets you more info by any chance)15:56
didrocksalso, have you tried with a different name? (the one you are using may be taken?)15:57
didrockslewciie: just pastebin the output please15:57
lewciieI tried 3 different names, including my full name, lastname, and 'gangsta', none of them worked15:57
lewciiehttp://pastebin.ubuntu.com/23456703/15:57
didrocksyeah, no real clue there. "snapcraft login" worked, right?15:58
lewciieyes, log in was successful15:58
didrocksdo you mind running snapcraft logout and snapcraft login again?15:58
lewciiesure15:58
didrocks(maybe pastebin the result of login as well)15:59
sergiusenslewciie mind getting this branch https://github.com/snapcore/snapcraft/pull/866 run from source (./bin/snapcraft register) and while you are at it comment on the PR?15:59
mupPR snapcraft#866: Login with option to agree to terms of service and human friendly errors <Created by psivaa> <https://github.com/snapcore/snapcraft/pull/866>15:59
sergiusensdidrocks ^15:59
sergiusensit is most likely developer namespace or ToS signing missing16:00
sergiusensusing that branch should give you the correct hint16:00
didrocksah, graceful store message finally :)16:00
didrocksthat wil help, indeed16:00
didrockslewciie: mind trying what sergiusens did? (do oyu know how to run from a git branch?)16:01
lewciielet me check :)16:01
didrockssergiusens: we don't have snapcraft CLI for ToS signing or such, correct?16:01
sergiusensdidrocks nope, link to webpage is returned16:02
didrockssergiusens: it's a start at least :)16:02
sergiusensdidrocks ToS will always be a webpage though16:02
didrocksah, you can't grab it, have people type "I accept" or so?16:02
cjwatsonThere's an upcoming project to improve terms handling16:02
lewciiealright I need further support16:02
cjwatson(store-side)16:03
kgunnogra_: have you noticed on dragon board... it's like the terminal just goes for a walk sometimes....16:08
ogra_for a walk ?16:09
kgunnogra_: like keyboard input into my ssh console just doesn't respond for many seconds16:10
ogra_hmm, no, i dont have that16:12
ogra_checked dmesg for possible wlan errors ?16:12
kgunn nothing there16:14
kgunnjust regular init stuff for wlan16:14
lewciiesergiusens: not sure how to run that branch, can  get help? :D16:15
ogra_well, thats the only thing i could imagine16:15
kgunnogra_: are you on dragonboard much?16:16
kgunnjust curious16:16
kgunnwonder who's using it with ubuntu-core besides me16:16
ogra_not really, but i tend to log in a few times a day and have constantly a ssh windo with htop running on it16:16
ogra_but nothing where i would actually notice such delays16:16
lewciiehello? can anyone help? :D16:27
lewciieplease?16:28
lewciie:)16:28
ogra_!ask | lewciie16:28
ubottulewciie: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience16:28
ogra_:)16:28
lewciieahhaa16:28
lewciieI asked the questions long ago but thanks, I'm not familiarised with this, will follow the rules16:28
ogra_(all i see above is "i need further support" ... but no question after that)16:29
didrocksogra_: I guess there a ping on how to run that branch16:29
didrocksok, so lewciie, let's try16:29
lewciieyou're right, I was in private chat, I'm just impatient, apologies, dont want to spam anyone with this!16:29
didrocksyou need to git clone https://github.com/psivaa/snapcraft.git16:30
ogra_lewciie, better spam ... the channel is logged and google will find the discussion when someone looks for the same issue in a year ;)16:30
didrocksthen, cd snapcraft16:30
lewciieogra_: thank :)16:30
lewciiedidrocks: let me do it16:30
didrocksgit checkout bug/161919316:30
mupBug #1619193: Registering a snap without agreeing to terms and conditions fails opaquely <store> <Snapcraft:In Progress by psivaa> <Software Center Agent:Fix Released by fgallina> <https://launchpad.net/bugs/1619193>16:31
didrocksand replace your snapcraft command with bin/snapcraft (retry doing the registration without --debug)16:31
lewciiethanks didrocks!16:39
lewciieit worked :)16:41
didrockslewciie: did it?16:41
didrocksyou didn't get an error detail?16:41
lewciieno, not sure what happened... magic?16:41
didrocks(without loging out/in again?)16:41
lewciieI had done that bit already16:41
didrockshum… sergiusens doesn't sound great, could that be another bug fixed in master? ^16:41
abeatojdstrand, hey, thanks for the reviews, I've addressed all the issues16:55
abeatojdstrand, there is something that I need to solve though: connection of interfaces, like mmcli connected to modemanager daemon, shows an error16:56
abeatojdstrand, I changed basedeclaration to allow that, but probably the real solution is using snap-declaration. How can I do that?16:56
jdstrandabeato: let me look at what you changed in the base declaration16:57
abeatojdstrand, I had to remove "deny-connection: true"16:58
jdstrandabeato: yes, you need to revert that change to for it to be acceptable to commit16:58
jdstrandabeato: and then we would add a snap declaration16:58
abeatojdstrand, I suspected that, but how can I do that?16:58
abeatoI want to connect mmcli to modemmanager daemon, which are in the same snap16:59
jdstrandabeato: so, this is a rough edge for slot implementation interface developers since the base declaration may prevent install or connection for snaps that don't have a store signed snap declaration16:59
abeatojdstrand, we need to be able to do this locally for testing16:59
jdstrandabeato: (this includes installing snaps with --dangerous)17:00
jdstrandabeato: I understand. today you simply fudge the base declaration like you did, then in the PR you revert that17:00
abeatojdstrand, alright, will do that for the PR17:01
jdstrandabeato: I brought this up with Gustavo. how to make this easier for developers needs to be discussed. maybe it will remain as fudging the base declaration but to document that17:01
abeatojdstrand, that should not be the only way imho, this can get very painful17:02
jdstrandabeato: so, today, modem-manager already has a snap declaration17:02
jdstrandabeato: but it isn't used with a locally installed snap where you use --dangerous17:02
abeatojdstrand, as you would need a hacked snapd for whatever small change you have to do to a snap17:02
jdstrandabeato: again, I understand, that is why I brought it up with Gustavo17:02
abeatojdstrand, noted, and thanks, just want to make sure you all know this is not a minor issue for snappers :)17:03
jdstrandabeato: it probably makes sense to file a bug against snappy17:08
abeatojdstrand, ack17:08
jdstrandabeato: simply mentioning that the security of the base declaration requiring a snap declaration from the store is a pain point for local testing before you are ready to upload even to edge17:09
jdstrandroadmr: https://myapps.developer.ubuntu.com/dev/click-apps/4874/rev/12/ is your test snap?17:10
jdstrandroadmr: I ask cause choosing lxd-support as your plugs for the snap declaration test makes me twitchy (that is a super-powerful interface) ;)17:13
jdstrandpopey: you may want to subscribe to bug #1592022. I know what the fix is and am working on it17:15
mupBug #1592022: 32 bit applications on 64 bit system fail due to seccomp <snapd-interface> <Snappy:In Progress by jdstrand> <https://launchpad.net/bugs/1592022>17:15
roadmrjdstrand: yes, it is. I'm happy to use another one (but it has to be one that would not normally pass automated review). Any suggestions?17:17
popeyjdstrand: yay17:18
roadmrjdstrand: I'd prefer not deleting the package but I can if you feel it's safer. I updated the payloads to remove lxd-support, so at least the package will be uninstallable (as the just-updated snap-declaration doesn't allow it)17:19
jdstrandroadmr: well, it is the correct one for testing 'installation'. 'mir' slot implementation would be good for 'connection'17:19
jdstrandroadmr: no, it is fine. perhaps removing the snap declaration on prod after you are done would make sense (you could leave it in staging if snapd can point to staging)17:20
ogra_cjwatson, hmm, shouldnt it be possible to pull stuff via wget from github during an LP snap build ? https://launchpadlibrarian.net/292935958/buildlog_snap_ubuntu_xenial_armhf_kodi-pi_BUILDING.txt.gz17:20
roadmrjdstrand: it can, yes (SNAPPY_USE_STAGING_STORE=1)17:21
jdstrandnice! :)17:21
roadmrjdstrand: ok, I'll be extra careful when using lxd-support for testing17:21
abeatojdstrand, https://bugs.launchpad.net/snappy/+bug/164087417:21
mupBug #1640874: It is not possible to inter-connect locally installed snaps <Snappy:New> <https://launchpad.net/bugs/1640874>17:22
jdstrandroadmr: I mean, you're fine. it is just that there is a snap in the store that if modified could be bad. I just like to reduce those kind of things :)17:22
mupBug #1640874 opened: It is not possible to inter-connect locally installed snaps <Snappy:New> <https://launchpad.net/bugs/1640874>17:22
roadmrjdstrand: I made it private, so at least only I can get it17:24
cjwatsonogra_: Currently only during the pull phase.  This will change in a bit17:25
ogra_ah, k17:25
abeatojdstrand, besides this issue, which is your opinion on whether the policy for plugs in classic should include just unconfined or unconfined+label? I answered your comment on the ofono PR, whatever you prefer should be the same for both mm and ofono interfaces I guess17:25
cjwatsonogra_: Still good practice to fetch remote stuff in the pull phase though, I'd say17:25
jdstrandabeato: thanks! I updated the description for some clarifying remarks and marked confirmed17:25
jdstrandroadmr: ah, even better. thanks!17:25
abeatoawesome!17:25
ogra_cjwatson, yeah, but then i cant get it to build17:25
roadmrjdstrand: np, and do let me know if you think I should delete it alright. It's a test package so it'd be no big deal17:26
roadmrs/alright/altogether/17:26
cjwatsonogra_: https://code.launchpad.net/~cjwatson/launchpad-buildd/snap-proxy-allow-build/+merge/310050 anyway17:26
jdstrandabeato: it should be the same. I have a todo to look at that pr today and will comment there17:26
ogra_cjwatson, ah, perfect !17:27
abeatojdstrand, great, thanks17:27
jdstrandroadmr: if it is helpful to you, leaving it private seems fine17:27
roadmrit is, I use it to test c-r-t updates :) I'll leave it there for now.17:29
mwhudsondavmor2: i don't understand, can you take screenshots (or photos, or something) and point out what you mean?18:29
ogra_paintings !18:30
davmor2mwhudson: I filed a bug https://bugs.launchpad.net/bugs/164084318:33
mupBug #1640843: Networking fails if you touch the default route <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1640843>18:33
mwhudsondavmor2: are you testing stable?18:34
davmor2mwhudson: yeap18:34
mwhudsondavmor2: i think that's fixed in edge by hiding that bit of the ui18:34
mwhudsonyeah18:34
mwhudsonin fact pitti and i realized last night that that we didn't understand what that ui was trying to achieve at all...18:35
davmor2mwhudson: okay I'll have a look at edge after then, we are just writing the manual steps for everything currently18:35
mwhudsondavmor2: yeah, quite a bit has changed in edge, would definitely like your attention on that :)18:36
davmor2mwhudson: yeah it threw me as well as it look like it was only specific to eth0 as it don't remember seeing it on wlan0 on db so was getting more and more confused with it18:36
davmor2mwhudson: right I need to finish up the initial round of steps and then I can modify the cases as needs be.18:37
=== Azrael is now known as Guest56474
Guest56474Hello, I was wondering if anyone would be able to help me. Running 16.04 64 bit, all up to date. Installed ubuntu-sdk and am running it as root. When I try to create a project (specifically creating a kit), I get the following error: error: Registering root is not possible. Any ideas would be greatly appreciated!19:06
ogra_Guest56474, try the #ubuntu-app-devel channel instead ...19:07
Guest56474Gah, apologies. Thank you!19:07
* davmor2 shakes his fist at mwhudson this loops on hitting enter on the second page back to the start again :(19:45
davmor2mwhudson: you baypassed network config and user setup but hiding them all together ;)19:45
mwhudsondavmor2: eh?19:48
mwhudsonsounds like it might crashing, can you dig out the logs?19:48
davmor2mwhudson: give me a minute19:49
davmor2mwhudson: is it likely to be syslog or else where?19:54
davmor2mwhudson: never mind found the subiquity log19:55
dpb1hey, I was trying to use this gist to publish to edge from travis:  https://gist.github.com/evandandrea/c754964bfdfb176844f26f605ebbb8db19:57
dpb1it uses a docker image 'snapcore/snapcraft', and I got this error when running it:19:57
dpb1Status: Downloaded newer image for snapcore/snapcraft:latest19:57
dpb1Issues while validating snapcraft.yaml: Additional properties are not allowed ('grade' was unexpected)19:57
dpb1is it out of date?19:57
davmor2mwhudson: see pm, I'm about to knock off for the night so if there is anything else let me know in an email and I can get it to you tomorrow20:02
sergiusensdpb1 what does snapcraft --version give you?20:13
sergiusensdpb1 can you pull again?20:25
dpb1sergiusens: awesome, that fixed it20:37
dpb1tyvm20:38
=== ben_r_ is now known as ben_r
dpb1is there a way to search for snaps in the edge channel?21:28
mupBug #1592022 changed: 32 bit applications on 64 bit system fail due to seccomp <snapd-interface> <Snappy Launcher:In Progress by jdstrand> <https://launchpad.net/bugs/1592022>21:51
bschaeferhmm not sure why i keep getting this on yakkety? Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcc-6/gcc-6-base_6.2.0-5ubuntu11_amd64.deb 404  Not Found [IP: 91.189.91.23 80]22:49
bschaeferchecking... snapcraft is using the wrong version then the policy i have on the machine (not sure where its pulling the wrong path from)22:50
bschaeferis my policy: 6.2.0-5ubuntu12 50022:50

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