/srv/irclogs.ubuntu.com/2017/06/29/#snappy.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mupBug #1650671 opened: Content sharing from snap common is broken <Snappy:Confirmed for zyga> <https://launchpad.net/bugs/1650671>07:35
=== __chip__ is now known as Chipaca
Chipacazyga: have you looked at snapd#3499 at all? (is that a "you" pr? or is it one for jamie? or...?)07:50
mupPR snapd#3499: Spi patch <Created by tokurz> <https://github.com/snapcore/snapd/pull/3499>07:50
=== chihchun_afk is now known as chihchun
zygamvo: +1 to merge https://github.com/snapcore/snapd/pull/346407:54
mupPR snapd#3464: interfaces: put base policy fragments inside each interface <Created by zyga> <https://github.com/snapcore/snapd/pull/3464>07:54
mvozyga: did one of the reviewer check each individual snippet that its the same  as in the old big table?07:56
mvozyga: other than that, +107:56
zygamvo: I cannot say but since jdstrand reviewed it I really trust it is07:57
zygamvo: if you want just go over each patch (they are structured for thaT)07:57
zygamvo: so that you see the same stuff in green and red07:57
mupPR snapd#3464 closed: interfaces: put base policy fragments inside each interface <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3464>07:59
ogra_ppisati, mind taking a look at bug 1701018 ? (your opinion would be helpful there i think)08:04
mupBug #1701018: Splash screen is not enabled in kernel <Snappy:New> <https://launchpad.net/bugs/1701018>08:04
ppisatiogra_: yep, as far as i know when you enable the spashscreen you have to select a bitmap08:07
ogra_and it defaults to the penguin ...08:07
ppisatiogra_: yep08:07
ogra_the prob is that they currently use our linux-generic-raspi2 snap ... so they will likely have to rebuild08:08
ogra_(which will make their security story a bit awkward)08:08
ogra_can you mention that on the bug ?08:08
ppisatiogra_: yeah. go ahead08:09
ogra_ppisati, i was hoping you can do that (i want a more authoritative person speaking than me :) )08:11
ppisatiogra_: oh k, no prob08:12
ogra_thanks :)08:12
mupPR snapd#3541 opened: snapd: fix for snapctl get panic on null config values <Created by stolowski> <https://github.com/snapcore/snapd/pull/3541>08:38
ppisatiogra_: replied, but actually his request make sense - he wants to setup the splash screen from uboot and then make the kernel pick it up without touching, i wonder if someone already did it08:38
ppisatiogra_: but they probably did per-build, i doubt there's something generic08:39
ogra_yeah08:41
ogra_ppisati, what i tried here was to set "stdout=" in u-boot (i.e. drop serial and vga) but that just ends up with the kernel blanking the console (and not showing any further output) instead of leaving it untouched08:42
ogra_so i guess you would have to actually turn off the console completely in the kernel and have it not take over hdmi at all08:42
ogra_... pprob is ... they do digital signage ... so they will need the display later from userspace08:43
ppisatiso they want the splashscreen till userspace picks up, then they'll mess with fb from there08:44
ppisatiuhm08:44
ogra_well, either that or have the kernel show the same splash when it inits the screen08:45
ogra_they simply want a splash during the whole boot til userspace ... i guess they dont care how they get there08:45
ppisatik08:45
ppisatibut no, no dynamic splash support in the kernel08:45
ogra_yeah ... and plymouth is really not an option for the generic initrds08:46
ogra_they might be able to buuld their own ... and end up with a 20MB initrd or so08:46
ppisatii wonder if there's a way to embed a bitmap in DT so both uboot and kernel can be teached to use whatever is there08:46
ogra_*build08:46
ppisatithat would generic enough08:46
ogra_oh08:47
ogra_now thats an idea08:47
ppisatibut then, we need first to find if they want binary data in DT08:47
ppisatiand that will probably blow the space reserved for DT at boot08:47
ppisatiin rpi2 at least08:48
ogra_yeah08:48
ogra_but thinking about it ... android also manages to have a bootloader splash that stays08:48
ogra_until surfaceflinger starts in userspace08:48
ogra_though they usually dont have any framebuffer console at all08:49
ppisatibut they build the kernel fr that device, so they can hardcode the bitmap there08:49
ppisatiogra_: have you tried asking this question to the graphics people? perhaps they know a way to skip fb initialization if it's already setup08:50
ogra_i'm not sure they build the kernel ... afaik they use our snap and want to get the security benefits from it08:51
ppisatiogra_: they can use our src tree, and just apply a single patch (config + bitmap on top of it), and every time we cut a new release, they rebase and rebuild08:52
* ogra_ finds psplash ... 08:56
ogra_i wonder if we could ship that in our initrd ... looks a lot easier than plymouth08:58
ogra_http://git.yoctoproject.org/cgit/cgit.cgi/psplash/tree/08:58
ogra_PSplash is a userspace graphical boot splash screen for mainly09:00
ogra_embedded Linux devices supporting a 16bpp or 32bpp framebuffer. It has09:00
ogra_few dependencies (just libc), supports basic images and text and handles09:00
ogra_rotation.09:00
ppisatiogra_: but don't they have to add their logo to initrd though?09:01
ogra_yeah09:06
mupPR snapd#3542 opened: cmd,client,daemon: expose "force devmode" in sysinfo <Created by zyga> <https://github.com/snapcore/snapd/pull/3542>09:09
=== Sir_Gallantmon is now known as Son_Goku
ogra_jdstrand, do we have any interface that allows direct access to /dev/fb0 (i suspect i know the answer, but thought i'd ask anyway) ...10:39
ogra_i just makes a psplash snap that runs fine in devmode ...10:40
mupBug #1699504 changed: "network" plug does not allow outbound ping <Snappy:Invalid> <https://launchpad.net/bugs/1699504>10:45
ogra_kyrofa, http://paste.ubuntu.com/24980409/10:56
ogra_kyrofa, looks like your devices uses at91-sama5d3_xplained.dtb ... which isnt in our kernel11:03
ogra_kyrofa, https://goembed.in/2016/03/18/build-and-install-linux-for-arm-cortex-a5-based-embedded-board/ looks like a useful starting page11:03
kyrofaogra_, ah, thank you! How did you find the at91 bit?11:05
ogra_google ;)11:05
ogra_seraching for "ATSAMA5D36 dtb"11:05
jdstrandogra_: yes, framebuffer11:22
jdstrandmvo (cc zyga): I reviewed every line of https://github.com/snapcore/snapd/pull/3464 and I used the debug functionaility to compare outputs before and after11:25
mupPR snapd#3464: interfaces: put base policy fragments inside each interface <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3464>11:25
=== chihchun is now known as chihchun_afk
matteohey guys12:02
ogra_jdstrand, bah ... the tool i use uses "dup()" ...12:07
ogra_jdstrand, that is why framebuffer doesnt work ... still blocked by seccomp12:08
ogra_do you think that could be allowed ?12:08
ogra_HAH ...12:12
ogra_cheating helps ... if i use docker-support i get access to the dup syscall12:13
ogra_:D12:13
cachioniemeyer, https://paste.ubuntu.com/24980832/12:14
niemeyercachio: Aw, it removed the disks..12:15
cachioyes12:15
niemeyercachio: Can you retry with --debug?12:15
cachioniemeyer, it the same with -debug12:18
cachiosomething is hepening before the machine is ready12:19
cachioafter the step Creating configuration on linode:ubuntu-core-16-6412:19
niemeyercachio: Ah, of course, sorry :(12:19
niemeyercachio: Hmmm12:19
cachioit waits until boot12:19
cachioand then it is removing disks12:19
cachioit is like the image could not be booted12:19
niemeyercachio: Can you rebuild spread locally and disable the disk removal logic?12:19
niemeyercachio: We want to keep around a machine that failed with that error, just once, so we can hand it to support12:19
cachioniemeyer, ok sure12:20
mupPR snapd#3536 closed: snap-seccomp: deal with mknod on aarch64 in the seccomp tests <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3536>12:28
cachioniemeyer, (Spread-04): 45.33.76.1312:29
cachioniemeyer, cannot boot linode:ubuntu-core-16-64 (Spread-04): configID not found12:32
cachioniemeyer, (Spread-68): 50.116.8.20512:34
cachiothis failed12:34
=== chihchun_afk is now known as chihchun
jdstrandogra_: dup, dup2 and dup3 are alreadyin the default seccomp template12:51
cachioniemeyer, (Spread-68): 50.116.8.20512:54
mupPR snapd#3543 opened: osutil: allow building on ppc64 (not LE) <Created by zyga> <https://github.com/snapcore/snapd/pull/3543>12:54
cachiothis last one has the disk and config12:54
=== chihchun is now known as chihchun_afk
=== om26er_ is now known as om26er
tintouJun 29 12:03:07 Coco-XPS-13-9360 kernel: [12493.683255] audit: type=1400 audit(1498734187.179:530): apparmor="DENIED" operation="open" profile="snap.test-gst-clutter.test-gst-clutter" name="/sys/devices/pci0000:00/0000:00:02.0/vendor" pid=30120 comm="test-gst-clutte" requested_mask="r" denied_mask="r" fsuid=1000 ouid=013:34
tintouhttps://www.irccloud.com/pastebin/5o8o4aC3/gst-error13:37
kyrofatintou, got it, sorry13:38
kyrofaDidn't realize I was offline :)13:38
=== anewman is now known as anewman|away
mupPR snapcraft#1384 closed: Support yaml merge tags <Created by tim-sueberkrueb> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1384>13:54
=== anewman|away is now known as anewman
mupPR snapcraft#1378 closed: Integration tests for snap command with target arch <bug> <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1378>14:18
=== anewman is now known as anewman|away
=== anewman|away is now known as anewman
=== chiluk_ is now known as chiluk
* Chipaca hugs jdstrand15:07
* jdstrand hugs Chipaca back :)15:12
=== anewman is now known as anewman|away
mupPR snapd#3544 opened: tests: make main/help run on opensuse and fedora again <Created by chipaca> <https://github.com/snapcore/snapd/pull/3544>15:38
Chipacafginther: Pharaoh_Atem: ^15:38
Chipacaum15:38
Chipacai meant fgimenez, but he's not here15:38
mupPR snapd#3532 closed: many: support snap title as localized/title-cased name <Created by robert-ancell> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/3532>15:48
=== anewman|away is now known as anewman
stgrabersergiusens, kyrofa: is https://bugs.launchpad.net/snapcraft/+bug/1590767 somewhere on the roadmap for the next snapcraft?18:25
mupBug #1590767: Support snap installed completion scripts <isv> <lxd> <snapd-interface> <Snapcraft:Triaged> <snapd:In Progress by chipaca> <https://launchpad.net/bugs/1590767>18:25
stgraberor is there already some way of passing the completer through to snapd which I'm not aware of?18:26
sergiusensstgraber: I've updated the bug status for snapcraft.20:23
stgrabersergiusens: great, thanks!20:23
sergiusensstgraber: would be nice for the snapd side of the bug to be updated though, your comment gives me confidence it is already available for all snapd installations though20:24
stgrabersergiusens: yeah, I remember mvo saying it would be in 2.26 and the release notes for 2.26 seem to confirm it20:27
stgrabersergiusens: there may issues though since I doubt anyone actually used it given that snapcraft doesn't support it20:27
=== JanC_ is now known as JanC
cjwatsonCould somebody please retry https://travis-ci.org/snapcore/snapd/builds/248376205 ?  I don't think the timeout is the fault of my PR.23:28

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