/srv/irclogs.ubuntu.com/2016/09/23/#snappy.txt

mupPR snapd#1952 closed: configstate,hookstate: add snapctl set <Critical> <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapd/pull/1952>00:02
mupPR snapd#1983 opened: ctlcmd: add snapctl get <Created by kyrofa> <https://github.com/snapcore/snapd/pull/1983>00:07
mupBug #1564076 changed: Can't launch snaps <gnome-software> <sdoc> <verification-done> <gnome-software (Ubuntu):Fix Committed by robert-ancell> <snapd (Ubuntu):Fix Released> <gnome-software (Ubuntu Xenial):New> <snapd (Ubuntu Xenial):Fix Released> <gnome-software (Ubuntu Yakkety):Fix Committed by02:04
muprobert-ancell> <snapd (Ubuntu Yakkety):Fix Released> <https://launchpad.net/bugs/1564076>02:04
=== gaughen_ is now known as gaughen
mwhudsoner do tests pass with tip for people right now?02:53
mwhudsongo test github.com/snapcore/snapd/interfaces/builtin fails for me02:55
mupPR snapd#1984 opened: daemon: add logging to help diagnose create-user slowness <Created by mwhudson> <https://github.com/snapcore/snapd/pull/1984>03:15
Mirvthanks mhall119 jdstrand nessita! that's what I thought, but it'd be nice to get an up-to-date playground example then like I doubt geany/geany-plugins is working at the moment. I guess that the plug and slot need to be named identically instead of specifying the content field.05:10
=== hikiko is now known as hikiko|off
mupPR snapd#1985 opened: progress: use New64 and fix output newline <Created by mvo5> <Conflict> <https://github.com/snapcore/snapd/pull/1985>06:09
mupPR snapd#1973 closed: tests: ensure HOME is also set correctly <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/1973>06:18
mupPR snapd#1986 opened: tests: ensure HOME is also set correctly <Created by mvo5> <https://github.com/snapcore/snapd/pull/1986>06:19
dholbachhey hey06:39
didrocksgood morning dholbach06:54
dholbachsalut didrocks06:54
zygao/07:01
* ogra_ -> dentist08:18
=== chihchun_afk is now known as chihchun
mupPR snapd#1986 closed: tests: ensure HOME is also set correctly <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1986>08:44
=== jamespag` is now known as jamespage
mupPR snapd#1984 closed: daemon: add logging to help diagnose create-user slowness <Created by mwhudson> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/1984>09:15
Chipacamwhudson, o/09:16
=== rmescandon_ is now known as rmescandon
=== vigo is now known as vigo-afk
mupBug #1626930 opened: Missing mount-observe slot in Core <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1626930>09:25
mupBug #1626930 changed: Missing mount-observe slot in Core <snapd-interface> <Snappy:Invalid> <https://launchpad.net/bugs/1626930>09:28
oparozHello guys. Is it or is it not possible to override seccomp by whitelisting syscalls? The documentation and tests in the snapcraft repo seem all wrong10:18
oparozWas looking in the repo of the fork... So it seems everything is gone. Too bad10:30
jaceknhello. Im building snap and snapcraft prints warning: "grade" property not specified: defaulting to "stable". Where can I find documentation for this option? There is nothing here: http://snapcraft.io/docs/build-snaps/syntax10:49
mupPR snapd#1987 opened: daemon,overlord/assertstate: support streams of assertions with snap ack <Created by pedronis> <https://github.com/snapcore/snapd/pull/1987>10:51
ogra_mvo, bah, crap, did you note what keyboard-configuration all pulled in alongside ? (initscripts, debconf, lsb-base ... ) we really need to cut that down again10:57
morphis_pitti: can you have a look at https://code.launchpad.net/~morphis/netplan/+git/netplan/+merge/306607 ?11:05
pittimorphis_: replied11:15
morphis_pitti: the service name is sadly nothing I can influence11:16
morphis_that is what snapd builds for it11:16
morphis_also to avoid intersections with other snaps11:16
pittimorphis_: right, hence adding Alias=11:16
morphis_pitti: sure but that is still something snapd need to get from somewhere11:16
pittiWDYM "get"?11:17
morphis_pitti: snapd creates the service unit on the fly11:17
pittiyou just put it in the unit, and when it gets enabled, systemctl creates the alias symlink11:17
morphis_we don't ship it as part of the snap so we can't modify it11:17
pittierr11:17
morphis_so we would have to add another key in meta/snap.yaml which then gets parsed by snapd and added in the .service unit11:18
pittiif we are going to snap up core plumbing parts like NM, bluez, cups or whatnot, I suppose that's necessary indeed11:18
morphis_pitti: something to argue with niemeyer about11:18
pitticluttering a lot of packages with snapd service aliases is a really bad design11:18
morphis_pitti: I am currently just searching for a way to replace networkd in our images with network-manager which comes from the snap11:18
=== chihchun is now known as chihchun_afk
mupBug #1626986 opened: snapd should allows snaps to define systemd unit Alias names <Snappy:New> <https://launchpad.net/bugs/1626986>11:47
jdstrandjacekn: I guess the documentation is out of date. grade can be one of stable or devel. aiui, if you set it to 'devel' it ensures it won't accidentally end up in the stable channel12:00
jaceknjdstrand: and can stable end up in devel?12:01
jdstrandjacekn: I think so12:01
jdstrandsergiusens: can you comment? ^12:02
jaceknjdstrand: sergiusens: I have some opinions here. For snapscraft.yaml building external code I have to maintain multiple branches with different "version" and "source-tag". This new options means yet another line that needs to be different between those branches12:05
jaceknjdstrand: sergiusens: so really IMO warning is an overkill, I'd prefer not to have that option at all12:06
jdstrandjacekn (cc sergiusens): we didn't design the feature. perhaps that would be a good question for the mailing list?12:06
jaceknjdstrand: ack and good point!12:07
jdstrandthat way you'll get definitive answers on how things work and why12:07
jdstrandand I know they are always looking for real world feedback12:07
qengholpotter: Your Pi (2? 3?) didn't display HDMI at boot? My pi3 did not either. I worry OG's "hdmi_safe" proposal isn't fixing the right thing. Want to help debug it?12:09
ogra_qengho, you mean you dont see anything after the first boot (i.e. after 5min) apart from the raspberries even with hdmi:safe set ?12:12
ogra_*hdmi_safe12:12
ogra_qengho, also, which image do you use and how big is your SD ... (the daily image is a lot smaller and will talke longer to resize on a big SD)12:13
qenghoogra_: correct, nothing displayed after 5 or 45, though I'm about to test scientifically and give you real data by end of day. I used the "release" images on a 32GB, fast microSD.12:17
ogra_well, that should resize in 2-3min max12:17
ogra_(likely faster)12:17
ogra_i really cant reproduce it here ... i always get the "please press enter" under the raspberries12:18
qenghoogra_: And I will want your help. I think the cmdline can have any number of console= lines. You could have serial AND tty0. I think.12:18
qenghoBut I can't test the serial one.12:18
ogra_no, then you dont get the actual boot data on serial12:18
ogra_the first console= arg is used for early boot ... the second one is switched to after the kernel ... i.e. initrd and following12:19
ogra_might be first and last (instead of first and second) if you have more than two ...12:20
ogra_during development it is essential that users can give us the full boot log when something hangs ... i'm happy to change defaults for final release but not while we require debug data12:21
qenghoogra_: In any case, perhaps that configuration tool can display on /dev/ttySwhatever AND /dev/tty0 .12:24
ogra_it does !12:24
qenghoOh. Hrm.12:24
qenghoThen something is wrong.12:24
ogra_here at least ...12:24
mupPR snapd#1974 closed: snapd: kmod backend <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/1974>12:24
qenghoogra_: Okay, I'll test and let you know.12:25
ogra_systemd always starts one agetty on each console by default ... console-conf intercepts agetty and displays the "please press enter" message one them12:25
ogra_*on12:26
ogra_qengho, i also dont undersatnd why people want to use HDMI at all. given we do not allow any login except ssh anymore12:26
ogra_so defaulting to HDMI doesnt really make much sense12:27
qenghoogra_: You connect another computer and *its* display to the computer, instead of just a display? That's dumb. That's why.12:28
ogra_(having avahi and a network based conole-conf by default would make massively more sense)12:28
qenghoYes, so much. I need some zeroconf.12:28
ogra_well ... except that the image will then explode in size ... we're already way to big for embedded12:29
qenghoogra_: OTOH, if you have an old DEC VT220 you're plugging in directly, then I apologize.12:30
ogra_i just use the serial cable that was shipped with the board when i bought the "embedded developer" set12:30
ogra_:P12:30
qenghoYou sound scornful of it like you're saying "micro-" computer, and wisful of the days when a REAL computer took up several cubic meters. Computers get smaller. This is normal now. This is a real computer.12:32
ogra_qengho, you dont really expect people to attach a monitor to their NAS, AP, router, IoT controller, do you ?12:32
ogra_i'm not saying computer at all12:33
qenghoogra_: When it comes with a video card and more than one USB port, I think you have to stop pretending it's only a lawnmower device.12:33
ogra_we are targeting IoT here ... at most you will run a single purpose kiosk app in such a device12:33
ogra_when you use HDMI at all12:34
ogra_qengho, it isnt a desktop ... you wont actually use it as one ... beyond probably showing off to people that you can use it as such12:34
ogra_i definitely dont know anyone who actually uses a pi as their default desktop system, sorry12:35
ogra_i agree it makes sense to have HDMI for something like a kido system or any other single purpose kiosk setup thhough, no doubt here12:36
ogra_*kodi12:36
ogra_but after all our current target is IoT and embedded ... once we have a desktop session snap you will run on such a device you will also have a grephical firstboot tool to set it up ... and that wont run on the console at all12:37
=== tachyons is now known as tachyons_
morphis_ogra_: ping12:38
ogra_no need to ping me if i talked a line above ;)12:38
ogra_just ask :)12:38
morphis_ogra_: but you have the choice to pong when you're free :-)12:39
* ogra_ pongs 12:39
ogra_heh12:39
morphis_hehe12:39
qenghoogra_: there are many many millions of RPis sold, and very few are that "embedded kit" version. Throw away your serial cable and become one of the 99.99% of owners for a few days.12:39
morphis_ogra_: we put upgrade for netplan currently in the ppa to include them in the next core snap, right?12:39
tachyons_https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/indicators.py#L33 , This approach of finding content length using content length header is making probelm when using http compression12:40
tachyons_Eg github gist12:40
tachyons_Lazy to file a bug in launchpad :D12:40
ogra_qengho, yeah, its a sad fact that people picked a dead wood settopbox chip for that hype instead of something proper ...12:40
ogra_morphis_, https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial12:41
ogra_needs to end up there12:41
ogra_morphis_, at least until pitti lands everything that netplan needs in xenial-updates proper :)12:42
ogra_(which i hope is the case for GA, we need to be able to build stable without the PPA)12:43
pittiogra_: when is GA?12:43
ogra_pitti, uh, not sure ... several weeks ... jamiebennett knows exact dates12:43
pittiogra_: I didn't yet backport it as we don't use netplan extensively yet, and thus it's still in the "find/add missing features" phase12:43
tachyons_sergiusens:  cc12:44
pittiogra_: but we could certainly start to SRU the NetworkManager patches at least12:44
jamiebennettpitti: GA = 2016-11-0312:44
pittithanks12:44
ogra_now thats exact :)12:44
pittimorning or afternoon? ☺12:44
ogra_*g*12:44
jamiebennett23:5912:44
jamiebennettwe need all the time we can ;)12:45
pittiPST12:45
morphis_ogra_: ok12:46
morphis_pitti: ok, once I give you the go for that patch we talked about can to bring the new netplan package into the snappy-dev ppa?12:47
pittimorphis_: it's your PPA, go wild :)12:47
morphis_pitti: not really mine :-)12:47
pittiit's not a long-term solution, but good enough for a beta/demo for sure12:48
morphis_pitti: its for sure not a demo, it goes into production12:48
morphis_pitti: but we can figure out a better solution and migrate to that at a later point12:51
pitti*nod*12:51
pittiand the PPA seems fine for those12:51
pittimorphis_: maybe the snap yaml doesn't even need to be explicit about these aliases -- I mean, you slurp in packages (or upstream builds) that already *have* the systemd and dbus .service files, so it could just scan those and automatically provide aliases (if explicit declarations are unwanted)12:53
pstolowskijdstrand, hey, thanks for the review of timedate control interface!12:54
=== vigo-afk is now known as vigo
morphis_pitti: yeah another option, something we need to discuss with niemeyer12:55
ogra_pitti, that would get tricky ... i have a bunch of snaps that use daemons, none of them can actually use their default init scripts or systemd units ... usually you need to re-define config paths and the like12:55
pittibut in general, I don't understand why you wouldn't just take upstream .service files as they are, and instead rewrite them12:56
ogra_so i doubt we could make that a generic thing12:56
zygajdstrand: hey12:56
pittiwell, then at least provide them under their original name12:56
ogra_because i need a wrapper that creates an initial config, in a non standard place for example12:56
morphis_ogra_: it would be just an alias we need to add to the files you say we're NetworkManager.service too12:56
pittithey aren't co-installable with the corresponding debs anyway12:56
ogra_pitti, hahaha ...12:57
ogra_(we have nothing that prevents this)12:57
pittibut it would just mean that dependencies, resource limitations, privilege reductions, aliases, etc. need to be duplicated in the yaml12:57
mupPR snapd#1988 opened: Allow system bus access for screen-inhibit-control <Created by afrantzis> <https://github.com/snapcore/snapd/pull/1988>12:57
pittibut anyway, that's a SEP :)12:58
jdstrandzyga: hey-- so, how does leaving in hello-world cause ubuntu-core to get unmounted (ns discard latest commit). Or did I misread your comment?13:05
jdstrandpstolowski: you're welcome :)13:05
zygajdstrand: it's not13:06
zygajdstrand: I just started realizing what is the problem13:06
zygajdstrand: I'm going to just get an ack from chipaca and release stuff13:06
jdstrandzyga: heh, ok, cause I was starting to get worried :)13:06
zygajdstrand: it seems snapd is doing something crazy wrt cleanup now13:06
zygajdstrand: ubuntu-core is unmounted mid tests when some cleanup task fires13:06
jdstrandzyga: ack. that is worrisome for other reasons, but glad that the ns discard wasn't causing it :)13:07
zygajdstrand: I need a few more changes in snapd (to redesign the branch a little, move the task to other manager) and I got +1 to merge it13:07
jdstrandgreat :)13:07
sergiusenstachyons_ we have a bug for that13:09
sergiusensjdstrand I just answered an askubuntu question about grade around 30' ago13:10
jdstrandzyga: I see you merged that-- should you uncomment the hello-world bit too?13:11
jdstrandsergiusens: cool13:11
zygajdstrand: I evicted that commit13:11
* sergiusens goes back to writing unit tests13:11
zygajdstrand: it's not commented out anymore13:11
* sergiusens looks at joc_ and wonders how he got away with it ;-)13:12
jdstrandzyga: ok cool. I didn't see that commit, only the one saying you were merging. thanks13:12
zygajdstrand: I rebased that commit away (the one that was commenting those bits out)13:14
mupPR snapd#1987 closed: daemon,overlord/assertstate: support streams of assertions with snap ack <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1987>13:27
tachyons_sergiusens:  link ?13:35
sergiusenstachyons_ https://bugs.launchpad.net/snapcraft/+milestone/2.1913:38
om26erHello! Whats the update on diff based snap updates ?13:38
mupPR snapd#1989 opened: tests: build once and install test snap from cache <Created by fgimenez> <https://github.com/snapcore/snapd/pull/1989>13:45
om26erWhats the password for all-snap image ? After I added my launchpad email, I am not able to login.14:07
sergiusensSamYaple hey, I tried to this http://paste.ubuntu.com/23220251/ on an unpatched snapcraft and was able to do this http://paste.ubuntu.com/23220246/ (I am not sure how to expose the current .pth bug)14:07
sergiusensom26er only ssh14:07
sergiusensssh in and set a passwd if you must14:07
ogra_"sudo passwd $USER" after you sshed in ...14:08
sergiusensogra_ obviously :-P14:08
om26ersergiusens, hmm, I think I can't remember my IP14:08
sergiusensom26er cannot help you there14:09
ogra_sergiusens, well, yu could just try "passwd" which wont work ...14:09
om26erIP for the virt manager machine14:09
sergiusensnmap might14:09
ogra_so not *that* obvious14:09
sergiusensogra_ because current passwd is unset/unkown14:09
ogra_yeah14:09
sergiusensand sudo does the trick14:09
ogra_right14:09
om26erogra_, sergiusens I am in. Had to re create the VM to know my IP :)14:12
zygajdstrand: there's a chance that the test failures we saw are caused by https://github.com/snapcore/snap-confine/blob/master/spread-tests/regression/lp-1599608/task.yaml14:29
zygaexactly how I cannot explain yet14:30
morphis_ogra_, pitti: so who should upload https://code.launchpad.net/~morphis/netplan/+git/netplan/+merge/306607 as a patch to netplan to the snappy ppa?14:47
=== JanC is now known as Guest73904
=== JanC_ is now known as JanC
ogra_mvo, slangasek, hmm, the small image size made resize2fs take significantly longer :/14:52
ogra_i wonder why ...14:52
ogra_(the 128GB card i currently use used to resize in 1-2 min before ... now its 10min and counting with a daily image)14:53
mupPR snapcraft#823 closed: plainbox-provider plugin: rewrite python shebangs <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/823>14:58
* ogra_ goes and tries the beta image instead 15:01
SamYaplesergiusens: http://paste.ubuntu.com/23220481/15:01
sergiusensSamYaple ah, so it is python2 that has the issue, got it15:03
ogra_bah15:03
ogra_resizes instantly15:03
ogra_that wasnt even 20sec15:03
ogra_i guesss that means that creating images at minimal size complicates resizing15:05
ogra_:(15:05
SamYaplesergiusens: for dogpile.cache, yes python2 is the issue15:06
slangasekogra_: er... impressive?15:06
SamYaplesergiusens: but its on a per project bases. this same thing can happen on python315:06
ogra_slangasek, why ?15:06
SamYaple*basis15:06
slangasekogra_: 10 minutes to resize?  It shouldn't matter that it's on 128GB.  But I'm assuming you don't want us to revert the change to make the image small ;)15:07
ogra_slangasek, i assume with the minimal size the blocksize is not exactly a multiple of 512 or some such15:07
ogra_slangasek, well, i gave up after 15min ... not sure how long it would actualyl have taken15:07
ogra_but using the 3.8GB big beta image resizes absolutely instantly15:07
ogra_slangasek, oooh, and since i'm testing on the dragonboard ... i'm now glaring since 2min at "Contacting server..."15:08
ogra_o this slowness seem to not be arch specific at all15:08
ogra_*so15:08
ogra_*eems15:08
ogra_bah !15:08
ogra_(right after i typed that the screen changed, but even on the dragonboard it is slow at the user setup tep)15:10
ogra_hmm, but why is the resize so slow, there are no errors in the resize log15:11
ogra_(apart ffrom the one when i ripped out the card it seems resize2fs was chugging along happily)15:11
mupPR snapcraft#822 closed: Don't filter .pth files in python plugin <Created by SamYaple> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/822>15:19
* ogra_ rolls an image with extra added empty space 15:20
elopiocwayne: you did atom, right? Can you help me with an electron snap?15:25
cwayneelopio: yep, sure15:29
elopiocwayne: I'm getting Error: spawn electron ENOENT15:29
elopiohave you seen that? I'm trying adding electron to node-packages, but I have no idea what I'm doing.15:30
cwayneelopio: hm, not seen that, i had to usee a custom plugin to just call scripts that atom had, so there wasnt really much dealing with electron itself15:30
elopiothe docs don't help much, but I clearly have nothing called electron in my prime directory. Let's see how it goes.15:31
ogra_slangasek, i must admit in the light of resize times that go into the 20min area (even with an image i made look like one of the former ones) i'm tending to say we should perhaps build them in 1GB size steps instead of "as small as possible" ... this is definitely not suitable15:31
oparozCan the snap web install beta apps?15:32
oparoz...which are using devmode15:32
ogra_mvo, where is the ubuntu-image patch you used to create the 3.8GB betas (you obviously didnt use the latest from trunk but also not the default 4GB one)15:33
ogra_(and i cant see any change related to this in your github tree either)15:34
slangasekogra_: or, if you think this is part of it, we can tune our mkfs.ext4 options to adjust block size / cluster size / bytes per inode / inode size15:34
slangasekogra_: maybe you want to experiment with those and see which flags might make a difference to the speed?15:35
mvoogra_: its not pushed, but its just 4Gb->3.9Gb, i can push the diff if you need it15:36
ogra_slangasek, well, something makes the old images do instant resize ... and even the ones that mvo built as betas which dont use your latest change15:36
ogra_mvo, that would be great ... i want the dailies to not take hours while people like qengho wait for something on HDMI ;)15:37
ogra_i guess *that* is the actual problem15:37
ogra_(regarding the console= discussion)15:37
slangasekogra_: yes, so since you have a case where you can reproduce slow resize (is this on the BBB?), can you tweak the ext4 filesystem when you build it and see what does or doesn't improve the speed?15:37
ogra_slangasek, thats the dragonboard ... but i bet we'll have iot on all images15:38
slangasekogra_: I don't have a 128GB SD card to reproduce this with15:38
ogra_(i test the bbb with a 4GB card ... the resize is neglectable there)15:38
ogra_slangasek, well, a 256GB one will do as well :P15:38
slangasekogra_: also, 'tune2fs -l' output on the filesystem after the resize is done, please15:38
ogra_ok, will do15:39
mupPR snapd#1990 opened: many: allow use of the system user assertion with create-user <Created by mvo5> <https://github.com/snapcore/snapd/pull/1990>15:53
abeatoogra_, why might I see this error when doing "snap prepare-image"? :15:56
abeatoerror: cannot fetch and check prerequisites for the model assertion: assertion not found15:56
ogra_how does your assertion look like ?15:57
abeatoogra_, http://paste.ubuntu.com/23220732/15:57
ogra_hmm, looks fine15:58
ogra_and you specified the path to it correctly in the ubuntu-image command line ?15:58
abeatoogra_, yes, this it the command that fails:15:59
abeato$ sudo snap prepare-image --channel=beta --extra-snaps=network-manager_1.2.2-5_armhf.snap --extra-snaps=modem-manager pi3.model /tmp/tmpqfqroa0f/unpack15:59
abeatopi3.model is in the folder15:59
=== bschaefer_ is now known as bschaefer
ogra_what is /tmp/tmpqfqroa0f/unpack supposed to be16:00
abeatoogra_, the actual command that is executed is:16:00
* ogra_ has actually never used snap prepare-image directly ... 16:00
abeato$ sudo /snap/bin/ubuntu-image --channel beta --extra-snaps network-manager_1.2.2-5_armhf.snap --extra-snaps modem-manager -o pi3.img pi3.model16:00
abeatoogra_, but in the end what fails is the prepare-image step16:01
ogra_hmm16:01
ogra_does it work if you call it completely without --extra-snaps ?16:02
abeatono, not in that case either16:02
ogra_did you try with edge yet instead of beta ?16:03
* ogra_ wonders if self signed assertions somehow block building from non-edge16:03
abeatoogra_, let me try16:03
elopioalright, now I don't get any errors. But also I don't get any window :(16:06
elopioany electron expert around?16:06
abeatoogra_, I have16:07
sergiusenselopio check if one of the threads is crashing (font-config for example), glib/gtk makes many assumtions and doens't fail cleanly16:07
abeatoubuntu-core          16.04.1    423  canonical  -16:07
abeatodoing16:07
abeato$ sudo snap install --channel=edge ubuntu-core16:07
abeatoerror: cannot install "ubuntu-core": snap "ubuntu-core" already installed16:07
abeatois that fine?16:08
ogra_abeato, i thik 423 is the last stable16:08
elopiosergiusens: ok, how do I check that?16:08
elopioI have nothing about fonts or gtk, but I can copy them from atom16:08
abeatoogra_, how do I install a new one? "sudo snap install --channel=edge ubuntu-core"does not work16:09
sergiusenselopio strace in a snap shell16:09
ogra_abeato, hmm, whats the error, it should16:09
elopiook! I've never done that, let me find the instructions.16:09
abeatoerror: cannot install "ubuntu-core": snap "ubuntu-core" already installed16:10
abeatoogra ^^16:10
ogra_abeato, though edge is quite brave, i'd go with beta16:10
ogra_weird16:10
ogra_thsi is how i got mine onto edge back then16:10
abeatohm...16:11
ogra_but that should have no influence on ubuntu-image16:11
abeatoogra_, ah... I must use "refresh" instead of "install" when installed, even when trying to use a different channel :)16:12
ogra_ah16:13
abeato660 rev16:13
ogra_yeah, beta is fine :)16:13
ogra_geez ... this resizing thing is insane ... still going ...16:14
ogra_i wonder why i havent hit it earlier16:14
elopiosergiusens: am I doing this right? https://paste.ubuntu.com/23220881/16:18
elopioit just  seems to do nothing.16:18
mupPR snapd#1991 opened: overlord,store: clean up serial-proof plumbing code <Created by pedronis> <https://github.com/snapcore/snapd/pull/1991>16:19
mupPR snapd#1992 opened: overlord/state: introduce cleanup support <Created by niemeyer> <https://github.com/snapcore/snapd/pull/1992>16:23
ogra_YAY !!!16:27
ogra_so this was 50min for the resize16:27
ogra_finally it moved16:28
mupPR snapd#1993 opened: snap: move/clarify Info.Broken <Created by pedronis> <https://github.com/snapcore/snapd/pull/1993>16:28
ogra_slangasek, http://paste.ubuntu.com/23220928/16:32
ogra_slangasek, also, confirmed that resizing is slow on pi3 with the small images16:32
slangasekogra_: thanks.  interesting, you have there a block and fragment size that's smaller than what I saw locally in a pi2 image... which way did you create this with ubuntu-image? the snap, the yakkety deb?16:33
slangasek(or is this the official image?)16:33
ogra_slangasek, trunk calling ./ubuntu-image16:34
slangasekogra_: against what release?16:34
slangasekare you using xenial or yakkety e2fsprogs?16:34
ogra_on a xenial host with tghe PPA ext2fsprogs version installed16:34
slangasekok16:34
sergiusenselopio track the forks and make it output to separate files, much easier16:35
ogra_i havent checked an actual image yet, i'll do some builds with workdir so i can inspect the img files on the weekend ... currently my machine is busy actually re-building the dailies16:36
elopiosounds easy, let's see if stackoverflow knows how to do it.16:36
ogra_slangasek, oh, and here is the resize log http://paste.ubuntu.com/23220950/16:39
slangasekogra_: ok.  your block size, fragment size, blocks per group, fragments per group are all smaller than what I have in the last pi2 image I created here, *with* the size minimization; so that's definitely something different, I'll see if I can reproduce this16:39
mupPR snapcraft#824 opened: Add `snapcraft create-key` <Created by cjwatson> <Conflict> <https://github.com/snapcore/snapcraft/pull/824>16:41
slangasekogra_: you said "the PPA" for e2fsprogs... which ppa? I don't see e2fsprogs in snappy-dev/image or snappy-dev/tools16:41
ogra_slangasek, and the resize code http://paste.ubuntu.com/23220956/ ... perhaps i'm doing something unsuitable here16:41
ogra_slangasek, your ubuntu-image ppa :)16:42
slangasekogra_: I think the problem is in your initial fs creation, which doesn't match the one we had here and that yes, will have poorer performance (not just during resize, but overall)16:42
slangasekogra_: ok, I didn't assume you were using our ppa ;)16:42
elopiosergiusens: https://bugs.launchpad.net/snapcraft/+bug/1583259 can we have that in the next milestone?16:42
mupBug #1583259: Snappy needs to influence environment variables in applications  <snap-desktop-issue> <verification-done> <Canonical Click Reviewers tools:Fix Released by jdstrand> <Snappy Launcher:Invalid> <Snapcraft:Triaged by sergiusens> <Snappy:New> <click-reviewers-tools (Ubuntu):Fix Released>16:42
mup<click-reviewers-tools (Ubuntu Xenial):Fix Released> <click-reviewers-tools (Ubuntu Yakkety):Fix Released> <https://launchpad.net/bugs/1583259>16:42
ogra_well, i didnt want to blindly install the yakkety package here :)16:43
* zyga has unexpected guests for the past two hours, sorry for being laggy16:43
ogra_zyga, how dare you to have a social life !16:43
slangasekogra_: that should definitely give me enough to try to reproduce the problem here, thanks.  One last thing, could you kpartx -a the original image and tune2fs -l that as well, just to confirm that the weird block sizes are in the source image?16:44
slangasekogra_: and are you using the official pi2 model assertion for this or another one?16:44
ogra_slangasek, yeah, waiting for my machine to be done with the image build, then i'll do the kaprtx16:44
ogra_slangasek, official but you are looking at dragonboard data there16:45
ogra_not pi216:45
ogra_thje only non-official assertion i use is the bbb one16:45
zygaogra_: well, social life friends just flew in from spain, on their way elsewhere, with night overlap through warsaw :)16:46
zygaogra_: when stuff is on fire like it feels now I don't like having a social life TBH16:46
ogra_zyga, well, you are around til 10pm on normal days and start at 8 ... and hang around here on weekends ...  if friends come you should simply end your day16:47
zygaogra_: .... are you saying I should re-consider having a social life for a change16:47
ogra_at times :)16:47
zygaogra_: I'd like to, at least, finish the week knowing that I know how the fire started16:48
zygaogra_: otherwise I will just think about it all the time anyway16:48
ogra_well, go and do the fire inspection then :)16:48
zygaay :)16:49
oparoz_Does snap web work? Is there documentation for it? Can it install beta snaps? Does it support devmode?16:50
ogra_slangasek, http://paste.ubuntu.com/23220991/ for the kpartx bit16:51
zygaoparoz_: I know some people have been working on it again lately16:51
zygaoparoz_: perhaps jamiebennett knows better16:51
oparoz_Thanks zyga. I'm trying to figure out how to push new apps to users of the Nextcloud Box. I'm guessing the only way right now is to tell them to use SSH?16:52
zygaoparoz_: push as in remotely install?16:53
zygaoparoz_: I didn't try lately, does snapweb do anything useful after being installed?16:53
oparoz_zyga, Well, more as in making it available somewhere so that they can push a button and install it16:53
oparoz_zyga, I saw this screenshot and want my snaps to be on there: https://insights.ubuntu.com/2016/09/22/rocket-chat-a-new-snap-is-landing-on-your-nextcloud-box-and-beyond/16:54
=== nacc_ is now known as nacc
mupPR snapcraft#825 opened: Release changelog for 2.18.1 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/825>16:56
zygaoparoz_: I think that's just the store, if your app is in the store and has the right meta-data it will show up like that in snapweb16:56
zygaoparoz_: I know there's been a lot of work put into snapweb, I don't know if it is released as stable though16:56
oparoz_zyga, thanks. I just don't understand how users will get to see that page with their installed snaps. I never had to register to be able to install snaps16:57
kyrofazyga, oparoz__ I think snapweb is only in edge right now. elopio or lool might know more17:07
oparoz__So basically, the screenshot in that article is something which cannot be used by Box' at this stage17:08
oparoz__kyrofa, or can you get this view by SSHing and manually connecting the Box to the store?17:08
oparoz__And then install Snaps on the box via the store's "Add more snaps"17:09
kyrofaoparoz__, yeah, SSH in and try this: `sudo snap install --edge snapweb`17:09
oparoz__OK, done.17:10
kyrofaoparoz__, I don't remember what port it's on... I want to say 420017:10
oparoz__:D17:10
kyrofanetstat will help17:11
oparoz__you were correct :)17:11
oparoz__kyrofa, unfortunately, it only lists stable snaps, so not very useful :(17:12
oparoz__I mean to ask users to help test snaps17:12
kyrofaoparoz__, yeah, stable snaps are the only ones that are easily discoverable in the store17:13
=== tachyons is now known as tachyons_
kyrofaoparoz__, like what?17:13
oparoz__transmission17:13
oparoz__But I guess it also filters by arch... and I haven't created the armh yet17:14
oparoz__But snap web will be very cool once stable17:15
kyrofaYeah it'd be ideal to be able to say "show me unstable snaps" or something17:16
oparoz__kyrofa, yeah, or just pick the minimum level of stability17:16
oparoz__I'm OK with stable and beta per example17:17
kyrofaYeah, checkboxes for "show me these channels" even17:17
oparoz__Especially since we can't put devmode snaps in stable17:17
mupPR snapd#1977 closed: interfaces/builtin: add network-setup-observe interface <Critical> <Created by morphis> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1977>17:34
attentekyrofa, elopio, hi17:44
elopiohello attente o/17:44
attente:)17:44
attentei'm having issues with getting the integration test for the jhbuild plugin working under travis-ci17:45
mupPR snapd#1991 closed: overlord,store: clean up serial-proof plumbing code <Created by pedronis> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1991>17:45
attentemostly because the tests are run as a root user in a docker instance17:46
mupPR snapd#1980 closed: tests: more debug around the create-key test <Created by mvo5> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/1980>17:46
attentebut i also saw that the cleanbuild integration test that also uses lxc is specifically disabled17:46
attenteso i'm wondering if that's ok to do for the jhbuild plugin test as well17:47
attentebasically i'm in a world of hurt trying to get it working under root when it's only meant to be run unprivileged17:49
kyrofaattente, hey there!17:54
kyrofaattente, I don't know the specific answer to your question, but note that the launchpad builders all run as root as well. Ideally plugins would work under root17:54
sergiusensattente I've been meaning to ask, how does your jhbuild plugin going to work when we switch to containers by default to build most things?17:54
elopioattente: I thought it used lxc.17:55
sergiusenselopio he's thinking lxc inside docker17:55
attentesergiusens: yeah... i didn't realize that was the plan. you're switching to lxc containers? there's some support for nesting i believe?17:56
sergiusensattente yes there is17:56
sergiusensattente I am just waiting for the network setup dilemma in lxd to be solved17:57
elopiosergiusens: https://paste.ubuntu.com/23221212/ Here's my strace. I see many errors, but I'm not sure what I'm looking for.18:06
elopioIt seems bad that many things in electron/dist are not found.18:06
mupPR snapd#1983 closed: ctlcmd: add snapctl get <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapd/pull/1983>18:07
jdstrandzyga: fyi, https://bugs.launchpad.net/snap-confine/+bug/1626019/comments/218:27
mupBug #1626019: Docker snap cannot start containers in Classic (but does in Core) <Snappy Launcher:New> <https://launchpad.net/bugs/1626019>18:27
mupPR snapcraft#826 opened: Do not depend on Content-Length when Content-Encoding is gzip <Created by tachyons> <https://github.com/snapcore/snapcraft/pull/826>18:29
loolkyrofa: snapweb >> beta + edge actually (beta images, beta snapweb) - but I think it could happily be promoted18:34
kyrofalool, awesome!18:34
kyrofalool, would be great to have it in stable18:35
loolkyrofa: yeah; I wish it wasn't too late to ping mvo about it, but I'm totally +1 on it; we could promote it monday18:36
loolkyrofa: I'll be at Linaro Connect next week (Vegas), if you get the chance to discuss this with him, that'd be lovely18:36
loolI can do it, but I wanted to touch base with mvo before doing so18:36
kyrofalool, making a note now, you got it18:36
lools/can do it/can do the actual promotion/18:36
lool<318:36
kyrofalool, I'll tell him you +1d it but wanted to double check with him first18:37
loolyeah18:37
loolthanks a ton18:37
kyrofaSure thing. Good luck at linaro!18:37
mupPR snapcraft#825 closed: Release changelog for 2.18.1 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/825>18:38
lpotter qengho, ogra_ wait what? we dont allow normal console login on rpi?!?19:10
qengholpotter: We do! We do. Or, rather, we should. We want to.19:12
lpotterI see the rpi as a convergent device, instead of mobile/desktop, its convergent embedded/desktop :)19:14
qengholpotter: If it doesn't give a config prompt on the display that is built-in, it is a bug.19:14
qengholpotter: I'm trying to figure out details of it now.19:14
jdstrandlool: fyi, https://github.com/jdstrand/docker-snap/tree/snappy-interfaces (updated snapcraft.yaml for new interfaces) and https://github.com/jdstrand/docker-snap/tree/workaround-lp1626019 (make docker work on classic)19:15
lpotterqengho: whats the login password?19:15
jdstrandlool: the 2nd has everything from the first. You'll still want to upload in devmode I think until snapd with docker/docker-support lands in xenial-updates, but hopefully this helps19:16
qengholpotter: there is no password.19:17
qengholpotter: did you configure?19:17
qengholpotter: Your username is probably your launchpad id. l-p19:19
lpotterI might need to reflash. never got to see the configure screen at first boot. shut it down, changed cmdline.txt19:19
lpotterahh,ok. so it sets up the user, and no user ubuntu now?19:20
nacclpotter: yeah, i think that's correct19:20
jdstrandzyga: fyi, see the trello card and bug #1626019. I thought there was some talk with you and st graber on cleaning up mountinfo so that it only head relevant entries-- if that happened I suspect docker would work without the workaround. that said, with the workaround I think the urgency is not world-burning any more19:21
mupBug #1626019: Docker snap cannot start containers in Classic (but does in Core) <Snappy Launcher:Triaged> <https://launchpad.net/bugs/1626019>19:21
jdstrandratliff, tyhicks: ^19:21
slangasekogra_: in case you didn't see the mail, https://github.com/CanonicalLtd/ubuntu-image/pull/65 awaits your testing19:23
mupPR CanonicalLtd/ubuntu-image#65: Avoid wrong block sizes for an fs we'll resize on first boot anyway <Created by vorlonofportland> <Merged by warsaw> <https://github.com/CanonicalLtd/ubuntu-image/pull/65>19:23
tachyons_"CompressionError: unknown compression type 'xz' " I am getting this error when I am trying to install snapcraft19:26
tachyons_I installed lzma package , But no luck19:26
nacctachyons_: installing snapcraft where?19:27
tachyons_nacc: my laptop19:27
tachyons_ubuntu 16.04 , 64 bit19:27
nacctachyons_: sorry, the release is what i meant, i assume `apt install snapcraft` ?19:27
tachyons_nacc:  sorry , while installing from github19:28
nacctachyons_: ah19:28
* nacc doesn't know about that, unfortunately19:29
naccbut you wouldn't need lzma but xz-utils, iirc19:29
slangasektachyons_, nacc: /usr/lib/python3.5/lzma.py is part of libpython3.5-stdlib, stock in 16.04; sounds like a corrupted python install?19:30
naccyeah, seems weird either way19:32
tachyons_nacc: I installed xz-util too19:33
nacctachyons_: hrm, strange! as slangasek said, it should 'just work', sorry -- you'd have to dig into what is reporting that error19:33
tachyons_I have libpython3-stdlib installed , should install 3.5-stdlib too ?19:34
nacctachyons_: libpython3-stdlib depends on libpython3.5-stdlib19:35
tachyons_https://paste.gnome.org/p3gijqva319:35
naccah19:35
nacclocally compile python?19:35
nacc*compiled19:35
tachyons_seems like error is from python2.7 , Is it an issue with pip ?19:35
tachyons_nacc: No !19:35
nacctachyons_: you might need 'python-lzma'19:36
naccfor 2.7 support19:36
tachyons_nacc: Already instaled , no luck19:37
slangasekpython2.7> none of this should be using python219:38
tachyons_I am a ruby guy  and don't have much idea about python ecosystem :-)19:38
slangasekdon't know how you got things into a state that python2.7 is involved19:38
naccslangasek: that was goign to be my next q19:39
nacctachyons_: snapcraft is python3 based afaict19:39
nacchttps://github.com/snapcore/snapcraft/blob/master/HACKING.md seems to refer to only python3 deps19:39
tachyons_slangasek:  Error message showing python 2.7 , that is why I asked about that19:39
tachyons_I copied steps from Hacking.md19:40
kyrofatachyons_, you might consider simply installing snapcraft, which will pull in the right deps, then just run from source19:40
slangasekyes, that is the shortest path to get you going with snapcraft on 16.0419:41
slangasekhowever, I am worried that these python2 errors imply you have damaged your 16.04 system19:41
nacctachyons_: why is your pip local to your user?19:41
tachyons_kyrofa:  I already have working snapcraft installed from repo , But I need snapcraft sourcecode for some hacks19:42
kyrofatachyons_, right, I understand. I'm just saying snapcraft from source and snapcraft in the archive typically have the same deps19:43
kyrofatachyons_, you could use build-dep if you have source archives enabled, too19:43
tachyons_One doubt , command is pip3 is python3 and pip is for python2, right ?19:44
qenghoogra_: have you ever booted your RPi3 with release image without your serial attached?19:44
slangasektachyons_: you seem to be right about that, indeed - so HACKING.md ought to be updated19:46
kyrofatachyons_, yeah, you can probably safely ignore the HACKING.md. Just make sure the right deps are installed and run path/to/src/bin/snapcraft directly19:48
kyrofaNo need to install it in a venv, etc19:48
tachyons_replaced pip with pip3 , Now it is working19:49
tachyons_Thanks19:49
mupBug #1627175 opened: RPi3 with only HDMI attached never shows subiquity <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1627175>19:50
qengholpotter: Check this bug to see if it matches your experiences. ^19:50
* qengho afk a while.19:51
mupPR snapd#1993 closed: snap: move/clarify Info.Broken <Created by pedronis> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1993>20:17
dduffeylool, slangasek how do you turn off autopilot ... I am using  custom kernel (for a demo) and the autopilot it causing it to loose the network20:44
dduffeyI used to do "snappy config", but I don't see a "snap config"20:44
looldduffey: you cant20:45
looldduffey: config was not readded yet for series 1620:45
mupPR snapd#1992 closed: overlord/state: introduce cleanup support <Created by niemeyer> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1992>20:55
mupPR snapd#1989 closed: tests: build once and install test snap from cache <Created by fgimenez> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1989>20:58
zygajdstrand: I'll check that card next week; what I remebmer about this is that we now properly detach the old root but because old root is still visible we cannot really umount or detach anything else21:49
zygajdstrand: offtopic, this branch was there to test if the unexpected unmount of the core snap is caused by the test that was fiddling with cgroups: https://github.com/snapcore/snap-confine/pull/15221:51
mupPR snap-confine#152: Disable failing test <Created by zyga> <https://github.com/snapcore/snap-confine/pull/152>21:51
zygajdstrand: but as you can see, it failed21:51
zygajdstrand: I'll run another pass in qemu locally (I'll switch to linode next) to try to capture syslog and snap changes when this happens21:51
zygajdstrand: but it also means that I don't reall know what is causing this to fail21:51
zygadduffey: you can disable the snapd.refresh.timer perhaps21:58
zygadduffey: (systemd level timer)21:58
evgenijmalanovWhat i can inistall .snap files ( Ubuntu Touch device23:11
evgenijmalanov.. What i can inistall .snap files ( for Ubuntu Touch device) on desktop23:12
qenghoevgenijmalanov: I don't understand what you want.23:20
mupPR snapcraft#827 opened: Support setting build targets in the maven plugin. Make the maven plu… <Created by evandandrea> <https://github.com/snapcore/snapcraft/pull/827>23:28
oparozDoes "refresh" pick up changes in the beta channel?23:57

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