/srv/irclogs.ubuntu.com/2016/04/21/#snappy.txt

dougbI am needing guidance/help with enabling the built-in serial ports, other than ttyO0, on the BeagleBone Black, using Snappy.00:54
wililupySo I'm taking the latest build of snappy 16.04 for a spin, and I need to change some things in the /etc directory, particularly the motd since it says to still use the 'snappy' command even though it is snap now. Also, more importantly, I need to change /etc/default/grub.d/50-system-image.cfg so that the right tty is referenced and I get a console screen (Its supposed to be tty0 not tty1 for my device. Any ideas how to make01:01
wililupy these changes?01:01
sergiusenselopio hey, mind giving 2.8.4 a spin? Should be in the archives02:21
=== chihchun_afk is now known as chihchun
=== shuduo-afk is now known as shuduo
=== alecu_ is now known as alecu
=== joc__ is now known as joc_
=== cprov_ is now known as cprov
=== chihchun is now known as chihchun_afk
ogra_sigh ... no mvo ?08:45
davmor2ogra_: you mean you broke mvo too, man you're evil08:46
ogra_no, but the snappy builds are broken with the final kernels that landed tonight08:46
pedronisogra_: he is off today and tomorrow (not sure about Monday)08:48
ogra_damned08:48
dpmdholbach, davidcalle, popey, I started playing with moving snappy-playpen to github, and the list of apps last night. I created a repo for testing purposes on my personal account, which we can then move to ubuntu-core or any other suitable place08:52
dpmdholbach, davidcalle, popey -> https://github.com/dplanella/snappy-playpen - and also, check out 'sudo snap install notes-dpm', freshly added to the playpen and store ;)08:53
davidcalledpm: nice!08:55
=== chihchun_afk is now known as chihchun
sergiusensgood morning folks09:01
popeydpm: ooh09:02
sergiusensogra_ heh mvo likes to sleep in the morning :-P09:02
davidcalledpm: wow, custom plugin, desktop file and works flawlessly!09:02
sergiusensdpm github seems to be taking over ;-)09:03
dpmyeah, I'm now sold on plugins :)09:03
ogra_sergiusens, thats news to me :)09:04
sergiusensdpm makes things easy, you might be our guest speaker on the 26 ;-)09:04
dpm:)09:04
dpmsergiusens, now that I've got you here... on https://github.com/dplanella/snappy-playpen/blob/master/notes/snapcraft.yaml#L33 I had an issue whereby snapcraft's copy plugin wouldn't take a path relative to the YAML file location. Strangely enough, L32 works. Is this a bug in the plugin, or something I did wrong?09:10
dholbachdpm, cool09:11
sergiusensdpm let me see09:13
sergiusensdpm so the `notes` part has no install rule?09:14
sergiusensdpm maybe try and remove this line https://github.com/dplanella/snappy-playpen/blob/master/notes/parts/plugins/x-qmake.py#L34 and here call super().build() at the end of method instead09:23
sergiusensI don't see you calling `make install`09:23
sergiusensdpm if you still want to use the copy plugin like this; the "relative path" is relative to "source" but you didn't specify that key, so it is relative to "TOPDIR" so it would be `parts/notes/build/...`09:26
=== pjoe is now known as pjoe_afk
ppisati...09:30
ppisatiStarting new HTTPS connection (1): search.apps.ubuntu.com09:30
ppisati"GET /api/v1/search?q=package_name%3A%22ubuntu-core%22&fields=download_url%2Canon_download_url%2Cdownload_sha512 HTTP/1.1" 500 None09:30
ppisatisearch results {'oops-id': 'OOPS-084b4881d5044f92c480531034deb772'}09:30
dpmsergiusens, yeah, there isn't an install target in the Makefile, I just had to move the binary around09:30
ppisatii was able to build a kernel, and then it started to error out this way09:30
dpmsergiusens, and re: the copy plugin. That was exactly how I understood it, however specifying `parts/notes/build/...` did not work, that's why I had to add the '../../', but strangely on L32 it does work relative to TOPDIR09:33
* Gunther_ is courious how to add an interface Slot so hat his app snap is able to access a specific devise in /dev ...09:38
sergiusensGunther_ talk or write to zyga when becomes available09:44
sergiusensGunther_ he said he'd write a blog post sometime this week or Monday with the process09:45
Gunther_sergiusens: ok thanks - I am currently completely blocked because of the remove of old-security ....09:45
sergiusensdpm heh, as a hack it works then; ideally I'd propose a PR so they get an `install` rule :-)09:45
dpmsergiusens, yeah, I was actually thinking of doing that, but they've got very simple qmake cross-platform build, and I didn't want to get into learning about win32 and osx...09:47
sergiusensdpm since your custom plugin is not really specific to qmake (since you add the qt5 config file), it might be better to just do it in there.09:48
dpmack09:48
dpmsergiusens, so what do you think about adding the qt5 config file, is that the right place and way to do it?09:49
sergiusensdpm at the end of build, just do `os.makedirs(os.path.join(self.installdir, 'bin')); os.link(os.path.join(self.builddir, 'bin', 'Notes'), os.path.join(self.installdir, 'bin', 'Notes'))09:50
dpmok, will give it a go09:50
sergiusensdpm for qt5config I'd just create a part for it, with the config file in some source tree and put the part on the wiki (then everyone can consume from it)09:51
dpmsergiusens, yeah, the issue is that the file would then have hardcoded arch-specific paths09:52
sergiusensdpm right, forgot about that; a file and a Makefile then ;-)09:53
dpmsergiusens, but it seems a lot more self-contained to do it in the plugin code, doesn't it?09:54
sergiusensdpm yeah; the problem is; what if you want qmake but not this? what if you use cmake? what if, for unknown reasons you have a qmake project that uses GTK?09:55
sergiusensdpm those are the questions I ask myself which make me just doubt adding this as an official plugin. I would of done it already if I had these questions answered09:56
sergiusensI am still hoping to dream of a solution, wake up and implement :-)09:56
dpmsergiusens, how would I solve this with a Makefile, though? Could it not be solved with passing configflags to the plugin?09:56
=== pjoe_afk is now known as pjoe
asacGunther_: couldnt you go back to the previous build until the rework has settled in?10:25
sergiusensdpm for some reason I cannot login to wiki.ubuntu.com and add this part, so here you go https://github.com/sergiusens/qt5conf10:29
sergiusensdpm copy paste the "part" and change source to this github repo10:30
sergiusensdpm or tell me how to log into the wiki, or if you have access, please add my part :-)10:30
dpmsergiusens, what was your exact issue logging in? Timeout?10:31
sergiusensdpm after oauth it never comes back; I didn't wait long enough; but did wait at least 30s to 60s10:32
dpmsurprisingly, after the experiences in the last few days, I could login after a few seconds. In any case, where in the wiki does the part go?10:32
dpmsergiusens, ^10:34
dpmok, found https://wiki.ubuntu.com/Snappy/Parts but I've no idea what the syntax is nor how to use it10:38
dpmI'll give it a go adding it10:39
sergiusensdpm: easy; let me do it for you in a pastebin10:39
sergiusensdpm http://pastebin.ubuntu.com/15962652/10:41
sergiusensdpm then in your parts definition, for notes, just add `after: [qt5conf]`10:41
sergiusensdpm that's all you need; no need to define the part locally10:42
dpmsergiusens, is there a reason why you removed `build-packages: [dpkg-dev]` on the paste to the wiki?10:43
sergiusensdpm err, my mistake :-)10:43
dpmsergiusens, ok, https://wiki.ubuntu.com/Snappy/Parts10:44
sergiusensdpm I am thinking of a feature to come in snapcraft where we can point to origins and it will consume the snapcraft.yaml from there10:44
sergiusensdpm I wish there was something more lightweight than dpkg-dev to get the arch triplet (we got rid of the dep in snapcraft and rolled our own, I might make a shell callable for that or export the envvars'10:45
Gunther_snap interfaces lists interesting things for me : network-control and network-observe. For example I would like to restart or reconfigure a running daemon (in snap) if a network interface has changed. Are there examples how to use those slots?10:51
dpmsergiusens, I just tried the wiki part, but it seems to fail here: http://pastebin.ubuntu.com/1596285911:04
sergiusensdpm did you remove your qt5 config logic from the qmake plug?11:06
sergiusensI need to run for a bit, will bbiab11:06
dpmsergiusens, I did11:06
dpmok, np11:06
ogra_ppisati, !!!11:50
ogra_Setting up linux-firmware-raspi2 (1.20151118+b70b451-0ubuntu1) ...11:51
ogra_cp: cannot create regular file '/boot/firmware/bootcode.bin': No such file or directory11:51
ogra_dpkg: error processing package linux-firmware-raspi2 (--configure):11:51
ogra_ subprocess installed post-installation script returned error exit status 111:51
ogra_Setting up linux-image-raspi2 (4.4.0.1009.9) ...11:51
ogra_Errors were encountered while processing:11:51
ogra_ linux-firmware-raspi211:51
ogra_what is that ?11:51
ogra_(breaks the image builds)11:51
svijhm, I snapcrafted a package, installed it, removed it. But "snap list" still list it? Do I have to do something else next to "snap remove <snap>"?12:52
svijoh now it's gone12:52
svijweird.12:52
jcastrosvij: I noticed that yesterday too, there's a bit of a delay from when it gets removed and when it stops being listed on that list12:58
svijjcastro: ah okay12:58
svijand the docs on https://developer.ubuntu.com/en/desktop/get-started/ are (already?) wrong.12:58
svijhad to install ubuntu-calculator-app without ".ubuntucoredev"12:58
svijalso, running ubuntu-calculator-app.calculator only returns a "command not found"?12:59
davidcallesvij: hmmm12:59
dpmjcastro, on the "a new app a day" spirit, I uploaded a new app for you, check out notes-dpm ;)12:59
davidcalleYouare right about ubuntucoredev12:59
jcastrodpm: already installing it. :D12:59
dpm:)13:00
jcastroslow dl though, I hope the snappy store is on the same infra as the rest of our stuff13:00
popeyhttp://popey.mooo.com/mirror/clicks/graph_snaps.png it's making a difference to the graph already :)13:00
dpmsvij, davidcalle, I'll update the get-started page, thanks for the heads up13:00
popeyjcastro: there's issues, they're firefighting atm13:00
svijdpm: thx!13:00
jcastropopey: ack13:00
* svij still doesn't know how to start the calculator…13:00
jcastroit should just show up in your dash13:01
svijI'm using kde13:01
svijwill that also show up there?13:01
jcastroI believe so13:01
jcastroXDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop13:01
davidcallesvij: should be13:01
svijecho $XDG_DATA_DIRS13:02
jcastroI think all DEs use that variable. Though, I was logged in so long I never picked up that change when they changed it a few days ago, I had to log out and back in13:02
svij/usr/share//usr/share/xsessions/plasma:/usr/local/share/:/usr/share/13:02
jcastrotry logging out and back in13:02
svijah13:02
dpmsvij, davidcalle, updated https://developer.ubuntu.com/en/desktop/get-started/?edit_off#setting-it-all-up13:03
popeyhttps://blog.mozilla.org/futurereleases/2016/04/21/firefox-default-browser-for-linux-users-ubuntu-new-snap-format-coming-soon/13:05
popeyhello!13:05
davidcalledpm: another thing to note down somewhere (that I'm very happy about): if a command matches the snap name, you don't need to $ <snap>.<command> to run it, just $ <snap>13:05
kyrofaGood morning13:05
davidcalleMorning kyrofa13:06
jcastropopey: wow so Mozilla itself will publish right into the store?13:06
davidcallepopey: fireworks!13:06
=== chihchun is now known as chihchun_afk
popeyi guess so13:07
dpmdavidcalle, ah, nice. I should probably change ubuntu-calculator-app.calculator to ubuntu-calculator-app.ubuntu-calculator-app then13:08
dz0ny_svij: fresh xenial works as described on https://developer.ubuntu.com/en/desktop/get-started/13:08
jcastrodpm: I get QXcbConnection: Could not connect to display :013:08
jcastroAborted ore dumped)13:08
jcastrowith the notes app13:08
dpmargh13:08
davidcallejcastro: it was all a trap jcastro, now you help debugging :)13:09
jcastroheh13:09
dpmjcastro, I've seen that happening for some apps, but it tended to go away as snapd changes were landing13:09
dpmso I've never figured out what caused it13:09
dpmdavidcalle, does the notes app work for you?13:09
davidcalledpm: yep13:10
dpmphew13:10
svij/var/lib/snapd/desktop is now in XDG_DATA_DIRS but I still get a "command not found" on ubuntu-calculator-app.calculator13:10
svijdz0ny_: I've just updated vom 15.1013:12
svijhm, ok, starting calculator from the kde-menu works. Now I still don't know what misses to start my own snap, which I just snapcrafted… (cli tool)13:14
jcastrosvij: cool, good to know the GUI bits work at least13:15
dz0ny_http://i.imgur.com/gWBFB13.png13:16
dpmsvij, strange that the menu works but not the CLI... For your own snap, can you put it on a branch somewhere for other people to look at it and perhaps help you?13:16
dz0ny_works without problems on ubuntu gnome flavor13:16
dpmdz0ny_, \o/13:16
dz0ny_and in fish shell :D13:16
svijdpm: I think the snap is fine, I cant run the calculator from the command line either13:16
dz0ny_svij: maybe broken bashrc?13:17
dpmsvij, perhaps something to do with how your terminal client handles PATH?13:17
dz0ny_works from bash too13:17
kalikianasvij: You'll want to make sure your PATH contains /snap/bin13:18
svijkalikiana: aha! It doesn't13:18
svijso the question is: Why?13:18
kalikianaIf you have a custom shell config like me it's obvious :-)13:19
svijwell, I was using zsh, same for bash.13:19
ogra_svij, /etc/profile.d/apps-bin-path.sh sets it13:19
ogra_from the snapd package13:19
svijah okay13:20
svijit works now13:20
svijthanks kalikiana13:20
kalikianasvij: I override PATH completely to be in charge of the order of evyerthing I put in there. So regardless of the shell it won't pick anything up from the system.13:20
ogra_how evil13:20
ogra_:)13:20
kalikiana:-D13:20
ogra_you dont trust your packagers, eh ?13:21
=== chihchun_afk is now known as chihchun
svijogra_: he's that evil, he doesn't even trust shoes! :)13:21
dpmkalikiana, now that I've got you here.... how do we solve the LocalStorage AppArmor denial in http://i.imgur.com/gWBFB13.png ?13:21
ogra_svij, thats fine ... keeps you grounded :)13:21
svijogra_: hehe13:22
kalikianaogra_: Not sure though why I started doing this originally. It's been a long time that anything changed PATH in a meaningful way. I might try what breaks (or not) if I only extend it.13:23
kalikianadpm: Lemme check that here. Now that I've got the snaps working13:24
dpmkalikiana, awesome, thanks. That's the last bit we need to get the calculator and clock apps fully working. Right now they cannot write to their databases, so they're more for showcasing purposes than everyday use. If we can fix that, it will open the door for the rest of the core apps to be snappyfied and available on the desktop13:25
dz0ny_webdm seems broken thou13:25
dz0ny_curl http://localhost:4200/api/v2/packages/                                                                        čet 21 apr 2016 15:24:54 CEST13:25
dz0ny_"Error: cannot list snaps: not found"13:25
dz0ny_aka snappyd13:26
dpmkalikiana, also note I tried this: http://bazaar.launchpad.net/~dpm/ubuntu-calculator-app/snap-all-things/view/head:/calculator.wrapper#L42 on the wrapper that's called to set the env variables before starting the calculator, but it didn't seem to work13:26
kalikianadpm: What's snappy-qt5?13:30
dpmkalikiana, it's a config file that needs to be shipped for qt-selector to work and use qt5. Otherwise Qt apps don't start13:30
dpmkalikiana, `cat /snap/ubuntu-calculator-app/current/etc/xdg/qtchooser/snappy-qt5.conf`- I don't know much about it other than you need it. Mirv is the expert on qt selector13:32
kalikianadpm: Are you mixing up XDG_DATA_DIRS with XDG_DATA_HOME by any chance? LocalStorage uses _DATA_HOME and that matches the error message, which tries to use $SNAP which is not writable13:34
kalikianaAh so the snappy-qt5 just makes it look inside the snap, so it's not yet another platform plugin13:36
Gunther_Anyone seeing something like that? /snap/bin/trionet.trionet-srv  /dev/pts/ptmx does not exist. errmsg: No such file or directory13:37
sborovkovHello, is there some documentation on how to set read/write access with new security permissions? (I had it set that with security-override before, but that seems to not work anymore).13:37
Gunther_the same snap is working flawlessly in xenial. The error is happening in "allsnaps"13:37
dpmkalikiana, I had tried setting _DATA_HOME, but that seems to then break fontconfig (apps show up with no fonts). See http://bazaar.launchpad.net/~dpm/ubuntu-calculator-app/snap-all-things/view/head:/calculator.wrapper#L4613:41
sergiusensdpm works here, albeit I am trying directly http://pastebin.ubuntu.com/15965473/13:44
sergiusensI'll give your project a go13:44
kalikianadpm: Hrm. I don't know much about fontconfig. What about XDG_CACHE_HOME?13:47
kalikianaThat should be honored by fontconfig according to a quick duck13:48
jcastrodpm: notes worked on my other laptop though, weird.13:49
dougbHow do you enable the available UARTs / serial ports on the BeagleBone Black with Snappy?13:57
=== pat_ is now known as pmcgowan
Gunther_The latest changes in snapcraft/sources.py make git not to use --depth 1 :(14:08
Gunther_at least when i try to make a clean kernel build14:08
qenghoCan I branch the Store automated tests and suggest others?14:22
dpmsergiusens, it worked in the end. It turned out I had to do a full `snapcraft clean` instead of just `snapcraft clean -- step build`. I've updated the code, what do you think now of the YAML file and plugin code? https://github.com/dplanella/snappy-playpen/tree/master/notes - I keep thinking there must be a better way of doing the notes.wrapper thing rather than having a huge wrapper file.14:27
dpmkalikiana, I don't know anything about fontconfig, either unfortunately14:27
beunoqengho, you can, yes: lp:click-reviewers-tools14:28
beunoqengho, what do you have in mind?14:28
dpmjcastro, hm, strange, not sure what could cause it not to start in your other machine :/14:28
dpmbeuno, for apps that we don't own, do you think the convention of using $APPNAME-$MYNAME to avoid naming conflicts is a sensible one to recommend? E.g. `notes-dpm`14:30
beunodpm, sure14:30
dpmok, thanks14:31
jdstrandbeuno: can someone sync the review tools to the store? (added slots tests)14:33
jdstrandasac, dholbach: fyi, uploaded review tools 0.42 to have 'snap-review' symlink14:33
beunojdstrand, probably!14:33
beunocc/ roadmr14:33
jdstrandroadmr: it isn't an emergency. it could be next week if needed14:34
sergiusensdpm in your plugin all that can go in `env` ideally we can patch qmlscene to have an argument to rebase dirs for a snap14:34
beunodeployments are a bit thin today, given the release14:34
* jdstrand nods14:34
sergiusensdpm you don't need this `export LD_LIBRARY_PATH=$SNAP/usr/lib/$ARCH:$LD_LIBRARY_PATH`14:34
dholbachjdstrand, nice one!14:34
dpmsergiusens, I tried to put it in env as the qmlplugin did, but that seemed to break the build for some reason (qmake could not be found)14:35
sergiusensdpm beuno is `.` allowed again?14:35
jdstrandsergiusens: do you know what SNAP_LIBRARY_PATH is about? eg: 'SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:'14:35
beunosergiusens, in a package name?  no14:35
sergiusensdpm yes, of course :-)14:35
jdstrandsergiusens: I'm a bit concerned about the trailing colon14:35
sergiusensjdstrand it was what was mentioned on some list; the extra colon was something niemeyer suggested14:36
jdstrandniemeyer: hi! I'm concerned about the trailing colon with 'SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:'. Is there a reason why I shouldn't be concerned?14:36
jdstrandsergiusens: thanks14:36
sergiusensdpm another suggestion is, let me add something14:37
niemeyerjdstrand: Yeah, this is a path list, supposed to be used as such14:38
roadmrbeuno, jdstrand ; will do14:38
niemeyerjdstrand: The fact it has a single item there is coincidental14:38
jdstrandniemeyer: where and how is it used? a trailing colon often evaluates to the current direct which can be an attack vector14:38
niemeyerjdstrand: The column is there precisely so people don't misunderstand it, and thus don't have broken code in a short while14:38
jdstranddirectory*14:38
asacjdstrand: pretty awesome!14:39
asacthanks14:39
jdstrandnp14:39
asacjdstrand: will that be SRU i guess?14:39
asacor in main pocket?14:39
jdstrandI'll get it into 16.04 somehow, yes14:39
niemeyerjdstrand: LD_LIBRARY_PATH14:39
jdstrandright14:39
jdstrandthat is the problematic one14:40
jdstranda trailing colon in LD_LIBRARY_PATH means add your cwd to LD_LIBRARY_PATH14:40
roadmrjdstrand: you want c-r-t r634, right?14:40
niemeyerjdstrand: That's nuts :/14:40
dpmsergiusens, sure, feel free to do a pull request directly14:41
qenghoAny empty string means ".". A trailing, or internal, leading empty path.14:41
niemeyerWe'll fix that for the SRU, and include a second path there14:42
jdstrandI can file a bug14:42
niemeyerjdstrand: Thanks!14:42
qenghojdstrand: Would you be happy with  something:/dev/null  ?14:42
jdstrandroadmr: let's make it r635 since that is what I just uploaded14:42
roadmrjdstrand: ok :)14:42
jdstrandqengho: I'd prefer simply not ending with a colon14:44
jdstrandroadmr: thanks!14:52
jdstrandniemeyer: fyi, bug #157308214:52
ubottubug 1573082 in snapd (Ubuntu) "SNAP_LIBRARY_PATH set to path with trailing ':'" [Undecided,New] https://launchpad.net/bugs/157308214:52
jdstrandniemeyer: note, because apparmor protects us, this is more of a best practice thing and therefore not an emergency14:52
niemeyerjdstrand: Thanks, glad to fix nevertheless, and to learn about the wart14:53
qenghobeuno: I was looking for a place to complain about invalid or deprecated variables in snapcraft "command:" yaml, but that's deep in wrapper shell scripts by the time it gets to the store, and snapcraft doesn't have sanity checks yet.14:53
sergiusensdpm https://github.com/dplanella/snappy-playpen/pull/115:01
ogra_beuno, (or jdstrand ), mind approving  https://myapps.developer.ubuntu.com/dev/click-apps/4284/rev/12/ and https://myapps.developer.ubuntu.com/dev/click-apps/4739/rev/6/ ?15:02
ogra_these are the final 16.04 kernels15:02
* ogra_ cant belive it took two days to get them into the store15:02
jdstrandbeuno: I'll take a look15:03
jdstrandogra_: huh. I'm fine to approve but do we expect symlinks outside of the snap with kernels?15:04
ogra_(note, the dangling symlink is fine on the dragonboard ... it is needed(15:04
jdstrandogra_: can you request a manual review for https://myapps.developer.ubuntu.com/dev/click-apps/4739/rev/6/?15:04
ogra_jdstrand, it is the only way to have a persistent MAC with the android driver that kernel uses15:04
jdstrandinteresting. ok, I'll update the review tools15:05
ogra_requested15:05
ogra_the driver requires the macaddr0 file under /lib/firmware/wlan ... sice we dont have that writable this is a link to /run/macaddr0 ... which gets populated on boot from the initrd15:06
jdstrandogra_: it looks like xenial-preinstalled-core-amd64.kernel.snap has lib/modules/4.4.0-21-generic/build15:07
ogra_(generating a MAC based on the board serial number)15:07
jdstrandogra_: that will dangle, no?15:07
ogra_yeah15:07
ogra_thats from the deb ... it would link to the headers if we installed them15:07
jdstrandogra_: I'm inclined to adjust the test to continue to error if lib/modules/ but otherwise not. I could also only error if not lib/firmware15:08
jdstrandogra_: do you have an opinion?15:08
ogra_hmm, is there any security risk ?15:09
jdstrandno, not unless you already had control of the device, but it is untidy15:09
ogra_i'd just let them dangle15:10
ogra_we do that on desktop installs too :)15:10
ogra_(until you install the headers)15:10
jdstrandwhy not create the symlink when you install the headers? (rhetorical)15:10
jdstrandok, I'll just allow the symlinks15:10
ogra_dunno, i didnt package the deb :)15:11
ogra_i can wipe the build one during snap creation in livecd-rootfs ...15:11
ogra_but thats an extra hack to maintain15:11
MichaelTunnellI thought Snappy didn't need root to install packages. It appears as though it does?15:13
jdstrandI'll just allow it for now. if someone asks you to remove the build symlink, then ping me and I'll adjust the tools15:13
ogra_ok15:13
dpmsergiusens, thanks! otp now, but will merge once we're done15:16
jdstrandogra_: fyi, both snaps approved15:19
* ogra_ hugs jdstrand 15:20
ogra_phew ... that was a heavy one15:20
jdstrandroadmr: if you haven't already started the pull, can you use r636 instead for the kernel symlink fix discussed above?15:20
* jdstrand hugs ogra_ 15:20
roadmrjdstrand: sure15:20
jdstrandogra_: happy release day :)15:20
jdstrandroadmr: thanks! :)15:21
roadmrjdstrand: (you're just in time btw, I was just about to push my changes ;)15:21
jdstrandheh15:21
jdstrandniemeyer: happy release day to you too :)15:29
jdstrandI imagine you're feeling like this day would never arrive :)15:29
niemeyer_jdstrand: Yeah, time did compress a little bit in the last couple of months :)15:30
niemeyer_jdstrand: Thanks!15:30
niemeyer_It's been a fun ride15:30
* ogra_ must admit he had better release days 15:30
ogra_(finding in the morning that our images explode after archive changes wasnt really fun )15:31
jdstrandyikes15:32
roadmr /o\ ugh!15:32
ogra_well, all sorted now ...15:32
ogra_but unexopected after i spent weeks with mvo getting everything sorted in advance15:33
jdstrandbest laid plans...15:33
ogra_yep :)15:33
dpmsergiusens, thanks! Where does qt5-launch come from? I saw you replaced the notes.wrapper, but I don't quite understand with what15:36
davidcalledpm: qt5-launch and qt5conf -> https://wiki.ubuntu.com/Snappy/Parts15:54
=== ahayzen_ is now known as ahayzen
dpmdavidcalle, aha, thanks! it was a bit hidden16:00
davidcalleThere should be a snapcraft list parts command16:02
davidcalleThere should be an IRC bot to turn IRC feature requests into bug reports16:05
sergiusensdpm it is in my branch16:20
sergiusensdpm made sense since qt5-config sets stuff up relevant to the wrapper itself16:20
sergiusensdavidcalle we have a plan of something like apt for parts16:21
dpmsergiusens, I'll give it all a go in a few minutes, thanks!16:21
davidcallesergiusens: nice :)16:21
wililupyIs ubuntu-device-flash broken? I keep getting the error expected gadget snaps: snap not found for --gadget=canonical-pc.16:28
ali1234did the snappy tour get updated for 16.04?16:29
ali1234also, any news on pi 3 support?16:30
ogra_wililupy, get the latest u-d-f from http://people.canonical.com/~mvo/all-snaps/ and use "16" instead of "rolling"16:30
ogra_(the series got renamed)16:31
wililupyThanks ogra_16:31
qengho(I'm not sure that^ image is good. I get weird errors. I assumed a recent bug.)16:34
qengho(ubuntu-core-launcher[1885]: seccomp_load failed with -22  //  ubuntu-core-launcher[1885]: aborting. errmsg: Invalid argument)16:35
ogra_qengho, what arch16:35
qenghorpi16:35
ogra_update your kernel snap16:35
ogra_the final kernel only landed 1h ago16:36
roadmrhey folks, trying to build an image i get "expected 3 partitions but found 0" - here's the command and full output http://paste.ubuntu.com/15968587/ any ideas?16:39
ogra_roadmr, using the latest u-d-f from http://people.canonical.com/~mvo/all-snaps/ ?16:39
roadmrogra_: should be, I used zyga's script to download. Am double-checking now16:40
ogra_"gadget configuration" ?16:41
ogra_you have trailing trash there16:41
ogra_oh16:41
ogra_no, u-d-f has a bug :P16:41
* roadmr pictures himself dragging a bag of trash with a long string :)16:42
ogra_heh16:42
ogra_anyway, i built quite a few images today with that u-d-f16:43
ogra_so technically it should work :)16:43
roadmrogra_: yes, I have the apr-19 u-d-f from all-snaps16:43
roadmrogra_: am I missing some command maybe? I'm running this inside an lxc too, may that affect things?16:43
ogra_theer were two ;)16:43
roadmrthe 21:25 one16:43
ogra_k16:44
ogra_yeah, perhaps ... i run it natively here16:44
ogra_and also on a xenial host16:44
roadmryes, xenial here. I'll try natively!16:44
=== ahayzen_ is now known as ahayzen
dpmogra_, sergiusens, kyrofa, would you happen to know the answer to http://askubuntu.com/questions/760057/will-a-sideloaded-snap-get-upgraded-to-a-newer-version-in-the-store ? And if so, would you mind answering there?17:11
dpmor actually beuno might know too ^17:11
kyrofadpm sure17:12
dpmawesome, thanks!17:12
=== vrruiz_ is now known as rvr
dpm"You've earned the 'Popular Question' badge (question with 1000 views) for 'What is snapcraft?'"17:13
dpmnice :)17:14
* dpm goes for dinner17:14
=== daker_ is now known as daker
=== joc__ is now known as joc_
=== dustino_ is now known as dustino
roadmrogra_: ok, so run natively, u-d-f works. So it doesn't seem to like being run inside a container :( in case someone else asks. Thanks!17:26
kyrofaroadmr, indeed, I've run into the same problem. Runs fine inside vbox though17:38
dougb_I need some guidance for how to enable the available UARTs / serial ports on the BeagleBone Black17:45
kyrofadougb_, you probably want ogra_17:47
dougb_ogra, do you have any advice on enabling serial ports in Snappy?17:49
dougb_ogra_, do you have any advice on enabling serial ports in Snappy?17:52
dpmkgunn, would you happen to know what could be causing this OpenGL error when launching snaps? -> http://askubuntu.com/q/759647/978118:07
=== dpm is now known as dpm-afk
kgunndpm-afk: lemme read18:24
kgunndpm-afk: so i "answered" as i don't have enough kwan to comment :)18:33
kgunnattente: ping18:59
attentekgunn: hi19:10
=== chihchun is now known as chihchun_afk
=== ralsina_ is now known as ralsina
roadmrhey folks, which plug does my snap need in order to be able to run ssh-keygen? I just want to generate a keypair in $SNAP_DATA20:41
qenghoroadmr: You have to include your own openssh.20:44
roadmrqengho: that's inconvenient ;) but ok, guess that's snappy life! I'll do it.20:44
qenghoroadmr: In your snapcraft part, add  stage-packages: [ openssh-client ]20:46
roadmrqengho: yay :)20:47
roadmrqengho: where'll the binary live? $SNAP/bin/ssh-keygen?20:47
roadmr(well I'll find out soon enough, building snap now)20:48
qengho$SNAP/usr/bin/ssh-keygen -- Normal path with $SNAP prepended.20:48
roadmroh! qengho thanks! /me tweaks script and rebuilds20:48
roadmrqengho: it works \o/ thanks so much for your help!20:51
qenghoroadmr: Happy Release Day!20:51
qenghoOkay, install a snap. Refresh it, get a new version. The apparmor profile in /var/lib/snapd/apparmor/profiles should be updated then, right?20:53
sergiusenselopio mind looking at https://github.com/ubuntu-core/snapcraft/pull/480/files21:01
sergiusensqengho yeah21:01
sergiusensqengho I am seeing an issue that if I sideload twice the binary I call would still be pointing to the older snap21:02
qenghosergiusens: no need to sideload.21:06
qenghohttps://bugs.launchpad.net/snappy/+bug/157324721:06
ubottuLaunchpad bug 1573247 in Snappy ""snap refresh" doesn't update apparmor rule" [Undecided,New]21:06
qenghosergiusens: Oh, you mean the wrapper script is the older one?21:07
=== blr_ is now known as blr
sergiusensqengho yeah21:43
* jdstrand wonders what this means:21:45
jdstrand$ sudo snap install ./2048-qml_1_amd64.snap --devmode21:45
jdstranderror: change finished in status "Hold" with no error message21:45
skypcehello21:58
skypcehow can install a snap package?21:58
skypcei was installed ubuntu 16.04 in virtualbox21:58
skypcei want test the feature21:59
qenghoskypce: "sudo apt install snapd; sudo snap install tor-middle-relay"22:01
skypcegreat, thank you qengho22:02
skypcei believe that it is enabled by default22:02
qenghoskypce: did it work? "ps ax |grep tor-"22:06
skypceqengho, excelent22:10
skypcei was testing vlc22:10
skypceit is a probability that snapd will be in trusty?22:11
qenghoNo.22:11
skypceahh, will be great22:12
skypcethank you qengho22:12

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