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

liuxgi have flashed ubuntu core to my SD card for QualComm 410c. I inserted the coard into my system. Can anyone tell me how to let it boot from the SD card instead of the built in android system? thanks00:34
qwasWhat are some disadvantages to using snaps? would there be duplication of dependencies? Say, package X uses Y dependency. package Z uses Y dependency.  Both snaps include Y dependency.00:48
akashSamYaple_: python3, and then in ubuntu 16.04 i call python3-pip, and python3-dev00:54
liuxgfor qualcomm snapdragon board, without network access, it cannot complete the installation. on the board, it does not have the Ethernet, how can I set up the WLAN network? thanks01:28
tzununbekovHi all. Is there a way to install and use Snappy Ubuntu 16.04 without having an account on ubuntu.com?05:10
liuxgmvo, ping06:28
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
mupPR snapd#1888 opened: interfaces: allow special casing for auto-connect until we have assertions <Created by mvo5> <https://github.com/snapcore/snapd/pull/1888>06:47
mvoliuxg: pong06:51
liuxgmvo, I just got a snapdragon 410c board. I have flashed the latetst software at http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/. however, I cannot get the netowork up so that I cannot complete the network config. Do you know how to do it? thanks06:52
mupPR snapd#1884 closed: tests: get the gadget name from snap list <Created by fgimenez> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1884>06:53
liuxgmvo, the board only has a WLAN, but it does not have a ethernet interface for use. May I modify some part of the software to get my WLAM working so that I can connect to the device?06:54
dholbachhery hey06:55
liuxgmvo, ogra_, we are going to have a talk at Qualcom event. I am now trying to build some demos for the board :)06:56
mvoliuxg: its a known issue, sorry that I did not write a followup on that to the list. the console-conf software does not yet support wlan, however mwhudson is working on this AFAIK. in the meantime the workaround is a usb network adapter06:59
mvoliuxg: would the usb (lan) network adaper unblock you? we might also get mwhudson to release a early version of the new wlan code. when do you need this? i.e. when is the event?07:00
mupPR snapd#1876 closed: cmd/snap: make "snap find" error nicer <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/1876>07:01
liuxgmvo, ok. in that case, we probably need to have a ethernet network adapter for it. good to know the workaround. thanks. I am not sure whether it is good to disable console-conf for development software. to developers, it may be a problem.07:02
mupPR snapd#1889 opened: tests: add yakkety test host <Created by mvo5> <https://github.com/snapcore/snapd/pull/1889>07:09
tzununbekovmvo, hey! Could you help me with Ubuntu Snappy 16.04? Trying to figure out if it is required now to have Ubuntu One account to use Snappy07:22
mvotzununbekov: this is the case right now, we are working on local users that are created differently, but the current image needs a u1 account  that is used to setup your local user. the upside is that this is super convinient, i.e. your ssh keys are on the device, your prefered username and we plan to sync the ssh keys in the future so that key update will be totally transparent07:26
tzununbekovmvo, I see, thanks07:28
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
morphispitti: ping07:57
pittimorphis: contentless pong :)07:57
tvossgood morning07:57
morphistvoss, pitti: morning :-)07:57
morphispitti: have a question about systemd and how it sets up /sys/fs/cgroup07:57
pittimorphis: good morning!07:58
morphispitti: we're running systemd on a 3.4 based kernel07:58
morphisits kind of unsupported by upstream, but works07:58
morphisit somehow fails to setup /sys/fs/cgroup on its own on startup so we have to workaround via https://paste.ubuntu.com/23168270/07:59
morphispitti: from what I read in the source it should actually do this on its owner so I am wondering if there might be some hidden thing I am missing in the picture08:00
morphispitti: as further context info, this is systemd 229 as it comes in xenial08:00
pittimorphis: hm, I tried a reasonably modern systemd (~ 220 or so) on 3.4, back then this worked well enough08:00
morphispitti: yeah 219 works like a charm08:00
pittimorphis: ah, is that your /sbin/init wrapper?08:00
morphisyes08:01
pittiit should also mount /proc and /sys etc. on its own08:01
morphisright08:01
pittiwell, you need /sys if you manually mount /sys/fs/cgroup of course, but shouldn't need /proc and /dev08:01
morphisif I don't put this wrapper in place it fails with error message like "too many symlinks on /sys/fs/cgroup"08:01
pittimorphis: so, I can't say off the top of my head, do you have dmesg from a boot with init=/lib/systemd/systemd directly?08:01
pittithat should have some error message08:01
morphisyes08:02
morphispitti: it fails very early: https://paste.ubuntu.com/23168277/08:04
morphisthat are the relevant lines08:04
morphispitti: this somehow looks like its failing to mount a tmpfs on /sys/fs/cgroup08:08
morphisbut it doesn't print out any error message for this08:08
pittimorphis: this might be related to 3.4 not supporting name_to_handle_at() or /proc/<pid>/fdinfo yet?08:09
morphishm, that could it be08:09
pittihttps://github.com/systemd/systemd/blob/master/src/basic/mount-util.c08:10
pittimorphis: these are the helper functions that determine whether a path or a fd is a mount point08:10
morphisthen both fallbacks doesn't seem to work here08:10
pittiit  normally uses name_to_handle_at() as that's the most robust/fastest, then falls back to fdinfo, then falls back to stat9)08:10
pittistat()08:10
pittimorphis: maybe wrap it in strace, to get an idea what it does?08:11
morphisyes, will check that08:11
morphispitti: thanks!08:11
pittimorphis: src/core/mount-setup.c, mount_one() indeed uses path_is_mount_point(), and that matches the error message08:12
morphisyeah08:12
akashhello all im using python3 with pip. the snap creates properly, but when executing the script it says it cant find pip via python in the snap08:13
pittimorphis: are there any actual symlinks involved in that environment?08:13
akashcan someone tell me how to inject pip into the snap its self for use?08:13
morphispitti: no08:14
mwhudsonmvo: hey, i guess now beta is done we should feed you a new console-conf release09:18
mwhudsonmvo: it has wlan support now :)09:18
ogra_mwhudson, copy it over !09:21
mwhudsonogra_: need to upload it first! (am editing changelog now)09:21
ogra_\o/09:21
mwhudsonwoo got my gpg passphrase right first time09:24
mwhudsonogra_:  0.0.16~xenial in https://launchpad.net/~canonical-foundations/+archive/ubuntu/ubuntu-image/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial09:27
ogra_ah, the publisher ...09:30
ogra_(might take a while)09:30
mupPR snapd#1801 closed: snap: make snap download also download the assertions for the snap <Created by mvo5> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/1801>09:30
ogra_mvo, i think you need to re-do (xz) the pi3 image, seeme the xz step is corrupt (nothing to notice on the running image, so i guess only the zeroed parts are affected, but it is ugly)09:36
ogra_*seems09:36
mwhudsonogra_: it published now at last10:06
ogra_do you have access to copy it to the image PPA ?10:07
mwhudsonogra_: no10:08
ogra_done ... waiting for the next publisher now :)10:11
ogra_https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial10:11
ogra_i'll trigger an ubuntu-core build once it is done10:11
mwhudsonzyga: did you get your collab-maint access sorted?10:15
bzoltanogra_: as a snap app developer how can I know what system library I can expect to be on the core snap? Is there a minimal image I can see what packages the snap core is built from?10:28
mvoogra_: sure, lets redo it10:30
mvomwhudson: \o/ for wlan10:30
ogra_bzoltan, since you shouldnt use anything except libc from the core snap thats a moot question .. beyond that there is bug 160843210:34
mupBug #1608432: snaps with type: os should allow publishing of .manifest files <lp-snappy> <Launchpad itself:In Progress by cjwatson> <launchpad-buildd:In Progress by cjwatson> <Snapcraft:Incomplete> <https://launchpad.net/bugs/1608432>10:34
ogra_libc and /bin/sh are the only guaranteed bits in ubuntu-core10:35
pstolowskimvo, hey, you know a lot about systemd & deb packaging - any advice on https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1622045 ? adding #DEBHELPER# didn't fix it. removing the symlinks in the postrm script "manually" caused the problem with these units after re-installing the deb10:35
mupBug #1622045: /etc/systemd/system/multi-user.target.wants/snapd.* symlinks not cleaned up when package is removed/purged <amd64> <apport-bug> <xenial> <snapd (Ubuntu):Triaged> <https://launchpad.net/bugs/1622045>10:35
pstolowskimvo, i mean after reainstalling, the units are disabled10:35
ogra_arent the units conffiles ?10:36
ogra_you need to use the right tools for them if they are10:36
pstolowskiogra_, there are debian/*.service & debian/*socket files for them if that's your question?10:37
mvopstolowski: the lack of #debhelper# looks like a bug in itself10:37
pstolowskiogra_, ah, no i don't see any conffiles declared10:38
mupPR snapd#1861 closed: tests: fixes to actually run the spread tests inside autopkgtest <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1861>10:40
ogra_i think you want the deb-systemd-helper tool in your scripts10:40
ogra_or dh_systemd_*10:41
ogra_(afaik both should work)10:41
ogra_err10:41
ogra_**and* dh_systemd (in debian/rules)10:42
ogra_new ubuntu-core building10:44
bzoltanogra_: thanks, that is clear10:47
ogra_mvo, two things ... steve said we can drop grub from the amd64 rootfs ... i'll do that today ... and i uploaded https://myapps.developer.ubuntu.com/dev/click-apps/5912/ onn the weekend, could you approve it ?11:04
mvoogra_: grub-- ? cool, we still need grub-editenv for now, I can write it natively if we want to get rid of it fully11:05
mvoogra_: and linux-generic-bb +++ !11:06
ogra_hah, thanks ... the mail was fast :)11:06
ogra_(store mail)11:06
ogra_mvo, yeah, i think it would be preferrable if we handle both bootloaders directly from snapd ... but i'll keep grub-common around for now11:07
=== ant__ is now known as antdillon
ogra_mwhudson, ubuntu-core done in case you still want to test (i imagine its EOD for you)11:09
=== bloodearnest_ is now known as bloodearnest
mvoogra_: yeah, SMOP11:11
ogra_yep11:11
TinoGuestpitti: do you know / have an idea when / why would 'systemd' take over a serial console on the device, so that device, after it boots , doesn't have console (uart gpio's) to log in? virtual consoles show up...  any pointers to getty@tty*.service ? I was looking at http://0pointer.de/blog/projects/serial-console.html - but maybe I am missing something else ?11:13
zygamwhudson: not yet, I'll get it sorted out soon11:16
PharmaHello everybody11:19
PharmaI have a question about snappy as a user, hope i will get answer here.11:20
PharmaI'm using ubuntu 16.04 and working as a freelancer on upwork.com and i need to track my working hours. About 6 months ago, their app for tracking working hours failed to work on Linux11:21
PharmaThe problem is - they need this "libnss3_3.19.2.1-0ubuntu0.14.04.2_amd64.deb" so their app can send info about working hours to their server11:22
PharmaSo the question is, can close-sourced programs be packed in snappy too? If yes, can somebody ask/help upwork with snappy for linux users this will be very usefull. thank you guys for your work.11:23
ogra_indeed you can package closed source apps ... snap doesnt care whats inside11:25
PharmaCool, so can somebody with @canonical.com e-mail contact upwork team?11:25
Pharmaif snappy supports all linux distros they would love to switch i guess11:26
ogra_do they use some bug tracking system ? you could file an issuue there and ask them to offer a snap ... we'll happily help here if they drop by or ask on the mailing list11:26
PharmaBut who i'm to tell them about snappy, they will ignore my mail..11:26
Pharmai will check this, if yes i will provide link here so ppl can upvote issue.11:27
ogra_k11:27
PharmaThere is only community forum, users need to have account to write there.11:29
PharmaIf here are people from canonical, please contact upwork linux team >https://www.upwork.com/about/contact/ drop them a message from @canonical.com domain about snappy package for their app, and how this will help them fix their problems with their app for linux users partners@upwork.com11:34
zygaPharma: closed source software can be packed in a snap, just as it can be packed in debs11:35
Pharmazyga, thanks, hope somebody from canonical will notice my message and will do something.11:36
mupPR snapd#1890 opened: tests: add spread test for snap create-key/snap sign <Created by mvo5> <https://github.com/snapcore/snapd/pull/1890>11:38
mupPR snapd#1891 opened: doscs: add create-user documentation <Created by mvo5> <https://github.com/snapcore/snapd/pull/1891>11:39
pittiTinoGuest: this is usually controlled with the console= kernel cmdline argument; any consoles specified there will also get a getty and boot messages11:41
TinoGuestpitti: is this happening "automatically"? getting getty. and enabling console ?11:42
TinoGuestkernel cmd line is ok. i can boot non systemd rootfs, and keep using console on the device11:43
ogra_pitti, seemingly systemd always creates tty1 regardless if we have console= pointing to serial (which is the default on the arm images ... x86 has two console= options11:43
TinoGuestsame kernel , same initramfs, cmd line11:43
ogra_)11:43
pittiTinoGuest: well, what is the actual problem -- you don't get a console on ttyS1, or an unwanted one on tty1, ..?11:44
* ogra_ understood the prob to be the latter11:44
ogra_(but i might misunderstand)11:44
TinoGuestpitti: issue is that console stops at some point of systemd initialisation11:44
ogra_TinoGuest, which one11:45
TinoGuestits actual, serial console on the device. not a virtual console11:45
ogra_on what arch is that ?11:45
ogra_on x86 ones this is expected ...11:45
pittiogra_: right, we statically enable getty on tty111:45
TinoGuestbtw, virtual console is up....11:45
ogra_since we use two console= args there11:45
pittiogra_: so provide a default if console= is not given, or for containers etc.11:45
TinoGuestarch=armhf11:45
ogra_so kernel adn bootloader messages go to the first defined console ... subsequent boot messages (userspace) go to the second defined console=11:46
TinoGuest that doc url talks about serial-getty and just getty11:46
ogra_on armhf we dont really do that11:46
TinoGuestogra_: "we" means Ubuntu Core or Server or Classic?11:48
ogra_i.e. the raspeberry pi images only have "console=ttyS0,115200"  on their cmdline ... so you wont see boot messages on the screen, but a tty will start there as pitti said above11:48
ogra_i'm talking only about ubuntu core images here11:48
ogra_no idea what server or classic do11:48
TinoGuestogra_: maybe changing kernel cmd line would help11:48
ogra_no it wont, as pitti said above, there is a static default for tty111:49
TinoGuestogra_: ttyS0 or tty1 - same serial console ? what is ttyHSL0 ?11:50
ogra_a device name :)11:50
ogra_the tty name really depends on your hardware11:50
=== hikiko is now known as hikiko|ln
ogra_i.e. ... dragoboard (arm64) images use console=ttyMSM0,115200n8 ... rppi2/3 images use console=ttyS0,115200 ...11:51
ogra_whatever your HW normally uses for serial needs to be defined there11:52
TinoGuestogra_: ok.... i got the impression that systemd somehow supressed serial console and kept virtual console (on the monitor attached)11:52
ogra_if you defined the right values for the console= option you should have both11:52
TinoGuestogra_: console= has only one option... this somehow turned into virtual...11:53
ogra_well, whoever ctreated your gadget snap needs to set the right option there ... based on the actual hardware used11:54
pittiyou can specify console= multiple times if you want multiple consoles, the boot output will be multiplexed then11:54
TinoGuestso the difference in "serial-getty@...." and "getty@..."  is not relevant for this?11:54
pittinot really; the latter gets auto-activated by logind when you Ctrl+Alt+Fn (VT switching), serial console don't11:55
pittithat's the main difference AFAIK11:55
TinoGuestogra_: thats why i asked u if u referring to ubuntu core only :-)11:55
ogra_pitti, nope, it wont be multiplexed ...11:55
ogra_it will always only go to one11:55
ogra_if you define two the first is kernel+bootloader, the second is usersapce messages11:55
popeywhat's the equivalent to "snappy enable-classic" now?11:55
ogra_popey, sudo snap install classic --devmode --edge11:56
ogra_popey, sudo classic11:56
pittiogra_: it does get multiplexed11:56
ogra_pitti, thats news to me and alll my installs here disagree :)11:56
pittiat least the initial grub, kernel messages etc, until userspace kicks in11:57
ogra_oh, right11:57
ogra_initial bootloader stuff might ...11:57
popeysweet, thanks ogra_11:57
ogra_kernel messages then go to the first console= though11:57
ogra_and userspace (initd, systemd boot log etc) go to the second11:57
ogra_*initrd11:57
TinoGuestpitti: so when userspace kicks in, u still get serial console msgs, and virtual terminal?11:58
ogra_on that level there is no multiplexing11:58
ogra_TinoGuest, yes, because tty1 is statically hardcoded11:58
ogra_so you get a login prompt on both11:58
TinoGuestyes! thats what i want.... hm somehow i lost it.... ok i will look more into rootfs ....11:59
pittiI see the "Starting..." messages on both, too12:01
pittithat is, in installs without "splash" -- plymouth is of course a wholly different story12:01
ogra_on arm HW ?12:02
ogra_i wonder if there is an arch specific difference here12:02
pittino, x8612:02
ogra_aha12:02
ahayzen_Hi, I've managed to get my code snapped by Launchpad, however when it tries to upload to the store it fails with "Click and Snap packages cannot be mixed."12:06
ahayzen_Now, I already have a click in the store with the old style package name "com.ubuntu.developer.andrew-hayzen.volleyball2d" but the snap is configured to the package name "volleyball2d".12:06
ahayzen_Is the problem that it thinks these two have the same name? Or is this a different issue?12:07
* ogra_ guesses thats a store question12:09
bzoltanogra_:  will snapcraft pull the recommended/suggested packages too for the packages listed in the stage-packages?12:12
ogra_bzoltan, nope, it uses --no-install-recommends ... you need to list them12:13
ogra_also note it doesnt run any maintainer scripts (so alternatives dont get set etc)12:14
bzoltanogra_: I will not do it :) I like it exactly this way .. skinny and light12:14
mupPR snapd#1892 opened: snap,store: capture newest digest from the store, make it DownloadInfo only <Created by pedronis> <https://github.com/snapcore/snapd/pull/1892>12:20
pittibzoltan: note the definition of recommends -- "you can remove a recommended package if you know what you are doing" -- i. e. not a good default12:27
bzoltanpitti: Of course12:36
bzoltanpitti: I am working on to make our IDE package ligher and many of its dependencies pull lots of packages as recommendations what we do not really need... but of course heavy testing follows each removal :)12:37
ogra_mvo, hrm, dropping grub from livecd-rootfs has no effect ...12:47
* ogra_ wonders where it comes from now 12:48
=== hikiko|ln is now known as hikiko
ogra_oh man13:03
ogra_cjwatson, do you have any hint for me how i can remove a package from a task in an already released release ? http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu.xenial/view/head:/system-image defines grub binaries which means they get pulled in regardless13:04
cjwatsonogra_: You can't unfortunately - this is why point releases tend to use metapackages13:06
=== chihchun is now known as chihchun_afk
cjwatsonIt's an awkward deficiency that stems from the way tasks are implemented as fields in the Packages file, combined with the fact that we never republish the release suite after release13:07
ogra_yeah, i remembered that, i just had hopes there is some secret trick13:07
cjwatsonI'm afraid metapackages are the best secret trick I have13:08
ogra_well, except that we dont have them at all for core13:09
ogra_that will be quite a set of changed to livecd-rootfs too13:09
ogra_*changes13:09
ogra_i wonder if i could push a grub package with ripped out task header to the PPA instead ... but that would forever bind us to the PPA13:10
mupPR snapcraft#793 opened: Unify python plugin <Created by SamYaple> <https://github.com/snapcore/snapcraft/pull/793>13:10
=== chihchun_afk is now known as chihchun
argesHi. can somebody triage bug 1621525? I'm wondering how to fix this13:17
mupBug #1621525: classic environment variables for daemon snaps <Snappy:New> <https://launchpad.net/bugs/1621525>13:17
ogra_arges, i think thats a duplicate of bug 158481113:19
mupBug #1584811: Support a snapcraft environment keyword <Snapcraft:In Progress by sergiusens> <https://launchpad.net/bugs/1584811>13:19
argesogra_: well i won't know them when I type snapcraft.13:20
argesthing HTTP_PROXY, which may or may not exist13:20
argesthink13:20
popeysergiusens: have you seen an issue with snapcraft (or the part) where, during make (make plugin) it copies things to stage but under stage followed by my home directory name.. e.g. i end up with /home/alan/Development/Snappy/foo/stage/home/alan/Development/Snappy/foo/parts/bar/build/...  ?13:20
popeysergiusens: I don't understand what's doing that, looks like something is using `pwd`13:21
popeysergiusens: build stage has the dir correctly, seems to fail going build -> stage13:22
cjwatsonogra_: It's indeed not quite trivial but I think it's probably unfortunately what you have to do13:29
ogra_yeah ... *sniff*13:29
ogra_so silly that we picked a task at all for 49 packages (of which i'll drop 6 now)13:30
ogra_cjwatson, oh, i just see there is grub-xen-bin in the list, i think i added it on your request ... is that still needed inside the rootfs ?13:31
=== SamYaple_ is now known as SamYaple
ogra_(technically all bootloaders moved to the gadget snap now ... )13:32
cjwatsonogra_: I just wanted it to be available at all; I don't currently understand gadget snaps, so if that's a more appropriate place then fine13:34
ogra_well, depends how you use it ... if you actually boot an img file the gadget is what you use ... if you'd do something like "kvm --kernel ... --initrd ... --hda ..." that wouldnt use the gadget13:39
* ogra_ has no clue about xen :)13:39
cjwatsonogra_: You normally have a virtualised disk and boot that.13:45
ogra_ok, then i guess you have a gadget in use13:45
cjwatsonogra_: Except that Xen needs to get at the boot loader somehow; there's a protocol for figuring out the right path inside the guest13:46
ogra_and that protocol support is provided by the grub-xen-bin package ?13:47
cjwatsonogra_: It sounds closer to a gadget snap, provided that that can cause files to exist under /boot/xen/13:49
ogra_oh, yeah ...13:49
cjwatson(in the same way that grub-install does when told to install for a Xen target)13:49
ogra_though we dont have that mountoint supported atm ...13:49
ogra_mvo, ^^^13:49
cjwatsonThe protocol in question is documented upstream as https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/misc/x86-xenpv-bootloader.markdown;h=ec8854e6589bcc67e7043410a7157bb0bf481347;hb=HEAD13:50
cjwatson(There are older methods as well - I'm ignoring those since they typically involve more manual work)13:51
ogra_oh what a pain ...14:17
mupPR snapd#1885 closed: tests: add upower-observe spread test <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1885>14:18
diddledano/14:19
sergiusenspopey what project? or is it one of our demos? Can I see snapcraft.yaml for it?14:19
diddledansnapcraft cleanbuild just failed to access http://start.ubuntu.com/connectivity-check.html with "http.client.RemoteDisconnected: Remote end closed connection without response"14:20
popeysergiusens: trying to repeat it14:20
diddledanI'm wondering if it could be network conflict with docker14:20
popeysergiusens: okay, reproduced it. http://paste.ubuntu.com/23169430/ - it's the ptex part which gets built incorrectly14:22
diddledanmy output with additional ifconfig and brctl show as extra info: http://paste.ubuntu.com/23169433/14:23
sergiusensakash try snapcraft 2.17 (if you can from the master repo). It is in the process of being released.14:23
akashsergiusens: thanks can you point me at where/how to get it for ubuntu 16.04, ill give it a shot14:24
sergiusensakash f you are on 16.04; eiter wait for it to be released and it will show up as an update or git clone https://github.com/snapcore/snapcraft.git and look at the .md files in there14:29
zygatyhicks: asdasdaasdasda14:34
tyhicks?14:34
mupPR snapd#1892 closed: snap,store: capture newest digest from the store, make it DownloadInfo only <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1892>14:34
zygatyhicks: sorry :)14:34
zygakeyboard stuck14:34
tyhicksheh :)14:34
zygatyhicks: would you mind lookign at https://github.com/snapcore/snap-confine/pull/13514:35
mupPR snap-confine#135: Add snap-discard-ns <Created by zyga> <https://github.com/snapcore/snap-confine/pull/135>14:35
zygait's pretty short14:35
zygatyhicks: and it will unblock another pull request that actually enables this feature14:36
zygatyhicks: note, unlike snap-confine, snap-discard-ns is not setuid root14:36
tyhickszyga: looking14:37
mupPR snapd#1893 opened: Remove symlinks for systemd units on apt-get purge <Created by stolowski> <https://github.com/snapcore/snapd/pull/1893>14:40
bzoltanogra_:  is there a way to create multi arch snaps?14:52
ogra_bzoltan, you dont really want that ... just create one snap per arch with the same name and upload them14:52
bzoltanogra_: Okey, thanks14:53
ogra_else you end up with a gigantic thing that shiops cruft you will never use14:53
* bzoltan likes poor i386 users14:53
ogra_bzoltan, https://code.launchpad.net/~snappy-dev/+snap/ubuntu-core ...14:53
ogra_take a look at how we do that for ubuntu-core14:53
bzoltanogra_:  thanks, that is useful!14:54
zygatyhicks: thanks for the review, currently only snap-confine creates /run/snapd/15:00
tyhickszyga: ah, sc_initialize_ns_groups() creates it, doesn't it?15:01
zygatyhicks: correct15:01
tyhickszyga: nice - we're all good then15:02
tyhickszyga: I'll follow up in the PR15:02
zygatyhicks: thanks :)15:02
akashsergiusens: thank you very much for the pointer that worked!! At least the app seems to have fired up in devmode, ill see if it functions is strict as well. In devmode it fires up on port 8123 just fine.15:03
mupPR snapd#1894 opened: README.md: tweaks to the spread+qemu instructions <Created by chipaca> <https://github.com/snapcore/snapd/pull/1894>15:04
diddledanI have no idea what I did wrong, but I'm getting "error: cannot find signatures with metadata for snap" when installing a snap I've just created15:19
mupPR snapd#1894 closed: README.md: tweaks to the spread+qemu instructions <Created by chipaca> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/1894>15:20
sergiusenspopey the readme for ptex mentions this: make prefix=$PWD/install15:27
sergiusensin make-parameters you might want to add prefix=$SNAPCRAFT_PART_INSTALL15:27
diddledanoh we're not allowed to install things we make without telling it we really really really want to install a thing we made (--force-dangerous)... o_O15:27
* diddledan pinkyswears that his snap won't be naughty15:28
diddledanright. so corebird needs some new schemas installed into gsettings or it fails to start. how do I go about telling my snap about these settings?15:30
diddledanref: (corebird:26868): GLib-GIO-ERROR **: Settings schema 'org.baedert.corebird' is not installed15:30
seb128diddledan, where is that schemas getting installed in your snap?15:32
diddledanseb128: my point is I don't know how to install the settings, hence why they're not installed15:32
popeysergiusens: will try, thanks15:33
seb128diddledan, usually the upstream make install does that for you15:33
diddledanseb128: the make install might have put the file at /snap/corebird/current/share/glib-2.0/schemas/org.baedert.corebird.gschema.xml ??15:37
diddledanotherwise it's not installed at all15:38
diddledanI think this is the file that should be somewhere: https://github.com/baedert/corebird/blob/master/corebird.gresource.xml15:38
zygatyhicks: this enables namespace sharing https://github.com/snapcore/snap-confine/pull/134/files15:39
mupPR snap-confine#134:  Enable snap-confine namespace sharing <Created by zyga> <https://github.com/snapcore/snap-confine/pull/134>15:39
zygatyhicks: there's one thing that jdstrand suggested that I change (use change profile instead of change hat)15:39
zygatyhicks: I'm worried about interactions between device cgroup and the ns sharing feature though15:39
zygatyhicks, jdstrand: ^^ your review would be appreciated15:40
mhall119zyga: what is the system-wide writable directory for a snap?15:40
popeysergiusens: :( still does it even with that set15:40
zygamhall119: /var/snap/$SNAP_NAME/{common,$SNAP_REVISION} AFAIR15:40
zygatyhicks: and for you specifically; I could really use some insight into https://github.com/snapcore/snap-confine/pull/13315:41
mupPR snap-confine#133: Adjust apparmor policy for compatibility with snap-exec <Blocked> <Created by zyga> <https://github.com/snapcore/snap-confine/pull/133>15:41
mhall119zyga: that's $SNAP_DATA right?15:41
zygamhall119: that's correct15:41
seb128diddledan, that seems about right, you might hit bug #1590831 if you use prefix=/usr and the desktop launcher it should work15:42
mupBug #1590831: having prefix='' by default is non standard and confusing <Snapcraft:New> <snapcraft (Ubuntu):Confirmed> <https://launchpad.net/bugs/1590831>15:42
mhall119zyga: I'm getting some permission errors:15:43
mhall119mhall@mhall-thinkpad:~/projects/Ubuntu/snaps/tomcat/snap$ snap run tomcat15:43
mhall119cp: cannot create regular file '/var/snap/tomcat/x1/conf/jaspic-providers.xsd': Permission denied15:43
mhall119cp: cannot create regular file '/var/snap/tomcat/x1/conf/catalina.policy': Permission denied15:43
mhall119trying to copy files from $SNAP to $SNAP_DATA15:43
mhall119what's odd is that it creates the 'conf' directory just fine, but as user 'root' and then fails to copy files into it15:43
zygamhall119: that directory is only designed for stuff that runs as root15:44
zygamhall119: it's not writable by all users15:44
diddledanseb128: yeah that bug report does look like it might be relevant, thanks15:44
zygamhall119: to "services"15:44
mhall119zyga: should webservices like Tomcat use that or use $SNAP_USER_DATA?15:44
seb128diddledan, yw, comment on it maybe more people hitting the problem is going to convince the snapcraft team that it's an issue15:45
mhall119it will eventually be running as a daemon15:45
mhall119also, why does it allow creating a directory but not files?15:45
zygamhall119: if it's a service it runs as root and it cannot use $SNAP_USER_DATA, it must use $SNAP_DATA15:46
zygastgraber: FYI: https://github.com/snapcore/snap-confine/pull/13415:46
mupPR snap-confine#134:  Enable snap-confine namespace sharing <Created by zyga> <https://github.com/snapcore/snap-confine/pull/134>15:46
zygastgraber: this enables namespace sharing15:46
zygastgraber: I hope it lands today15:46
sergiusenspopey as soon as I defeat my headache in a mental battle with my nemesis (myself) I will help you15:47
tyhickszyga: I'll look at the 'unsafe' change breaking tests and jdstrand will look at the PR where the ns sharing functions are put to use15:48
zygathank you, both of you!15:48
zyga1.0.41 is super close to release, those are the last two things15:48
popeysergiusens: heh :) No worries.15:51
diddledanseb128: that looks to have been that particular issue. now I'm onto dbus :-)15:57
seb128great15:58
seb128what dbus issue do you have?15:58
diddledanGDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.99" is not allowed to own the service "org.baedert.corebird" due to AppArmor policy15:58
seb128that's currently being discussed on the list/being worked on16:00
popeysergiusens: when you're around http://paste.ubuntu.com/23169756/ http://paste.ubuntu.com/23169757/16:00
seb128you need to use devmode as a workaround meanwhile16:00
diddledanaha16:00
diddledanis it this thread?: Accessing dbus (KDE Application) (https://lists.ubuntu.com/archives/snapcraft/2016-September/001070.html)16:01
sergiusenspopey the Makefile seems like a wrapper for cmake, care to ty cmake instead?16:02
popeysergiusens: yeah, it's a bit messy16:02
popeyi *think* i tried that, but will try again16:02
=== chihchun is now known as chihchun_afk
sergiusenspopey just tried, it worked fine16:04
sergiusenswell, built fine16:04
popeysergiusens: thanks16:05
mhall119zyga: http://paste.ubuntu.com/23169779/ is the journalctl output after trying to start my daemon snap service16:05
mhall119any idea why it would be getting a permission denied on accessing it's own files?16:06
zygamhall119: can you look at apparmor denials please, it looks like the problem is $SNAP/conf16:06
* zyga goes to swap GPUs to test without nvidia 16:07
seb128diddledan, yes16:07
kgunnok, i feel kinda dumb, i used to login to my ubuntu-core with login ubuntu/pswd ubuntu, i just created an image, and it says that's wrong...16:08
kgunndid something change?16:08
seb128kgunn, yes, they removed the static user, need to configure it on first boot now16:09
kgunnta16:09
seb128kgunn, which means you need a serial access or a screen+keyboard16:09
mhall119zyga: http://paste.ubuntu.com/23169941/16:13
mhall119can I not run the cp command from my snap?16:13
zygamhall119: looking16:14
zygamhall119: cp is permitted by the default policy16:15
zygamhall119: this is a problem: 619:Sep 12 12:12:08 mhall-thinkpad kernel: [1078687.546925] audit: type=1400 audit(1473696728.358:458747): apparmor="DENIED" operation="capable" profile="snap.tomcat.tomcat" pid=18756 comm="run.sh" capability=1  capname="dac_override"16:16
mhall119zyga: http://paste.ubuntu.com/23169959/ is my snap.yaml http://paste.ubuntu.com/23169799/ is my run.sh16:16
zygamhall119: as is this 638:Sep 12 12:12:08 mhall-thinkpad kernel: [1078688.048110] audit: type=1400 audit(1473696728.862:458748): apparmor="DENIED" operation="capable" profile="snap.tomcat.tomcat" pid=18769 comm="mkdir" capability=1  capname="dac_override"16:16
zygamhall119: looks good16:17
mhall119zyga: note it works when I use $SNAP_USER_DATA but not $SNAP_DATA16:17
zygamhall119: interesting16:18
zygamhall119: I think the problem is that snap-confine is not creating $SNAP_DATA, it only creates snap-user-data16:18
zygaer $SNAP_USER_DATA16:18
zygamhall119: what happens if you manually mkdir -p /var/snap/tomcat/{x1,common}16:19
zygamhall119: keep using $SNAP_DATA please16:19
mhall119/var/snap/tomcat/x1/ and /var/snap/tomcat/common/ are both created when I "snap try ./prime"16:19
zygamhall119: ok16:20
zygamhall119: do you have any idea why tomcat might want dac_override capability16:20
zygamhall119: (we're not granting those!)16:20
mhall119I don't even know what that is16:20
zygamhall119: and check if you have anything owned by root in $HOME/snap16:21
zygamhall119: you can ignore file permissions16:21
mhall119zyga: my user's home?16:21
zygamhall119: yes16:21
mhall119one, but it's not tomcat16:21
zygamhall119: is it /home/$LOGNAME/snap?16:21
mhall119drwxr-xr-x   3 root  root  4.0K Aug 25 16:49 couchbase-beacon16:21
zygahm16:22
mhall119$LOGNAME?16:22
ogra_pitti, so i'm currently switching ubuntu-core from task to metapackage and notice that we still ship systemd-shim in the images ... is that still necessary ?16:22
zygamhall119: env16:22
zygamhall119: env | grep LOGNAME16:22
mhall119ah, yes it is16:22
jdstrandsee CAP_DAC_OVERRIDE in 'man 7 capabilities'16:22
zygamhall119: does it work in devmode?16:23
mhall119zyga: the cp that is failing is from the run.sh I created, before Tomcat's code is even started16:23
jdstrandyou typically see this when a root process is trying to copy files to a user-owned directory that doesn't allow 'other' writes16:23
zygaah, interesting16:23
zygamhall119: well, your run.sh should use $SNAP_DATA because it is a service16:23
mhall119zyga: appears to run with --devmode16:23
zygamhall119: (in the pastebin above it uses $SNAP_USER_DATA)16:24
zygamhall119: change that and try again16:24
mhall119zyga: the current version is http://paste.ubuntu.com/23169984/ which usees ${SNAP_DATA}16:24
zygamhall119: what happens when you run that version?16:24
mhall119it runs with --devmode, but doesn't look like it copies the files to $SNAP_DATA16:27
zygamhall119: can you try without devmode and look at all the denials please16:28
mhall119zyga: http://paste.ubuntu.com/23170006/ is from syslog without --devmode16:29
zygaI think I know16:30
zygajdstrand: this probably fails because snap try and the fact that all of the files are owned by the user, not by root16:30
zygamhall119: can you try to build a real snap, remove the one with try and install the real one without devmode16:31
mhall119yup, snapping it now16:31
zygaif true this would imply that we need to do some tweaks to try16:31
mhall119zyga: indeed it works this way, so 'try' is to blame16:33
zygamhall119: cool, can you please report a bug on snap try and tag it with snapd-interface16:34
zygamhall119: I don't have a solution in my head but perhaps there are ways to address this16:34
mhall119zyga: there is still one apparmor denial http://paste.ubuntu.com/23170012/16:34
zygajdstrand: we might use a different base template for trymode snaps16:34
zygamhall119: we don't allow to run /usr/bin/tty16:35
zygamhall119: please report that as a separate bug16:35
mhall119ok16:35
zygamhall119: alternatively bundle tty in your snap16:35
jdstrandmhall119: I'll add /usr/bin/tty16:36
jdstrandI'd really rather not use a different base template if we can at all help it16:37
kgunnjust checking, haven't tested, but in latest 16 ubuntu-core, should i still be expected to manually connect autoconnections?16:37
jdstrandthat would be confusing for triaging16:37
jdstrandand diagnosing problems16:37
jdstrandsnap try should probably copy all the files and chown root:root all of them, just like how snapcraft snap uses -all-root16:38
elopiolool: can we not merge the snapcraft revert yet? In your branch you are building for amd64 only anyway.16:41
elopioif we solve the phantomjs thing, and do the download on pull, we could build in launchpad.16:41
loolelopio: crap I committed that? that's a mistake16:41
loolelopio: I dont want to fight phantomjs for each architecture16:41
ogra_elopio, FYI, the linux-generic-bbb package is now approved and available in the store in the edge channel16:41
elopioogra_: \o/16:42
ogra_next is gadget :)16:42
elopioI left mine at home, sadly. I will try it on friday.16:42
ogra_if i ever manage to get done with this switch from task to metapackage in ubuntu-core :/16:42
ogra_such a pain ... why did we ever decide to not use metapackages but tasks16:42
mupBug #1622639 opened: Snap access to /dev/uinput <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1622639>16:43
loolelopio: I've reverted the build.sh arch changes; that was just for local builds16:43
loolelopio: I've pushed a rebased version16:44
elopiolool: please also run go fmt16:44
loolelopio: hmm it's a no-op16:45
loolelopio: ah nevermind16:46
elopioweird, the travis static check is failing.16:46
loolelopio: ok fixed; was just a newline  :-(16:51
mupBug #1622685 opened: snap try fails on user ownership of files in the testing directory <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1622685>17:04
mhall119woohoo! my tomcat snap is working18:18
mhall119thanks for all the help zyga18:19
kyrofamhall119, who's in charge of the snapcraft.io text?18:22
kyrofaAnd can I log bugs against it?18:22
zygakyrofa: it's a github project18:22
kyrofazyga, are bugs handled over there, then?18:22
zygakyrofa: don't remember which but I'd love to know18:22
kyrofaYeah okay, back to you mhall119 ;)18:23
zygamhall119: my pleasure thank you for doing the work :)18:23
kyrofadavidcalle, you might know as well?18:23
mhall119kyrofa: thibautr_ is I think18:26
mhall119zyga: is there a way to do one-time setup on install?18:27
mhall119or a snap18:27
mhall119s/or/of/18:28
mhall119basically I need to copy some files from $SNAP to $SNAP_DATA for tomcat to work, but it only needs to be done once18:28
thibautr_Zyga bugs you can raise on snapcraft.io itaelf18:31
kyrofathibautr_, ah, the "report a bug on this site"?18:32
thibautr_davidcalle can point you to the github repo for the doc otherwise18:33
thibautr_That's the one18:33
thibautr_I would if I wasn't on my mobile phone 😁18:33
kyrofathibautr_, excellent, thank you!18:34
loolelopio: I pushed a dependencies update18:45
zygamhall119: not at present18:55
loolelopio: there seems to be another static test error with Init(); I dont have time to look into this tonight18:59
loolelopio: also, coverage is down but that's because I removed a lot of code :-)18:59
mhall119zyga: ok19:00
loolelopio: keeping in mind the current version doesn't work at all, could we force this in and fix the remaining issues as an update?19:00
ogra_cprov, hmm, what else beyond grade chnaged in the store recently ... if i try to install ubuntu core from edge (590) i get offered the version from beta (524) ...19:00
beowulfhi, what is the app dev email list address for snappy?19:00
ogra_there seems to be no way to actually get anything newer than what was released to beta19:01
cprovogra_: nothing specific, but let me check the publishing history.19:01
ogra_bug 1621843 seems related19:03
mupBug #1621843: no way to switch ubuntu-core to --edge on images <Snappy:New> <https://launchpad.net/bugs/1621843>19:03
beowulfcan anyone tell me which plug to use for apparmor denials for "trace" http://pastebin.com/4RfBgPkp19:03
ogra_(i thought it was an image issue ... but i noted that i cant even build any images from edge ... all ubuntu-image gets when setting -c edge is 524)19:04
ogra_beowulf, snapcraft@lists.snapcraft.io is the ML address19:04
beowulfogra_: thanks19:04
jdstrandbeowulf: trace denial with ps is harmless. seems like you want to use 'system-observe' which will allow ps and silence the denial19:05
cprovogra_: 590 (amd64) should be published on edge, let me dig a little I have a suspicious (it's not related to new changes, but instead with publishing snaps with huge revisions history)19:05
beowulfjdstrand: thanks19:06
ogra_cprov, thanks fo checking !19:06
jdstrandbeowulf: seems you also want 'network'19:06
jdstrandbased on the resolvconf denial19:07
cprovogra_: can you please check if amd64 is working now ?19:19
ogra_trying ... that takes a while though19:19
ogra_hmm, well, now ubuntu-image exploded ... so i guess something store-side changed :)19:21
ogra_cprov, sorry, i seem to get something else now but since ubuntu-image as well as ubuntu-device-flash explode now it is hard to tell which version i get ... none of them print it19:22
cprovogra_: np, amd64 should be ok now, r590. I will debug further ..19:23
ogra_yeah, sudo snap install ubuntu-core --edge gets me 590 inside an old image now19:25
ogra_seems to work for amd6419:25
ogra_arm64 and armhf still dont though19:25
cprovogra_: all fixed now.19:36
ogra_cprov, \o/19:36
ogra_i get fresh snaps19:36
cprovogra_: sorry for the trouble, we will figure out how to prevent this hiccup :-/19:36
ogra_cprov, i guess we can close 1621843 then :)19:37
cprovogra_: no, I will reassign it to sca, it is still a bug19:38
ogra_ogra@dragonboard:~$ snap list ubuntu-core19:38
ogra_Name         Version  Rev  Developer  Notes19:38
ogra_ubuntu-core  16.04.1  593  canonical  -19:38
ogra_yay19:38
ogra_and it seems my hackery didnt break ubuntu-core :)19:39
ogra_and armhf works too19:41
ogra_ogra@pi3:~$ snap list ubuntu-core19:41
ogra_Name         Version  Rev  Developer  Notes19:41
ogra_ubuntu-core  16.04.1  591  canonical  -19:41
mupBug #1621843 changed: no way to switch ubuntu-core to --edge on images <Software Center Agent:Triaged by cprov> <https://launchpad.net/bugs/1621843>19:41
mupPR snapd#1895 opened: store: refactor auth/refresh tests <Created by matiasb> <https://github.com/snapcore/snapd/pull/1895>19:41
ogra_slangasek, so i dropped grub now ... (and had switch from task to metapackage etc etc ... horrid day, dont ask...) i note that /boot/grub/unicode.pf2 isnt there anymore with dropping of the binaries (along with /boot/grub for which i just uploaded a livecd-rootfs fix ... do you know if thats harmful ? and do we need to ship that fuile in the gadget then ?19:43
ogra_*and had *to*19:43
jdstrandzyga: hey, does 'retest this please' still work with snapd?19:49
pedronisjdstrand: no, we have only travis now19:53
pedronisthat command was for the bot managed stuff19:53
jdstrandI see19:53
jdstrandok, thanks19:53
elopiolool: I'm grumpy everytime we land something with failing tests. Do we need this out today for some reason?19:54
nsgHello, started to play with snapcraft a day ago and I just packaged minecraft "just-for-fun" ... what do think, is is a good idea to share it? No software is bundled, it is just a download script. What do think, is a "minecraft-nsg" snap okay?19:58
nsg(bash script that downloads the jar (launcher) and Oracle JDK, on the users computer)19:59
kyrofansg, so it's a minecraft installer, not minecraft20:00
kyrofa?20:00
nsgcorrect20:00
kyrofansg, no downside to sharing, though I'm curious: why not just package minecraft itself?20:01
nsgor, possible a oracle jdk and minecraft installer :)20:01
nsgI do not think we are allowed to distribute the software, or?20:01
ogra_slangasek, oh, i see where that file comes from (grub-common) ... i added code to livecd-rootfs that copies it in place now ... so ignore the above20:01
nsgI was thinking, consider that oracle likes you to accept the license and that I have worked around that problem to download it with wget ... maybe some type of "do you accept the oracle license dialog" is needed? So the installing user has to agree.20:04
kyrofansg, ah, of course20:04
kyrofansg, yeah I'm not qualified to answer those questions at all :)20:04
kyrofaNow I see where your original question is coming from20:05
kyrofaIn which case my real answer is: no idea :P20:05
nsghehe20:05
=== nsg is now known as nsg__
=== nsg_ is now known as nsg
elopiolool: I will land this one: https://github.com/snapcore/snapweb/pull/5620:30
mupPR snapweb#56: Revert snapcraft <Created by elopio> <https://github.com/snapcore/snapweb/pull/56>20:30
elopiothen your diff will be smaller, and I removed one of the tests that were failing for you.20:30
jdstrandzyga: hey, it you're still around, can you discuss the motivation behind https://github.com/snapcore/snapd/pull/1848?20:35
mupPR snapd#1848: snap: ensure that plug and slot names are unique <Created by zyga> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1848>20:35
jdstrandzyga: it breaks the ongoing docker PR20:36
jdstrandzyga: see https://github.com/snapcore/snapd/pull/1848#issuecomment-24648281920:36
mupPR snapd#1848: snap: ensure that plug and slot names are unique <Created by zyga> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1848>20:36
popeysergiusens: why can I not do "cleanbuild" _and_ "--no-parallel-build" ?20:42
sergiusenspopey that's not supported, probably a bug, but --no-parallel-build is deprecated in favor of a per part switch to disable it20:43
popeyoh okay20:43
popeythat'll do :)20:43
qenghoWhat's the deal with X fonts from snaps these days?20:44
qenghoIncluding fonts in snap packages seems crazy.20:44
qengho(Not to mention, the MSFT Core Fonts installer package doesn't get to run its postinst downloader, in a staged package.)20:45
sergiusenspopey add `disable-parallel: on` to the part that needs parallel disabled20:45
popeyta20:45
sergiusensqengho iirc zyga was working on an interface for that20:46
nsghum, I'm missing something? ... "sha256sum $SNAP_USER_DATA/my.file" is blocked by apparmor.21:05
nsg... name="/usr/bin/sha256sum" pid=3910 comm="launch" requested_mask="r" denied_mask="r" fsuid=1000 ouid=021:05
mwhudsonogra_: hey, did the wifi stuff work?21:10
ogra_mwhudson, dunno yet ... the woorld exploded when i trie to remove grub from x86 and found out that we only use tasks ... so i had to port everything to use a metapackage ... still dealing with the fallout here21:11
mwhudsonogra_: no rest for the wicked21:12
ogra_heh21:12
nsginteresting, md5sum works but sha256sum and sha1sum was blocked by apparmor.21:17
jdstrandnsg: that is just an omission. I've noted it and will get it fixed21:18
nsgah, thx!21:18
jdstrandI'm seriously surprised that isn't there...21:19
nsggot a little confused there for a while, assumed I did someting wrong :)21:19
jdstrandanyhoo, I'll fix it21:19
jdstrandnsg: in the meantime, you can just include them in your snap21:19
nsgI will use good-old-broken md5 while I wait :)21:19
nsgah, that's a idea!21:19
jdstrandnsg: I'll make sure it gets committed this week21:21
jdstrandto trunk21:21
jdstrandit'll float into Ubuntu or the distro of your choice some time after that21:21
nsgsounds good, looking forward to that21:22
=== prince is now known as Guest2309
looljdstrand: hey I wanted to ask about the kernel_module_control interface; wouldn't that be enough for docker?21:40
loolelopio: your pull request is not enough to get it to start on boot21:43
jdstrandlool: that is an extremely privileged interface. yes, it would work, but we'd want to remove it immediately before GA. note, JamieBennett said in the bug the kernel module backend would be done for GA21:44
ogra_oh man !21:47
* ogra_ wasted 2/3 of his workday because he didnt notice thet the ubuntu-image he used was the deb version 21:48
elopiolool: I know. But now it will be easier to understand why yours is failing the unit tests21:59
ogra_cprov, hmm, could you do that magic again ? i'm now stuck at 590 which had a bug despite there being 594 being published22:07
cprovogra_: sure, one sec22:10
cprovogra_: fixed22:13
* ogra_ hugs cprov 22:13
cprovogra_: ftr, it's just a matter of scrolling down the revision page and hit 'unpublish' then 'publish'. God, this is embarrassing and has to be fixed asap.22:14
ogra_cprov, oh, if i know that then thats no issue for me to do that myself ...22:15
popeyhm, cleanbuild is barfing with a bizarre error22:18
popeyhttp://paste.ubuntu.com/23171253/22:18
popey"error: not found (not a fingerprint, partial fingerprint (first 12 chars) or valid alias)22:18
popeyfound https://github.com/lxc/lxd/issues/2094 from stgraber which indicates the error message *used* to be even more incomprehensible than it is now :)22:18
popeysergiusens: is ^ this a snapcraft bug, not interpreting lxc errors nicely?22:19
stgraberpopey: any chance you can have it show you what it passed to "lxc launch"?22:19
SamYaplehey guys. soooo i ran into a pretty funny problem https://github.com/snapcore/snapcraft/pull/79322:19
mupPR snapcraft#793: Unify python plugin <Created by SamYaple> <https://github.com/snapcore/snapcraft/pull/793>22:19
popeystgraber: no idea.22:20
SamYapletotal coverage has decreased in that commit.... but all the files are 100% converage'd22:20
qenghoIck. I think a system snap broke my pi3. I think it was running pi2 version. Still sad.22:20
SamYaplehttps://coveralls.io/builds/785296222:20
SamYaplelook. all the changed files are 100% covered, but te total percentage droped :)22:21
popeystgraber: repeatedly running ps shows me "lxc remote add pro-joey https://images.linuxcontainers.org:8443"22:21
qenghoOn boot, I got a newfangled green and purple text-based configuration interface, and it doesn't make it past DHCPv4.22:22
popeystgraber: happy to share my IP with you if you can see the other end logs22:22
stgraberpopey: well, I could until last week when that was moved to IS infrastructure :)22:22
popeyhaha22:22
popeybummer22:22
ogra_qengho, ogt a network cable plugged in ?22:24
popeystgraber: caught it... lxc launch -e chief-lynx:ubuntu/xenial/amd64 snapcraft-firmly-fond-ram22:24
ogra_qengho, the screen is the new config UI ... now that the ubuntu user is gone ...22:24
ogra_qengho, flowers go to mwhudson :)22:24
popeystgraber: so it does a remote add then a launch with that name22:24
stgraberpopey: hmm, seems to be working fine here though22:26
stgraberpopey: so yeah, it seems to be adding a new remote with a random name using images.linuxcontainers.org:8443 and then fetch the ubuntu/xenial/amd64 image from it, but AFAICT this all works fine and that's a valid image name22:27
stgraberpopey: does it reliably fail for you?22:27
popeyyes22:27
popeywas working fine an hour or so ago22:27
stgraberpopey: oh, fun, looks like the uk server is busted somehow22:28
stgraberstgraber@dakara:~$ lxc image info uk-images:ubuntu/xenial/amd6422:29
stgrabererror: not found (not a fingerprint, partial fingerprint (first 12 chars) or valid alias)22:29
stgraberstgraber@dakara:~$ lxc image info us-images:ubuntu/xenial/amd6422:29
stgraberFingerprint: f18647f5280c3ca50ddec7a112bb4794b6b53f73d05c8c0a63316b77689a424922:29
popey\o/22:29
ogra_must be because IS wears gloves all day ... they dont leave fingerprints22:29
ogra_:P22:29
popeystgraber: I do need to file an RT or something?22:30
stgraberpopey: ok, so I'm not 100% sure whether it's an actual problem on the IS side or if we just got very unlucky and they somehow rsynced right at the time where the aliases weren't on the disk on my end22:30
qenghoogra_: I did have a cabling problem. My son unplugged the hub.22:30
ogra_hah22:30
qenghoAll better now.22:30
popeystill reliably failing here22:31
* qengho hangs head in shame.22:31
stgraberpopey: so I'm waiting for the next rsync from the UK frontend, then we can re-test, if it's still busted, it'll be an RT, if not, it'll be a bug on my end to reduce the update window even more22:31
popeyok22:31
stgraberpopey: yeah, they sync once an hour, let me figure out when exactly22:31
qenghoThat automatic user generation and ssh keying is BLOWING MY MIND.22:32
stgraberpopey: yup, logs on my end does show a lot of rsync errors from that UK server, next sync in 19 minutes, that will hopefully fix things22:32
popeyok22:33
popeythanks stgraber22:33
popeythanks stgraber22:35
popeyoops22:35
ogra_i wonder if there is something in general with the DC22:35
ogra_https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+build/10743027 ...22:36
ogra_"Syncing the system clock with the buildd NTP service..."22:36
ogra_since 12 min22:36
cjwatsonOther builders have proceeded since then.22:37
ogra_ah, it moves now22:38
stgraberpopey: try now?22:56
popeystgraber: that's better :)22:59
popeythanks22:59
stgrabercool22:59
stgraberwill have to see how to further shrink the race window, but it's below 1s already... best would be for the mirrors to be push mirrors instead of them pulling from me22:59
popeyI'll leave that with you then :)23:02
mupBug #1622782 opened: 'snap install' return code unhelpful <canonical-is> <Snappy:New> <https://launchpad.net/bugs/1622782>23:19

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