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

bsoDoes anybody know how to upgrade snapd on Ubuntu Core 16.04.1?05:28
bsoI just installed Ubuntu Core 16.04.1, and it installed snapd 2.16.05:29
bsoI think the latest version of snapd is 2.25, but I don't know how to upgrade snapd on the Ubuntu Core system.05:29
stubbso: The latest version of snapcraft is 2.25. Latest snapd is 2.2005:45
bso@stub, oops, yes you are right. the latest snapd is 2.20.05:46
nothalbso: No such command!05:46
bsoBut, is there any way I can update snapd version on Ubuntu Core?05:47
bsoOn Ubuntu desktop, I can do "sudo apt install snapd".05:47
bsosnapd itself is a part of core?05:47
bsoThe core version is already 16.04.105:48
stubbso: snapd 2.20 is in xenial-updates, so you might need to enable that05:48
stubI'm not sure about Core - I'm working with desktop stuff05:48
bso@stub, could you elaborate how to enable xenial-updates?05:50
nothalbso: No such command!05:50
stubIf you are running Ubuntu Desktop, top right icon and select 'system settings'.  Then 'Software and Updates'. Then the 'Updates' tab, which has a tick box for 'recommended updates'05:52
bsoI am on Ubuntu Core, not Ubuntu Desktop.05:52
stubYeah, I don't know Ubuntu Core sorry. Maybe editing /etc/apt/sources.list and following embedded comments, but I'm just guessing here.05:53
stubYou might need to wait for more of Europe to come online before you get an answer05:54
bso@stub, Yup, I will wait for others to help me with Ubunto Core. Thanks.05:54
nothalbso: No such command!05:54
nhainesbso: we don't prefix nicknames with signs like @ or anything else in IRC.  That's more of a Twitter thing.05:56
nhainesOf course, most bots don't use @ as a command prefix, either.  Usually ! or sometimes #.05:56
bsonhaines, thanks for your advice. I am used to the @prefix habit. Sorry about that.05:57
nhainesbso: no worries.  Not a problem at all except for the bit where it keeps setting off the bot.  ;)05:58
=== JanC_ is now known as JanC
zygagood morning07:49
longsleepmcphail: Afaik the Nextcloud snap contains a web server which has the configuration to transparently proxy requests to the spreedme snap.08:02
mcphailHi longsleep. Unfortunately, I don't think it does. The only way I can see to get this working is to edit and recompile the nextcloud snap08:19
mcphailI've got an idea for a patch to allow the admin to switch it on and off, though08:20
=== rumble is now known as grumble
=== faenil is now known as faenil_
stubI have a classic snap in the store that is published in stable and public, but not listed by 'snap find' and cannot be installed 'snap install --classic'. Name is 'wal-e', or wal-e.stub. What have I forgotten?09:24
Chipacastub: to update snapd?09:25
stubI've got 2.20, and the machine was restarted fresh this morning09:25
stubAnd I can install the snaps from a local .snap, just not from the store09:25
stubOh... juju-act is the same. Would the hypen be a problem?09:26
Chipacastub: installing classic from the store is a 2.21 feature09:26
stubok, that explains it then :)09:27
Chipaca:-)09:27
Chipacastub: it's in -proposed afaik (but don't quote me on that :-) )09:27
stubI need to wait for 2.21 in xenial (and hopefully trusty), since this is for charms09:28
* stub wonders if the snap-layer should be pulling in snapd from -proposed or a ppa09:28
__chip__mwhudson, o/10:31
__chip__mwhudson, is the go race detector expected to work in 1.7?10:32
aisraelIs it possible to install snappy on centos7?11:06
ogra_aisrael, https://github.com/snapcore/snapd/wiki/Distributions11:06
ogra_only fedora currently11:07
aisraelThanks, ogra_!11:07
blu2So, what happens if I installed too many snaps and have a small SDD? Any way to put snaps on another disk?11:23
__chip__blu2, are you on classic, or is this a core system?11:24
blu2this was just a thought I had on core11:26
blu2because I'm 100% certain this will be a question in the future11:26
ToeiReiHi guys.11:32
__chip__blu2, on core, there isn't currently a way of doing that11:45
__chip__ToeiRei, o/11:45
blu2__chip__: eventually?11:46
__chip__blu2, it isn't planned, but should be straightforward if the need arises11:46
__chip__there's nothing "special" about where snaps are stored11:46
ToeiReiis there a way to work with core in a headless way?11:47
ToeiReibecause I'm in a bit of a dilemma11:48
__chip__ToeiRei, depends what you mean by headless11:48
ToeiRei__chip__, headless in terms of "no keyboard, no mouse, no screen"11:49
ogra_ToeiRei, currently a console is a requirement for the initial setup of the installed image (network data, user account)11:49
__chip__ToeiRei, serial?11:49
ogra_can be serial though11:49
ToeiReiI'm on a raspi 3 here with a remote user... who's tech skills are as good as the ones of a lipstick.11:49
__chip__ToeiRei, I'm not sure where to begin to help you with that11:52
__chip__ToeiRei, how did you get yourself into such a predicament?11:52
ToeiReimy spouse spilled coffee...11:52
ToeiReiso he went off for a new raspi and a new card and I'm sitting a few miles away11:53
ToeiReinow I got ssh onto my trusty ol' laptop...11:55
ToeiReia card reader and some 'remote hands' with a *very* limited technical understanding11:55
ToeiRei__chip__, does that help?11:57
ogra_you either need a serial cable or a monitor/tv and keyboard ...11:57
__chip__ToeiRei, I'm not familiar enough with the pi to know: is it like the bbb where you plug it in and you have serial-over-usb, or do you need to jtag?11:57
ToeiReiwait a minute... you're about to tell me that I need to hook up a console to that thing for core?!?!?11:58
ogra___chip__, you need an ftdi cable11:58
__chip__aww :-(11:58
__chip__ToeiRei, only if you need to set up a user and the network11:58
ToeiReiI mean... raspbian says 'do an empty file named ssh on /boot'11:59
ogra_(like you do on the BBB in case you want to access the bootloader)11:59
__chip__which is probably a 'yes' unless you're creating your own image11:59
__chip__ToeiRei, well, the alternative is to ship a default user and then have botnets take down the world12:00
ToeiRei__chip__, I like the 'ssh file' way of raspbian. Something like a bootloader param would have done the trick12:00
ogra_... and none of the current reference images does that ...12:00
ToeiReiat least something12:00
ogra_ToeiRei, how would that help if the device is not configured for the network12:01
ogra_nor has any user account that could be used with ssh12:01
ogra_ssh is on by default on ubuntu-core12:01
ToeiReidhcp does the trick12:01
ogra_just doesnt help without IP12:01
ogra_(or user)12:01
ToeiReiogra_, I have a dhcpd running.12:03
ToeiReiin theory the sshd is running12:03
ToeiReiand I can read its key12:03
ogra_ToeiRei, well, that wont help you ... the image is set up in a way that you need to run a first boot setup wizard12:04
ToeiReithat's so braindamaged for embedded.12:05
ogra_you could create your own gadget snap and image to have a pre-created network config and user setup through cloud-init12:06
ToeiReinothing to be done remotely I suspect12:06
ogra_the existing developer images have the firstboot setup as a req. simply because they are developer images :)12:07
ogra_on an actual embedded image that runs i.e. some kiosk app or just some datas collection you would likely not even have a user at all and have your data logging or kiosk app included12:08
ogra_(and manage themselves via browser or whatnot)12:08
ToeiReiI know why I usually do not run any flavor of ubuntu in my environment. once more confirmed.12:08
ToeiReithanks12:08
ogra_regarding developer images we simply expect developers tp work with them12:09
ogra_*to12:09
ogra_which requires a login ...12:09
ToeiReiI don't even have spare monitors around due to laptops12:09
ogra_a TV will do ;)12:10
ToeiReicould you bring one over?12:10
ogra_heh12:10
ToeiReiI do not have any kind of an external monitor around12:11
ToeiReinot even a f* tv set12:11
ogra_well, then your only option is serial i fear ... which i'd expect an embedded developer to have around like i expect a carpenter to own a hammer12:11
ogra_(probably to high expectations)12:12
ToeiReiI just have no idea how to explain to my bf how to plug that in.12:12
ogra_http://elinux.org/RPi_Serial_Connection perhaps ?12:12
ToeiReiyou need a pi hat for a serial connection afaik12:12
ogra_no12:13
ogra_you plug your FTDI serial cable directly into the headers on the board12:13
ToeiReiusually I use raspi boards as remote cpus for networking tasks... so I usually do not need serial cables at all.12:13
om26erelopio: Hello! around ?12:54
=== JanC_ is now known as JanC
=== ben_r_ is now known as ben_r
=== JanC_ is now known as JanC
larrypricei have a snap (libertine.canonical) pending manual review in upload because it's using the 'desktop' property... can this be worked around, or alternatively can the upload be canceled so i can revert the 'desktop' change?14:04
nickawwHi there, I'm trying to snap a game and I'm using the make plugin and artifacts keyword to copy all the files to the stage, but apparently wildcards are not supported on artifacts. How can I copy all the files without declaring every file and directory one by one?14:13
ogra_look at the dump or copy plugins14:14
nickawwyeah, I tried that, but dump/copy plugin can't access other parts14:15
ogra_does your makefile have an install target ?14:15
ogra_iirc that should just be used automagically14:15
nickawwIt does. But it doesn't install as conventions and I need all the files from the project14:16
ogra_could you just add additional install lines ? like https://github.com/ogra1/nethack/blob/master/Makefile ?14:17
nickawwDo you mean add new install entries for every file in the project?14:20
ogra_no, for the whiole dirs14:21
ogra_see the "doc" line in the above makefile14:21
ogra_that puts the whole doc subdir into $DESTDIR14:22
kalikianaogra_: Is there a particular reason the makefile does the downloading? As opposed to letting snapcraft do it?14:29
nickawwWell, I tried what you said about install directories. This is supposed to work, bot I will need to edit the Makefile every time I pull14:31
elopioom26er: hello. I am around now.14:37
elopiopachulo: pong. Where you looking for me? I was on vacations last week.14:37
om26erelopio: Hey! can you tell which script is responsible for upload of snapweb to edge channel once a change is merged into master ?14:38
om26erelopio: we need to run some tests every time a snapweb snap is published in edge.14:39
elopioom26er: https://github.com/snapcore/snapweb/blob/master/.travis.yml#L5014:40
elopioom26er: but if you have tests that need the edge package, my recommendation would be to just run them daily.14:42
ogra_kalikiana, you mean the wget ?14:49
ogra_kalikiana, a) that makefile predates the ability in snapcraft to do downloads itself ... b) if i would use a source: stanza it would try to use the upstream makefile and i couldnt do the patching or run the setup.sh script14:50
ogra_kalikiana, in this case the makefile is rather a better shellscript though14:51
larrypricejdstrand, thanks for taking a look at my mp friday evening - my snap is currently stuck pending manual review (due to the desktop property)... can that be worked around? i'll happily get a new version uploaded using the old setup/gui/*.desktop if you just want to cancel my pending uploads14:57
jdstrandlarryprice: I can approve it. the upcoming snapcraft 2.26 will keep that out of the snap.yaml so eventually this won't be an issue15:01
jdstrandlarryprice: I don't see it though. what is the snap name?15:01
larrypricejdstrand, libertine (libertine.canonical)15:02
jdstrandah, ok. I've got it15:02
jdstrandlarryprice: done15:04
larrypricejdstrand, thanks! we're also hoping to auto-alias the libertine-launch alias... not sure what the process is there15:04
jdstrandlarryprice: can you paste your snapcraft.yaml?15:05
jdstrandlarryprice: I can do it15:05
larrypricejdstrand, https://paste.ubuntu.com/23852309/15:06
jdstrandlarryprice: updated the store:15:07
jdstrand[15:07
jdstrand  "libertine-launch",15:07
jdstrand  "libertine-container-manager",15:07
jdstrand  "libertine-manager-app"15:07
jdstrand]15:07
jdstrandlarryprice: note that r47 and r48 are approved but you need to release them15:08
larrypricejdstrand, ok cool - should i switch back to old-style desktop files in my uploads until 2.26 is released?15:09
pachulowelcome back elopio ! Yes, I wanted to talk with you about the help you offered me for writing tests for this: https://github.com/snapcore/snapcraft/pull/98015:10
elopiooh, that's you. Sorry for the late reply...15:10
elopiopachulo: a good way to start would be with some simple tests for the sources that don't support checksum15:11
jdstrandlarryprice: probably best if you don't want to ping a store reviewer, yes. aiui, serguisens was planning a 2.26 update sooner than later. he doesn't seem to be here atm15:11
jdstrandkyrofa: do you know if 2.26 is coming out soon? ^15:11
elopiooh, but I see you already added those, nice!15:11
rvrzyga: ping15:15
elopiopachulo: next, I would write a few tests for "invalid checksum format". But I need to catch up with a few things before helping you write that code.15:16
elopiopachulo: I think those tests can live in snapcraft/tests/sources/test_checksum.py, because it's the same function you will be calling for all the different sources.15:19
pachulook elopio , I write down your tips and will try to implement the simplest ones15:22
elopiopachulo: and there are a few possible options. You can write a test that calls directly the verify_checksum function, with an invalid source_checksum paramter. Or you could fabricate a sources object, like you do on the tests for sources that can't have checksum like you did last week.15:23
elopiopachulo: I think I would prefer the second option, because it tests the verify function in a bigger context. But the other one is not wrong, also good.15:24
elopiopachulo: take a look at snapcraft/tests/test_tar.py, for example. From there you can get an idea of how to make a tar source object. Add an invalid checksum in there that will throw and exception, and you already know how to expect that exception in a test.15:26
elopioping me in case of doubt.15:26
elopiooh, thanks a lot for working on this!15:26
rvrzyga: I'm trying to execute spread tests in Debian, and found some issues along the way. fgimenez tells me you have done it, is that correct?15:27
pachuloyou're welcome elopio ! Just giving some of my time after years of sucking from FOSS!!15:31
elopio:D15:36
=== chihchun is now known as chihchun_afk
rvrJust opened an install issue with classic and Debian here https://github.com/snapcore/classic-snap/issues/716:39
kyrofamcphail, yeah, `occ upgrade` always disables them. I have no idea why16:46
mcphailkyrofa: yeah - spotted the bug on the tracker.16:47
kyrofajdstrand, I know he was planning on releasing soon, but he's out sick today I'm afraid16:48
mcphailkyrofa: do you have plans for setting up apache config for spreed.me? I posted a bug about it16:48
kyrofamcphail, I wasn't really planning on it. I'd have to test to make sure it continued working every release16:53
kyrofaAnd your proposal, while better than just having a proxy in there all the time, sounds a bit fragile16:53
kyrofamcphail, I think I'd rather support it more like this: https://github.com/nextcloud/nextcloud-snap/issues/17216:55
mcphailYes, a more robust method would be better. Not sure when one is going to arrive, though16:57
zygajdstrand: hello16:58
kyrofamcphail, indeed, which is why such things are in a bit of a holding pattern for the time being16:59
zygajdstrand: when would be a good time to sit together and look at snap-alter-ns16:59
kyrofamcphail, the challenge is that snaps can currently update from any revision to any other revision. Which means any temporary solution we come up with will have to have a migration path, and we'll have to maintain it forever17:01
zygajdstrand: doesn't have to be today17:02
stokachuso i need a little help getting my systemd script to start17:08
stokachuhttp://paste.ubuntu.com/23852922/17:09
stokachuif i run the exec command directly then it all loads17:10
stokachuactually no it doesnt17:10
stokachuthis command fails /usr/bin/snap run conjure-up.bridge17:10
jdstrandzyga: not today, but a) is the kernel issue addressed and b) what do we need to look at together?17:10
stokachuthe ultimate goal is to just have the network interface and iptables rules persist through a reboot17:11
stokachuhere my snap files https://github.com/conjure-up/conjure-up-snap17:11
jdstrandzyga: (not today cause I have a bunch of PR reviews to do that come in over the weekend/today17:12
jdstrand)17:12
stokachuthe bridge file is pretty straight forward https://github.com/conjure-up/conjure-up-snap/blob/master/snapcraft/wrappers/bridge.start17:12
stokachuthough im not sure what snap run conjure-up.bridge file is being run? is that the command-bridge.wrapper?17:14
zygajdstrand: a) \o/ (great!) b) I think a hangout where I walk you through it and show what's missing would be more constructive17:17
zygajdstrand: I wrote lots of unit tests but I still have some blank spots17:17
zygajdstrand: and I need to write spread tests to actually see it work17:17
jdstrandzyga: re 'a', that was a question-- is it addressed?17:17
zygajdstrand: ahhh17:17
zygajdstrand: too bad :(17:17
jdstrandI mean, jjohansen may have found something, idk otoh, hence the question :)17:18
zygajdstrand: no, no change there (I need to sped more time to investigate as what I'm seeing made no sense)17:18
jdstrandI think we should understand what is happening with the kernel as that may block the implementation17:18
zygajdstrand: but I don't think it affects us in alter-ns as alter itself is not confined17:18
zygajdstrand: I agree it would be good to get to the bottom of this17:19
zygajdstrand: I was coding all day to get to the point where the bulk of the code is in place and not scary17:19
zygajdstrand: I'll spend tomorrow landing bits upstream and checking what may be going on in the kernel17:19
zyga(and I still have to write snapd changes)17:19
jdstrandzyga: I was comfortable with the spec. if you want to do a PR and have me review, then I can decide if a hangout is needed17:22
zygajdstrand: I made a tiny change compared to the spec (and left a todo entry to update the wiki so that it stands out)17:24
zygajdstrand: it's not an error if a file is empty17:24
zygajdstrand: (the fstab-like file)17:24
zygajdstrand: we just carry on as if it were empty17:24
zygajdstrand: otherwise the design checks out17:24
zygaer17:25
zygajdstrand: it's not an error fi the fstab-like file is *not present*, we just treat it as if it were *empty*17:25
zyga(that's better)17:25
Guest55973can anyone help with ubuntu snaoppoy17:26
Guest55973ubuntu snappy17:26
ogra_depends :)17:26
zygaGuest55973: I think it's better to just ask your question :)17:27
Guest55973what is the default pswrd for first boot ssh connection17:27
ogra_there is none17:27
ogra_it uses your ssh key that you uploaded for your ubuntu one account17:27
Guest55973it said wrong passwrd17:27
ogra_yes, because there is no password, it is locked down ... only key authentication is allowed by default17:28
Guest55973i am putting ubuntu sso account username as both log in and pasword17:28
ogra_well, that wont work17:29
ogra_you need to have the secret ssh key for the public one that you uploaded to the SSO account on your local machine17:29
ogra_then you will not even be asked for a password17:30
Guest55973where do i have to enter that public key , ssh client or host? ?17:32
Guest55973host isn't responding to any command17:32
ogra_you dont have to enter it ... it gets downloaded from login.ubuntu.com when you run through the firstboot wizard17:32
ogra_i.e. the thing you get on fist boot after the "please press enter" message ...17:33
ogra_after setting up the network there it asks for your SSO account ... then it downloads the key from the SSO server and puts it in place on the machine17:34
Guest55973didn't get it, so first i'll enter my host ip then log in as sso user and for pssword ... blank?17:34
ogra_whats the hardware you are working on ?17:35
Guest55973rasp 317:35
ogra_and what image did you use ? do you have the url you used for downloading it ?17:35
Guest55973ubuntu core pi 317:36
ogra_from where ?  :)17:36
* ogra_ wants to make sure you have the correct image before we move on17:36
Guest55973from the ubuntu.com17:36
ogra_http://releases.ubuntu.com/ubuntu-core/16/17:37
ogra_from there ?17:37
Guest55973yes that is correct17:37
ogra_ok17:37
ogra_so this image runs a first-boot wizard you need to complete first17:37
ogra_either via serial console or with a monitor and keyboard attached to the pi17:38
Guest55973i have successfully installed the to raspberry i had no problem until that login and password thing came up17:39
ogra_so you finished the wizard ?17:39
Guest55973yes17:39
ogra_it usually gives exact instructions for the ssh login17:39
ogra_there is no password and if everything worked you should also not be asked for one when you ssh in17:40
Guest55973as username@ipadress?17:41
ogra_well, whatever was written on your screen (it shoudl still be there if you attach a monitor)17:41
ogra_it prints the exact ssh command there17:41
Guest55973what about client ? i am using putty for remote access17:41
ogra_oh17:41
ogra_i'm not sure how you add your secret key in putty ...17:42
ogra_(the last time i used putty was 15y ago or so ... sorry )17:42
ogra_(i didnt mean to scare him away though :P )17:43
zygaogra_: it's actually very very very hard :)17:47
zygaogra_: because putty uses some odd format for the key17:47
zygaogra_: so you need to convert them on command line with some unholly openssl command17:47
zygaogra_: then once you have the key in both formats it's not that hard, just double-click on the key file (it has to have some extension specific to putty)17:48
zygaogra_: then you get putty agent in the windows tray17:48
zygaogra_: but I didn't do that for a long time either17:48
zygaogra_: in case someone asks we should have an answer on the wiki (I bet lots of windows devs will come)17:48
zygajamiebennett: ^^17:48
ogra_yeah, we need docs for this17:49
zygamhall119: ^^ where could we put this17:50
ogra_https://help.ubuntu.com/community/SSH/OpenSSH/ConnectingTo17:51
ogra_sadly that doesnt have any info about that key thing you mentioned17:52
larrypricequestion about the d-bus interface... is it possible to connect to a snapped dbus interface from non-snap world, like just using dbus-send from the command line?17:52
ogra_oh my17:53
ogra_http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter8.html17:53
ogra_thats like a whole book !17:54
ogra_bah, and it doesnt talk about windows at all17:55
zygalarryprice: yes17:57
zygalarryprice: well, in theory :)17:57
zygalarryprice: I didn't check if you can actually do that (if the rules allow unconfined processes to have access)17:57
zygalarryprice: can you please find out and edit the wiki page at https://github.com/snapcore/snapd/wiki/Interfaces17:58
larrypricezyga, in that case, it may be that my daemon isn't started automatically (a different issue)17:58
larrypricezyga, sure - i'll pioneer this17:58
ogra___chip__, are you incognito recently ?18:01
__chip__ogra_, i forgot to log off on the computer downstairs18:01
ogra_ah18:01
=== faenil_ is now known as faenil
zygalarryprice: thank you18:08
zygalarryprice: feel free to create a sub-page (look at the content interface)18:08
zygalarryprice: thank you!18:08
kyrofajdstrand, two questions: 1) do you see anything wrong with the logic in bug #1658774, and 2) would you update the review tools as a result, or does it not matter?18:49
jdstrandkyrofa: I have to step out right this second but will get back to you after I'm back18:50
kyrofajdstrand, no rush, thank you :)18:50
bsoHi, does anybody know how to update snapd versions on Ubuntu Core?18:54
bsoI installed Ubuntu Core 16.04.1 and it came with snapd 2.16, but I would like to update it to the latest version.18:55
zygabso: it should happen automatically18:59
zygabso: try "sudo snap refresh"18:59
bsozyga, it seems snapd is not a snap. I tried "sudo snap refresh", but it says everything is up to date.19:00
bso"snap list" does not list snapd as one of the snaps.19:00
zygabso: that's correct, snapd is in the core snap19:01
zygabso: hmm19:01
zygabso: are you running snapd on classic ubuntu?19:01
bsoMy core snap version is 16.04.119:01
zygabso: or on ubuntu core image19:01
bsoNo Ubuntu Core 16.04.119:01
zygabso: can you tell me the output of "snap version" please19:02
bso2.1619:02
zygabso: is that the whole output?19:03
zygabso: how id you get your image?19:03
bsoActually it has +<some additional string> after that. It is running an IoT device which is away from me at this moment.19:04
larrypricezyga, good news - it seems that i can easily access the dbus apps from the rest of an unconfined system19:05
larrypricezyga, however i'm having some trouble getting my simple daemon to auto-start on install... is there a good way to debug this?19:06
zygalarryprice: not sure, what are yo seeing?19:07
zyga*you19:07
zygabso: can you please pastebin the whole output19:07
zygabso: how did you obtain this image?19:07
zygaChipaca: ^^ (2.16 doesn't update, maybe side-loaded, maybe something else?)19:08
bsozyga, I got it from https://developer.ubuntu.com/core/get-started/intel-joule19:09
bsoThere is link to the image on that page.19:09
zygaI see19:09
zygajamiebennett: ^^19:09
zygabso: so the core should update on its own, having said that 2.16 feels old (we are at 2.21 now) and I wonder if there is anything that would cause this to fail19:10
zygabso: if you run "snap list" what does it say about the core snap?19:10
zygabso: (or at that age, ubuntu-core)19:10
bsocore is 16.04.119:11
larrypricezyga, oho - looks like all the logs are going to syslog, i can visibly see the issue now19:11
zygadoes it mention anything in the notes?19:11
bsoI tried snap refresh core, but it says it is already up to date.19:11
bsoI will have to get the Joule board to read that again, but it is away from me at this moment. sorry.19:12
zygabso: thank you for reporting this, would you mind opening a bug on launchpad.net/snappy please?19:13
bsoI would like to update it to 2.21, but it seems I can't find a way.19:13
bsozyga, sure I can do that soon. By the way, what is the usual way to update snapd on Ubuntu Core. Is it currently impossible?19:14
bso"sudo apt install snapd" does not work on Ubuntu Core.19:15
zygabso: on core snapd updates automatically without human intervention19:15
zygabso: as soon as you boot the system it will update itself19:16
zygabso: (and everything else)19:16
bsoI see. Then, something is broken since snapd is not updated automatically somehow.19:16
bsoI will file a bug.19:16
zygabso: thank you19:17
zygaogra_: ^ do we generate up-to-date images for joule?19:17
jamiebennettzyga: these images are coming from tuchuck it seems19:21
jamiebennettIdeally we need them on cdimage19:21
jamiebennettzyga: I think we need to talk to the people who are producing them for an update i.e. CE19:23
ogra_jamiebennett, i have fresh ones from JohnAgosta ready ... gimme a bit19:23
jamiebennettogra_: that is fine but we need a regular cadence for these not one-shots19:24
ogra_images that are built in a non standard way manually cant go on cdimage19:24
* zyga agrees with jamiebennett 19:24
ogra_they usually go to http://people.canonical.com/~platform/snappy/19:24
ogra_jamiebennett, well, they are one shots ... they have a lot of manual changes19:24
jamiebennettogra_: right but I would hate for them to go stale if we can help it19:25
ogra_and dont use the standard build systems19:25
zygaogra_: what changes?19:25
ogra_zyga, talk to the CE team19:25
jamiebennettogra_: can you kick off an internal mail to John and others to discuss Joule/Artik/NUC/... image production?19:25
ogra_for nuc we could merge them and they know we take their changes happily if they are includeable19:25
ogra_(i.e. for nuc you should noowadays take the generic amd64 images)19:26
ogra_jamiebennett, will do ... for now i'll release the jule image though :)19:26
jamiebennettok19:26
mhall119zyga: what "this" do you want to put somewhere?19:29
ogra_bso, http://people.canonical.com/~platform/snappy/tuchuck/uc16-beta4/19:30
ogra_there is a new joule image19:30
ogra_*jule19:30
bsoorga_, thanks for the link19:30
zygamhall119: instruction on how to connect to a core device from windows using putty19:32
zygamhall119: with putty agent, keys and what not19:32
zygamhall119: it's not trivial19:32
JohnAgostaogra_, thnaks19:33
ogra_np19:33
JohnAgostajamiebennett, we got behind in posting updates for Joule.  This is now a refresh...the image does require a new BIOS flash to v17419:35
ogra_to late19:36
ogra_(he just dropped off)19:36
JohnAgostaogra_, jamie is now offline but ^^ -- I am asking the marketing team to update the details on the website now19:36
JohnAgostaogra_, for the NUC, it now uses the standard x86 images as we moved all requirements directly into the standard image19:37
ogra_JohnAgosta, yep, i know (i added a good bunch of the missing stuff that was missing) ;)19:39
JohnAgosta:)19:39
stokachudo we know when snapd 2.21 will make it out of proposed?19:39
ogra_we should look if we can do the same for the other arches19:39
stokachuneed it for the --classic snap install19:39
ogra_i'll start a ML thread tomorrow morning and we can discuss19:39
zygastokachu: soon (tm), not sure though19:44
stokachuzyga, also if the snap is in the store as classic do i still need to pass --classic during snap install?19:44
stokachuright now i do sudo snap install conjure-up --classic --edge19:44
zygastokachu: yes19:44
stokachuok19:44
zygastokachu: you always need to pass --classic as this informs the user that all of confinement is off19:44
stokachugotcha, makes sense19:44
larrypricezyga, any experience launching snapped d-bus services as daemons? currently i just get complaints in syslog about no DISPLAY being set...19:53
mhall119zyga: is connecting to Ubuntu Core different from connecting to classic Ubuntu?19:53
mhall119or is it just pubkey auth rather that password auth that makes it difficult?19:55
zygalarryprice: DISPLAY not set does not smell like a dbus service20:19
zygalarryprice: are you using the session or system bus?20:20
zygalarryprice: currently snappy doesn't support session services20:20
larrypricezyga, right i was just reading up on that (we've been using session bus)20:20
zygamhall119: it is, because there's no password at all and you must use key auth20:20
zygamhall119: unless you know exactly how to do that in putty on windows it's not easy to do20:20
larrypricezyga, the current alternative is to use system bus? or force users to launch the service manually in the bg for now, and switch over the daemon when the session stuff is ready20:21
zygalarryprice: no, that's not an alternative, if you *must* be on the session bus the system bus is useless20:23
zygawhat are you trying to snap?20:23
* zyga should EOD20:23
zygait's late20:23
larrypricezyga, currently snapping libertine and its tools, i have full control of the source20:23
larrypricezyga, feel free to call it a day - thanks for all your help20:24
zygayeah, I should rest20:25
zyga(in case anyone is interested) snap-alter-ns -- the thing that lets you alter a namespace as snaps execute (e.g. you can connect a content interface element to a running app) is here: https://github.com/snapcore/snapd/compare/master...zyga:snap-alter-ns-part1?expand=120:25
zygathe commit message there lists remaining issues20:26
zygabut nothing major :)20:26
zygajdstrand, tyhicks: ^^20:26
zyga(I'll make that a PR when a prerequisite is merged)20:27
stokachuwhen can we ditch telling people to use 'sudo snap install..' rather than just 'snap install'?20:28
stokachuto not use*20:28
zygastokachu: you can sudo snap login20:29
zygastokachu: then you can snap install AFAIK20:29
stokachuzyga, ah ok20:29
azubietahello folks! I would like to implement an Snap Store! I was reading that it is a simple restful server, but which are the methods that i must implement in order to make it compatible with snapd?21:05
jdstrandzyga: ack, I'll add it to my list. there are quite a few other reviews that are queued before it so not today. likely tomorrow21:23
jdstrandkyrofa: I don't see anything wrong with your logic. there is no reason to include the symlinks since the libc libraries are already available to the snap21:37
kyrofajdstrand, excellent, thanks for taking a look! Want me to apply it to the review tools as well so you can remove that special case? Or should we keep that in place?21:38
=== zbenjamin_ is now known as zbenjamin
jdstrandkyrofa: I'll subscribe the bug and remove the special casing when it is released21:45
kyrofajdstrand, alright21:51
kyrofajdstrand, how do you keep track of all the bugs to which you're subscribed?22:09
kyrofaI can barely keep up with snapd and snapcraft-- you must have far more than that22:10
kyrofaI feel like I'm missing a trick22:10
jdstrandkyrofa: I have procmail rules that make directly subscribed bugs hit my inbox22:11
jdstrandand I know the feeling on that. I have a pretty big email queue to go through every day22:12
kyrofajdstrand, and ones you get because you're a member of some group?22:12
jdstrandbut them's the breaks on a busy project22:12
jdstrandkyrofa: depends on the group. all snappy bugs happen to also hit my inbox22:13
jdstrandthat's a lot of bugs :)22:13
kyrofaNo kidding22:13
jdstrandbut I can't really see any other way to catch stuff22:14
kyrofaIndeed. So really your response is "I put on my boots and wade through it" ? :P22:14
jdstrandI obviously don't read every bug, but if it has something to do with the sandbox, interfaces, policy, review tools, etc, I read them22:14
kyrofaFair enough. I just need to factor that into my day a bit more, then22:15
jdstrandeg, I don't read snapcraft bugs very closely, unless it has something to do with new yaml or something I'm personally interested in22:15
jdstrandie, I read all the subjects22:16
jdstrandthen decide22:16
jdstrandit's not terrible to wade through22:17
kyrofamwhudson, any chance you could take a look at https://askubuntu.com/questions/875429/network-configuration-timed-out-in-ubuntu-core-16 ?22:39
mcphailkyrofa: got the optional switch for apache working in the nexcloud snap, but have found spreedme's config too opaque to be useful! Think I might abandon this plan for now ;)23:01
kyrofamcphail, hahaha!23:01
kyrofaWell, thanks for taking a crack at it :)23:01
mcphail:)23:02

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