/srv/irclogs.ubuntu.com/2017/08/11/#snappy.txt

mupIssue snapcraft#1464 closed: Extract rosdep into its own package <designed> <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1464>00:05
mupPR snapcraft#1392 closed: catkin plugin: extract rosdep into new package <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1392>00:05
mupPR snapcraft#1479 opened: rosdep: add support for multiple dependency types <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1479>00:08
slangasekmwhudson: I think it's reasonable for the Debian debian/changelog to list Ubuntu history also, yes00:22
mwhudsonslangasek: ok00:22
mwhudsonwhat is usr/lib/snapd/system-shutdown for?00:27
mwhudsoni have a guess that it might only be relevant on an all-core system?00:27
PhoenixMageHi guys, when I set LD_LIBRARY_PATH in a yaml do I have to put the original library paths in also?00:48
mwhudsonAug 11 00:14:29 autopkgtest snapd[2412]: 2017/08/11 00:14:29.874892 task.go:303: DEBUG: 2017-08-11T00:14:29Z ERROR received an unexpected http response code (416) when trying to download https://068ed04f23.site.internapcdn.net/download-snap/99T7MUlRhtI3U0QFgl5mXXESAiSwt776_2465.snap?t=2017-08-11T02:00:00Z&h=ac56e373310e0069784f61009d0bad0e6c52979501:20
mwhudson^ this is happening apparently repeatedly in the i386 autopkgtest, is it possible that something is broken with the i386 core snap or the cdn?01:20
mwhudsonoh wait01:31
=== chihchun_afk is now known as chihchun
mupPR snapcraft#1480 opened: beta <Created by snappy-m-o> <https://github.com/snapcore/snapcraft/pull/1480>04:46
mupPR snapd#3709 closed: release: snapd 2.27 release <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3709>06:06
jjohansen1ikey|afk: apparmor depends (selects actually) CONFIG_AUDIT, it does not depend on CONFIG_AUDITSYSCALL06:27
mupPR snapd#3713 opened: osutil: ensure TestLockUnlockWorks uses supported flock <Created by mvo5> <https://github.com/snapcore/snapd/pull/3713>07:04
mupPR snapd#3711 closed: tests: adding extra worker for fedora <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3711>07:05
mupPR snapd#3703 closed: interfaces: improve and tweak bunch of interfaces test cases <Created by adglkh> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3703>07:07
mupPR snapd#3701 closed: tests: fix interfaces-cups-control test <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3701>07:12
zyga-susegood morning07:35
mupPR snapd#3675 closed: tests: restart snapd to ensure re-exec settings are applied <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3675>07:57
arm1enacc: You still there?08:05
mupPR snapd#3704 closed: interfaces: convert lxd to common iface <Created by adglkh> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3704>08:08
arm1ecan anyone help with creating a snap please.08:38
* zyga-suse reboots08:40
=== ikey|afk is now known as ikey
mvoarm1e: hey, any specific question abut snapping ? its probably best to just ask the question :) then people can reply when they see the message. in any case, did you check out https://tutorials.ubuntu.com/tutorial/create-your-first-snap#0 already?08:57
arm1eokay. I am trying to compile a snap for get_iplayer. I have started the yaml file and added the run dependencies but to install you are supposed to run the following08:58
arm1e install -m 755 ./get_iplayer /usr/local/bin08:58
arm1ehow to i set that in the snap?08:58
arm1eFollowing the instructtions here btw: https://github.com/get-iplayer/get_iplayer/wiki/unix08:59
zyga-susemvo: hey09:01
zyga-susemvo: do you have a second?09:01
zyga-susemvo: well, honestly, 5 minutes09:01
mvoarm1e: if you just want to make get_iplayer available you can use e.g. the organize rule in snapcraft to put it into the snap, there is no need to install it to /usr/local/bin, it just need to be in the snap (well, at least that is what I assume, I don't know get_iplayer)09:01
mvozyga-suse: sure09:01
mvozyga-suse: phonecall or chat?09:02
zyga-susemvo: hangout09:02
zyga-suseI want to screen-share09:02
arm1ei am confused. (sorry)09:02
zyga-suseI'm in the standup HO09:02
Chipacaarm1e: if I remember get_iplayer, you don't need to run that install step, you can just run it from where it is09:04
arm1eChipaca: so how do i snap it?09:04
Chipacaarm1e: doesn't it have a Makefile though?09:04
ogra_it does09:04
arm1eno mention in the doc, but will check09:05
ogra_Chipaca, seems it is a perl program ... that will need some extra fiddling to have perl work09:05
Chipacaarm1e: if it has a makefile, I _think_ snapcraft knows how to deal with it09:05
ogra_(at least if there asre any modules involved)09:05
arm1efound one09:05
Chipacaogra_: i remember i played with snapping it "by hand" (before snapcraft) and indeed the tricky bit was the perl libs09:06
Chipacabut not super tricky, just more effort than i wanted back then :-)09:06
ogra_yeah09:06
Chipacaogra_: also ffmpeg09:06
ogra_(my first snap was also a perl thing)09:06
arm1ehttps://github.com/get-iplayer/get_iplayer/blob/master/Makefile09:06
Chipaca(but that's optional)09:06
Chipacaarm1e: are you using snapcraft09:06
arm1eI have installed ffmpeg 3 from the ppa on the host machine09:06
arm1eChipaca: yes09:07
arm1ehere is my yaml file so far (be gentle, it is my first time!)09:07
Chipacaarm1e: snapcraft has a make plugin09:07
arm1ehttps://pastebin.com/Xv56Qn7K09:08
Chipacaarm1e: you should be able to use plugin: make instead of plugin: dump09:10
arm1ejust trying that09:10
Chipacaarm1e: but somebody who groks snapcraft more than me should probably guide you09:10
Chipacaarm1e: https://snapcraft.io/docs/reference/plugins/make09:10
arm1eokay, pulling now09:16
arm1eChipaca: error https://pastebin.com/QqebESbn09:19
Chipacaarm1e: looks like you need to tell it what to install manually (why even have a makefile?!). Fortunately the plugin supports this?09:20
arm1ehow do i do it?09:20
arm1eis it the artifacts tag?09:21
arm1ereally stuck now09:24
Chipacaarm1e: did the examples help?09:31
arm1ewhat examles?09:31
arm1eChipaca: I cant work out the syntax for the make plugin09:34
arm1eChipaca: all I get is 'Mapping values are not allowed'09:37
* zyga-suse tries this on artful09:38
* ikey cracks knuckles to begin another snapfest solus day09:41
zyga-susehey09:42
zyga-suse:)09:42
ikeyheya ^^09:42
arm1eChipaca: the examples for make linked on the snapcraft page do not lead to anything other than a github error!09:42
Saviqkalikiana: hey, for some reason container builds (not cleanbuild) stopped working here, complain about snap/snapcraft.yaml missing, any ideas?09:44
Saviqit works the first time, but not after the container already exists09:44
arm1eCan anyone help with the syntax for the make plugin please?09:45
kalikianaSaviq: What version are you running?09:45
Chipacaarm1e: ouch09:46
arm1eChipaca: what?09:46
Chipacasergiusens_: ^ who's working on that?09:46
Chipacaarm1e: <arm1e> Chipaca: the examples for make linked on the snapcraft page do not lead to anything other than a github error!09:46
arm1eI know, not the best documentation is it09:47
arm1eANy ideas how i can find examples?09:47
* arm1e starts to regret beginning this work09:49
pedronisChipaca: hi, maybe you can give a 2nd/3rd review to:  snapd#371209:51
mupPR snapd#3712: overlord,store: send model assertion when setting up device sessions <Created by matiasb> <https://github.com/snapcore/snapd/pull/3712>09:51
* zyga-suse reviews 3710 while waiting for packages downloads09:52
arm1ecan someone please help me with the syntax to use options for plugins09:57
zyga-susemvo: the test passes on artful and I can now compare the behavior09:59
zyga-susearm1e: hey09:59
zyga-susearm1e: which options for which plugin specifically?09:59
zyga-susearm1e: (I'm sorry for the bad experience you had so far)10:00
zyga-susequick question, does anyone remember that snap which had a fancy music player installed?10:01
ikeyarm1e, see https://github.com/jeteokeeffe/lindacoin-wallet-snap/blob/master/snap/snapcraft.yaml#L6110:02
zyga-suseikey: FYI I get the "bad system call" from duckmarines on ubuntu 17.1010:02
ikeythere is an example there of make/autotools/organise/artifacts + dump10:02
ikeyzyga-suse, oh interesting10:02
arm1ezyga-suse: I am having trouble with the build steps in make as the make file is crap. I need to specify the installation location10:02
zyga-susearm1e: snapcraft sets DESTDIR I think10:02
ikeyzyga-suse, the makefile is release-only10:02
ikeyno actual install steps10:02
ikeyso its a manual install of a perl script and manpage10:03
ikeyi.e. "./get_iplayer" needs organising into usr/bin10:03
zyga-suseaha....10:03
arm1ezyga-suse: https://pastebin.com/Xv56Qn7K10:03
zyga-susewhy don't you just run the get script and package the results?10:03
arm1ezyga-suse: I dont know how. I have not packaged before10:03
zyga-susearm1e: some syntax there looks wonky10:03
zyga-susearm1e: tabs vs spaces maybe?10:03
ikeyand !yaml10:03
zyga-susearm1e: my suggestion, skip the downloader, just get the bits you want to put into the snap10:04
arm1ethis was the error https://pastebin.com/QqebESbn10:04
zyga-susearm1e: using stage-packages means you get unpacked deb files into your snap, those are not always going to work10:04
zyga-susemake: *** No rule to make target 'install'. Stop.10:04
arm1eno, but I made sure that I had the correct versions mentioned in the get_iplayer docs10:05
zyga-susearm1e: I don't see how you use a makefile since the earlier pastebin used the dump plugin10:05
arm1eit was an old version10:05
arm1ehang on a sec...10:05
zyga-suseI packaged python0 as a classic snap a while ago10:05
zyga-susehttps://github.com/zyga/python010:05
zyga-suseusing make10:05
zyga-susemaybe that will help you out10:05
ikey0.9.1.. damn..10:06
zyga-suse:D10:06
zyga-suseand so small :D10:06
zyga-suseI was researching bytecode evolution across python versions10:06
ikeyah10:06
zyga-suseikey: try it, it is interesting10:06
zyga-suseikey: ldd the binary10:06
zyga-suseikey: and readelf the binary10:06
ikeysure10:07
ikeywoa.10:07
arm1ehttps://pastebin.com/A9Bi4UTJ10:07
ikeyonly 2 DT_NEEDED10:07
zyga-susearm1e: yaml still looks wonky10:07
zyga-susearm1e: line 1510:07
zyga-suseikey: note how it links to the core snap10:08
arm1ezyga-suse: Not like that in my text editor tho10:08
zyga-susearm1e: fix your editor10:09
ikeyzyga-suse, it does?10:09
zyga-susearm1e: you must be mixing tabs and spaces10:09
ikeyldd on python0 https://hastebin.com/takerojuvi.go10:09
ikeywait im being a twit10:09
ikeyi think i ldd'd the wrong guy :P10:09
ikeylol yeah i ldd'd the bin/ symlink10:09
ikey/snap/core/current/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 (0x00007fdb2220f000)10:10
arm1ehttps://hastebin.com/esilogacib.cs10:10
arm1epastebin is crap10:10
ikeyah you RPATH'd it10:10
zyga-suseikey: more than that10:10
zyga-suseikey: look at the dynamic linker10:10
ikeyyea10:10
zyga-suse:-)10:11
ikeypretty snazzy10:11
ikeyfwiw solus uses a different linker location to most10:11
ikey/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /usr/lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.14.32, BuildID[sha1]=06de7bdeae201f41009ee0ce7d0bfd4bd9748907, stripped, with debug_info10:11
zyga-suseoh, interesting!10:11
ikeybut we have a compat link stuffed in /lib/10:11
zyga-suseaha10:11
ikeyto keep chrome etc going10:11
ikeythe toolchain itself is built to use /usr only10:11
ikeyhttps://hastebin.com/eluzuyetiq.go :D10:12
arm1ezyga-suse: could you talk me through what I should be doing next please10:13
arm1eI am feeling lost10:13
arm1eikey: I am learning this to be able to snap gnucash (evetually....maybe) to be able to runit in bloody solus!10:13
ikeyheh10:13
ikeyyeah they dont like using modern libs10:14
zyga-suseikey: as for duckmarines10:14
zyga-suseif you add one line to its seccomp profile and rebuilt it will work10:14
arm1eikey: I know, but I have my accounts on the thing. Tried to move away but cant10:14
ikeywell what im seeing for python0 is this:10:14
ikeycannot change profile for the next exec call: No such file or directory10:14
zyga-suseI think the author made this snap and we broke compatibility by restricting sockets more10:14
ikeywhich means this fails:10:15
ikeyif (aa_change_onexec(profile) < 0) {10:15
zyga-suseikey: odd, python0 should not need that10:15
zyga-suseor maybe I forgot and it does10:15
ikeywhich is coming from:10:15
ikeyopen("/proc/18856/attr/exec", O_WRONLY) = 310:15
ikeywrite(3, "exec snap.python0.python0", 25) = -1 ENOENT (No such file or directory)10:15
zyga-suseright10:15
zyga-suseit apparently does need that10:15
zyga-susejust that the profile is permissive10:15
zyga-suseikey: as for the netlink socket10:15
ikeyah yeah10:16
zyga-suseikey: I added "socket AF_NETLINK -  NETLINK_KOBJECT_UEVENT" to snap.duckmarines.duckmarines.src10:16
ikeyyeah makes sense10:16
zyga-suseand re-built that with snap-seccomp compile foo.src foo.bin10:16
Saviqkalikiana: 2.3310:16
zyga-susemvo: ^ any objection if I add go-flags to snap-seccomp10:16
* arm1e Washes hand so that it can be held as he is led through packaging to help cure his ineptitude10:16
zyga-suseand this made it start up OK10:17
ikeyfwiw im getting the profile change issue on *all* snaps10:17
ikeyeven duckmarines10:17
zyga-suseright, I think you are missing something in the kernel still, you just don't have the attr/exec file in proc right?10:17
ikeyno i have it10:17
ikey/proc/7233/attr/exec for my shell exists10:18
ikeycat /proc/$$/attr/exec10:18
ikeycat: /proc/7233/attr/exec: Invalid argument10:18
zyga-susehmmm10:18
zyga-suseah10:18
zyga-suseright10:18
ikeyits an empty file - no idea what its meant to do/have10:18
zyga-susesorry so this is because the thing that gets written there10:18
ikeyyeah10:18
zyga-susethe name of the apparmor profile to use10:18
zyga-susesuch profile doesn't exist10:18
Saviqkalikiana: it's as if it's not entering /root/build_multipass - it's mounted fine10:18
ikeyand the kernel cries about it10:18
zyga-susebecause snapd didn't make one10:18
zyga-susebecause you are still on partial confinement10:19
ikeyright10:19
zyga-susebecause not all apparmor features are detected10:19
zyga-suseone sec10:19
ikeyok10:19
zyga-susehrm10:21
zyga-susepolari doesn't want to connect from artful for some reason10:21
kalikianaSaviq: Lemme see if I can reproduce10:22
zyga-suseikey: I wanted to let you know which features I see on ubuntu10:22
ikeyok10:22
zyga-suseikey: capability, caps/, dbus/, domain/, file/, mount/, namespaces/, network/, policy/, ptrace/, query/, rlimit/, signal/10:22
zyga-suseikey: those with slashes are directories10:23
ikeycapability  caps/       domain/     file/       policy/     rlimit/10:23
zyga-suseso the backport patch, must have been partial10:23
ikeyseems it10:23
zyga-suseikey: can you look at ubuntu sauce patches in any ubuntu kernel that affect security/apparmor directory10:23
ikeyidk where to find those sauce patches10:24
ikeyi have http://kernel.ubuntu.com/git/jj/linux-apparmor-backports/log/?h=v4.13-apparmor-backport-to-v4.1210:24
ikeybut those are missing capabilities obv10:24
kalikiana^^ this makes me look forward to lunch10:24
zyga-suseyeah, looks like out of date10:24
ikeysaw nothing about dbus, etc, in the presquash10:24
zyga-suseikey: look at xenial tree at http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/10:25
zyga-suseikey: then just look for patches that affect apparmor10:25
zyga-suse(in securty/apparmor directory)10:25
ondrakalikiana ping10:25
zyga-susehttp://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/log/security/apparmor10:25
ikeythats a lot of signal noise10:26
kalikianaondra: Hey10:26
zyga-suseikey: note that this is based on 16.04 kernel which is older10:27
zyga-suseikey: so some of those are merged upstream from your POV10:27
ondrakalikiana I have problem with prime: [ -lib ]10:28
ondrakalikiana it will still leave some bits there10:28
ondrakalikiana does seem to work for all other directories except lib10:28
ondrakalikiana or tell me what is cleanest way to pull stage package and only extract one file from it10:29
ikeysure but apparently the dbus work started in 201410:29
ikeywhy/how are these not upstream?10:29
zyga-suseikey: lots of reasons, one of which was rush to get phone features ready10:30
ikeyyeah but roadmap is from 2011 :p10:30
zyga-suseikey: the focus is on exclusively upstreaming them for some time10:30
ikey6 years..10:30
zyga-suseikey: some reason, AFAIK (not a 1st hand report) is some upstream discussions on specific mediation extensions10:30
ikeyhttp://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/tree/security/apparmor/apparmorfs.c#n156810:32
ikeyis the bits-i-dont-got10:32
ikeyoh wow this is an old kernel10:33
zyga-susexenial is old10:33
zyga-susetry artful10:33
zyga-suseartful has the same features but less patches10:33
zyga-suseso should be far closer to solus10:33
ikeyyeah artful is rocking 4.11.010:33
mvozyga-suse: go-flags for snpa-seccomp is fine10:34
* zyga-suse thinks about automatically fixing security profiles of certain snaps10:40
zyga-susegreat experience for people10:40
zyga-susekind of magic and windows-y10:40
zyga-susebut then again...10:40
zyga-susewell, maybe later10:40
ikeyk so the upstream 4.13 patch is very different to the artful tree10:43
zyga-susemvo: interesting, on suse we execute the cycles=2 line10:44
zyga-suseikey: is 4.14 the next LTS kernel>10:44
ikeyyea10:44
ondrakalikiana any idea?10:45
ondrakalikiana BTW what is syntax to add stage package as snap?10:46
ondrakalikiana or is that limited only to build packages?10:46
kalikianaondra: I'd probably do the reverse, [lib/foobar.so] Not sure, though, what "some bits" would be left. Maybe from packages installed in another part?10:48
kalikianaondra: stage package as a snap? Not sure what that means10:48
ondrakalikiana so what would be syntax if I want just one file?10:48
ondrakalikiana did we enable build-packages and stage-packages to be also snaps? or it's limited to only deb packages?10:49
kalikianaondra: I just told you the syntax :-D10:49
ondrakalikiana OK let me try :)10:49
kalikianaondra: Oh. Those are always Debian packages. You might want build snaps, which is something that has been proposed but doesn't exist yet.10:50
ikeywell according to release/release.go i need all the apparmor features ubuntu has.. buh10:50
ondrakalikiana for example I'd like to pull in snap package as build dependency10:51
ondrakalikiana OK that works, except that lib dir is still there10:52
kalikianaondra: Feel free to open a forum topic, as I said it's been proposed but doesn't exist10:55
kalikianaondra: I thought you have a file lib/foo.so - how would that work without the directory?10:55
ikeylong time since i had to make defconfig a kernel git and build one module lol10:56
kalikianaSaviq: Hmm I think I've reproduced with a repeated "snapcraft" invocation. Would you mind opening a forum topic so we can track it?10:58
jdstrandzyga-suse: https://bugs.launchpad.net/snapd/+bug/166322111:00
mupBug #1663221: snap/apparmor default confinement rejects socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT); <snapd-interface> <snapd:Fix Released by jdstrand> <https://launchpad.net/bugs/1663221>11:00
Saviqkalikiana: ack11:00
kalikianaThanks11:01
jdstrandzyga-suse: that was the whole reason we did fine-grained mediation and I could've sworn I added that11:01
zyga-suseaha, thank you11:01
zyga-suse:)11:01
* zyga-suse hugs jdstrand11:01
jdstrandhttps://bugs.launchpad.net/snapd/+bug/166322111:01
zyga-susemvo: so, some more data11:02
zyga-susemvo: interesting actually11:02
jdstrandbut either it got lost with all the commit/uncommit/commit/uncommit/recommit/... or I didn't submit that because of it11:02
zyga-susemvo: on ubuntu the goroutine is scheduled quickly11:02
zyga-susemvo: on suse it is cheduled nearly 500ms later11:02
zyga-suse*scheduled11:02
zyga-suseand some of the logic kicks in11:03
jdstrandmvo: I'm going to prepare a PR for that ^ and a couple of smaller fixes. I think it should be in 2.27 :\ (since we are now enforcing netlink mediation)11:03
jdstrands/smaller/other small/11:03
zyga-susemvo: ^^^11:03
ondrakalikiana no actually I'm pulling just one file from bin, but it adds me lib regardless11:03
zyga-suserc++11:03
* Chipaca takes a break11:04
arm1ezyga-suse: hey, gotta go soon. Any chance you can have another quick go at helping me fix the get_iplayer snap build11:05
zyga-susemvo: it seems that on suse goroutines are only scheduled every 0.5s11:05
zyga-susearm1e: sorry, I lost track of what the issue was11:05
zyga-susearm1e: apart from some syntax errors11:06
zyga-susearm1e: what was the last thing you were blocked on?11:06
arm1ecannot build it as the makefile is crap11:06
zyga-susearm1e: who wrote the makefile11:06
zyga-susearm1e: look at my python0 snap, it uses a separate makefile to fix the makefile that is crap in python011:06
arm1ethe author of the program, but you said something about manually installing it11:06
zyga-susearm1e: specifically, write one that doesn't suck11:07
arm1ethere is no real build11:07
zyga-susearm1e: you can then patch or replace it11:07
ogra_popey, give it a try please :) http://people.canonical.com/~ogra/snappy/nanopi-air.img.xz11:07
arm1ezyga-suse: https://github.com/get-iplayer/get_iplayer/wiki/unix11:07
zyga-susearm1e: sorry, I cannot jump into all the details now11:07
zyga-susearm1e: I gave you ideas on how to fix it11:08
zyga-susearm1e: one other idea11:08
zyga-susearm1e: is the iplayer a pre-built binary?11:08
zyga-suseor are you really building it11:08
arm1eit seems to be prebuilt11:08
zyga-susearm1e: so ignore *everything* else11:08
zyga-suseand just package the content11:08
arm1ehow do i do that?11:08
zyga-suseusing the dump plugin11:08
zyga-susejust get it as you would normally11:09
zyga-suseand once you have that11:09
zyga-susepackage it using the dump plugin11:09
arm1ethen it says to run 'install ./get_iplayer /usr/local bin. How do I set that?11:09
zyga-suseyou don't get it11:09
zyga-suseinstall it on your machine11:09
zyga-susethen copy it into as snap11:09
arm1eoh11:09
arm1ehow11:09
zyga-susetadam11:09
zyga-susecopy all the files one by one into your repo with snapcraft yaml11:10
zyga-suseand "install" them using the dump plugin from a tarball or something11:10
zyga-susedo you get the overall idea?11:10
arm1eI do... i ink11:10
arm1ethink11:10
kalikianaondra: So you've got an empty lib/ in your snap? Could be a bug, but I think I'd need more context at this point. I'd say take it to the forum with some more details.11:10
arm1ewill have a go later. Thanks!11:10
zyga-suseonce that works you can think about maybe optimizing the initial step which will be manual for you once11:10
zyga-susegood luck11:11
ogra_zyga-suse, it is a perl script ... he'll have a hard time getting the module paths right etc ... (will need wrapper scripts etc)11:12
ogra_(perl stuff is sadly still ugly to snap )11:14
ondrakalikiana no, it's not empty, it has few libs in there11:14
ondrakalikiana is snapcraft as smart as keeping some libs which are needed by that executable?11:15
* zyga-suse braks11:15
zyga-susemvo: I get the problem now :)11:15
zyga-susemvo: patch incoming if you are doing another RC anyway11:15
kalikianaondra: You can answer that question better, I don't know what libs those are :-)11:16
ogra_doesnt snapcraft run ldd to check the libs a binary needs ?11:16
ogra_(i thought it does)11:16
mupPR snapcraft#1429 closed: cli: properly handle exceptions in lifecycle <Created by kyrofa> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/1429>11:17
kalikianaogra_: Yes it does11:17
ogra_that should answer ondra's question then :)11:18
ondrakalikiana ogra_ probably the case it keeps dependencies needed by the binary11:18
kalikianaWell, as I said, I can only guess. Many possibilities.11:19
kalikianaOf course I'm happy to assume it's super smart and free of bugs in this particular case11:19
ogra_haha11:19
ogra_like all software you mean ?11:19
kalikianaSome software is more bug free than others11:20
ogra_lies :P11:20
ogra_:)11:20
Saviqkalikiana: https://forum.snapcraft.io/t/repeated-container-builds-fail-to-find-snapcraft-yaml/164911:30
* zyga-suse really breaks11:34
pedroniszyga-suse: fedora prepare is failing with:   Cannot download d/distribution-gpg-keys-1.12-1.fc25.noarch.rpm: All mirrors were tried11:56
zyga-susepedronis: mmm, let me check11:57
zyga-susepedronis: btw that ensure test is now better understood11:57
mupPR snapd#3714 opened: interfaces: a bunch of interfaces test improvement <Created by adglkh> <https://github.com/snapcore/snapd/pull/3714>11:57
gary-wzlzyga-suse: I just created another PR for interfaces improvement.11:57
zyga-susepedronis: I don't know the reason of the effect yet but I know it is present and the cause is a test failure11:57
zyga-susegary-wzl: I saw, I'lll review it soon11:57
gary-wzlzyga-suse: That'd be the last bunch of interfaces I work for the improvement.   :D11:57
gary-wzlThanks. After they land, I'll merge master back to udev_tag branch.11:58
zyga-susepedronis: the effect is that ensure ticks at 0.5s on suse and 0.01 on ubuntu11:58
gary-wzlThen we  probably have minimized diff size and can focus on code review for actual udev tagging rule. :)11:58
gary-wzlThanks again!11:58
zyga-susepedronis: (or sorry 0.02 on ubuntu)11:58
zyga-susepedronis: if it is compiler or kernel I'm not sure yet, I'll move a binary from one to another to compare now11:58
zyga-susepedronis: so that test behaves in a way it never expected simply because various Ensures are called way too infrequently11:59
zyga-susepedronis: a simple "fix" is to multiply the mocked intervals by 511:59
=== chihchun is now known as chihchun_afk
zyga-susepedronis: one thing I also noticed is that suse uses xfs and btrfs12:01
zyga-susepedronis: so if any of the tests are hitting disk and running some sync op12:01
zyga-susepedronis: that might explain the extra slowdown12:01
pedronisso you are saying that NewTicker misbihaves a bit on suse?12:02
pedronisor whatever bit of go timers we use there12:02
zyga-susepedronis: I tested that, NewTicker works OK at at least 20ms resolution12:03
zyga-suseit must be something else12:03
zyga-suseI also compared my boxes and time it takes to lock/unlock is even better on this suse box (perhaps just CPU differences)12:03
* zyga-suse has a binary to move over now12:04
zyga-susewoaah12:04
zygapedronis: http://paste.ubuntu.com/25289847/12:07
zygapedronis: the binary was compiled on suse12:08
mupPR snapd#3715 opened: interfaces/misc: updates for unity7/x11 (LP: #1663221), browser-support, network-control (LP: #1679295) and mount-observe <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3715>12:08
zygaand invoked on suse tumbleweed running 4.11.8 and ubuntu artful running 4.11.012:08
popeyogra_: what exact command do you use for serial connection to your nano pi? I get no response from screen and minicom, but maybe settings?12:08
zygapedronis: the diff whows that waitForPrune (from the test witness) runs at rougly each 50ms on ubuntu but roghly each ~400ms on suse12:10
zyga*shows12:10
zygaI'll try it the other way around now12:10
zygabut since this only depends on pthreads now, I think it's clear something is very wrong12:10
jdstrandmvo, zyga: fyi https://github.com/snapcore/snapd/pull/3715. I've milestoned it for 2.27 since it has a netlink mediation fix for QtSystems12:12
mupPR snapd#3715: interfaces/misc: updates for unity7/x11 (LP: #1663221), browser-support, network-control (LP: #1679295) and mount-observe <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3715>12:12
zygajdstrand: ok12:12
zygajdstrand: would be nice to add a regression test for this12:12
zygajdstrand: as we missed this in all the testing12:12
jdstrandzyga: I need a system with X and qtubuntu for that to be a true regression fix. otherwise the test would be artificial and just a test that we don't drop the rule (which we don't have per rule regression tests)12:13
zygaindeed :/12:14
jdstrands/regression fix/regression test/12:14
ikeyso i did something kinda naughty.12:14
ikeyi took kernel 4.12, and artful kernel..12:15
ikeyreplaced security/apparmor tree with artfuls one12:15
zygahaha12:15
ikeythen patched it with some bits from 4.1312:15
ikeyand did some porting to current kernel12:15
ikey(like not using the new aafs_create_symlink or aa_sfs ops)12:15
ikeyand it now builds12:15
zygaI think you want to get a hold of jjohansen1 as he probably has the right patches stashed somewhere12:15
zygabut thank you for doing this12:15
zygaikey: and the bug you found with that game, regression12:15
ikeyive only kept the .policy + policy symlink from 4.1312:15
zygaikey: and fix is upcoming (from jdstrand above)12:15
ikeyoh ok12:16
ikeyfreenode is like the spiritual opposite of viagra.12:20
mupPR snapd#3716 opened: overlord: rely on more conservative ensure inteval <Created by zyga> <https://github.com/snapcore/snapd/pull/3716>12:20
mvojdstrand: thanks, I have  a look. too late for 2.27 unfortuantely (unless we need to do a .1)12:21
zygamvo: I think we doo12:22
zygamvo: this is a regression breaking visual snaps12:22
zygamvo: :/12:22
zygamvo: we *really* need this fixed ASAP12:22
ikeyplus ikey is gonna be hella awkward and have last minute PRs > 2.2712:22
zygamvo: the bane of point releases is still with us12:23
mvozyga: tell me more12:24
ikeylike did he have a car12:24
* ikey hides12:24
mvoikey: heh :)12:24
jdstrandmvo: sorry, the netlink bits got lost on my end with all the commit/revert/commit/revert/commit/... stuff with seccomp arg filtering12:24
jdstrand:\12:25
jdstrandI always intended to submit this with the other netlink mediation since this was actually the bug that prompted the whole netlink mediation feature12:25
mvojdstrand: ok, its not too terrible 2.27 is not in stable yet. so one of the 2.27 PRs caused a regression?12:26
mvojdstrandand 3715 fixes it?12:26
jdstrandmvo: 2.26 finally enforced seccomp netlink mediation even though it was sent up ages ago12:27
jdstrandmvo: because the rules in 3715 weren't included (sorry), it regressed snaps that use QtSystems12:28
jdstrandmvo: 3715 fixes that12:29
mvojdstrand: ok, so 2.26 is fine? and 2.27 is not unless we take 3715?12:29
jdstrand(QtSystems for mouse/keyboard detection via udev under X)12:29
jdstrandmvo: no, 2.26 has fine-grained netlink mediation12:29
jdstrandmvo: it does not have the rule for QtSystems to work (it should've)12:30
jdstrandmvo: therefore 2.26 has a regression12:30
jdstrandmvo: 3715 fixes that12:30
zygamvo: if you don't mind please also take: https://github.com/snapcore/snapd/pull/371612:30
mupPR snapd#3716: overlord: rely on more conservative ensure interval <Created by zyga> <https://github.com/snapcore/snapd/pull/3716>12:30
zygamvo: it doesn't affect non-test code12:30
jdstrandas it happens, there aren't many applications that use this, but ikey picked one that does12:30
zygamvo: and it will help with having less patches in distros12:30
popeyogra_: nvm, got screen working12:31
mvozyga: sure12:31
mupPR snapd#3717 opened: overlord,store: no piles of return args for methods gathering device session request params <Created by pedronis> <https://github.com/snapcore/snapd/pull/3717>12:32
Son_Gokuzyga: does this happen on Fedora 26 with golang 1.8.3 and 4.11.11?12:34
zygaSon_Goku: I didn't check yet12:34
jdstrandmvo: well, actually. looking at policy on my system, it seems that socket mediation is not in effect in 2.26, so 2.26 is *not* affected. 2.27 *will* regress without 371512:34
popeyogra_: subbiquity isn't seeing the network12:34
zygaSon_Goku: my fedora box is right next to my suse box so I'll check soon :)12:34
zygaSon_Goku: I suspect it's related to golang 1.8.1 vs .312:34
ogra_popey, damn ... can you capture dmesg and syslog and such ?12:34
jdstrands/socket mediation/fine-grained socket mediation/12:35
ogra_well, actually only syslog off the SD i guess12:35
popeyOK12:35
popeyhttp://paste.ubuntu.com/25290000/ ogra_12:36
popey\o/ nice paste number12:36
popeypinnacle of my day. (I am easily pleased)12:36
zygajdstrand: I noticed more pushes to the PR12:36
zygajdstrand: is that really all we need?12:37
* ikey had to be awkward and pick the weird app12:37
ogra_Aug 11 10:59:09 localhost kernel: [   26.303158] usbcore: registered new interface driver brcmfmac12:37
ogra_Aug 11 10:59:09 localhost kernel: [   26.412084] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -212:37
ogra_Aug 11 10:59:09 localhost kernel: [   27.475085] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x5012:37
jdstrandzyga: just one-- 'r' to 'rw' in network-control12:37
ogra_\o/12:37
zygaright12:37
jdstrandzyga: it should've been rw to begin with12:37
zygaI'm curious how you found that12:37
ogra_popey, so it finds the device and loads the driver ... but i'm missing the firmware in the kernel snap12:37
popeyahh!12:37
ikeyso yeah if those 4.12 patches exist anywhere id love em, because my kernel wont boot (and efi sucks for debugging)12:37
jdstrandzyga: oh and a comment change12:37
zygajdstrand: hmm? you changed from r to rw now12:37
popeyogra_: so close :)12:38
jdstrandzyga: let's back up12:38
ogra_popey, we're close (but that takes another kernel snap build and some changes ... will take some time)12:38
zygahttps://github.com/snapcore/snapd/pull/3715/commits/3948b14c51f62f5c806a0b2ede6a50e94ecd01e712:38
mupPR snapd#3715: interfaces/misc: updates for unity7/x11 (LP: #1663221), browser-support, network-control (LP: #1679295) and mount-observe <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3715>12:38
popeyogra_: I'm happy we're moving forward :)12:38
jdstrandzyga: I submitted the PR with 'r' for ieee80211 but meant to use 'rw'. I re-read the commit and noticed I wanted to fix a comment and to actually make ieee80211 rw12:39
ogra_yeah, me too ... i'm also looking into getting USB-OTG to work, then you can actually run the serial connection through the power cable ;)12:39
ogra_no more extra cable needed for initial setup12:39
zygaah12:39
zygamakes sense12:39
jdstrandzyga: (if you notice the original commit message for ieee80211, it very clearly says it should be rw12:39
popeyooh, that would be awesome12:39
ogra_hmm ... why does it look for brcmfmac43430-sdio.txt ... we actually ship brcmfmac43430-sdio.bin already12:43
* ogra_ wonders if a simple symlink would do 12:43
zygaafk, see you at the call12:47
sgclarkHi, silly me registered a bunch of kde apps under a personal account how do I fix it to use our kde account? :(13:11
sgclarkin ubuntu store13:11
popeysgclark: heh, we can move them.13:19
zygaPharaoh_Atem: hey13:19
zyga  Cannot download d/distribution-gpg-keys-1.12-1.fc25.noarch.rpm: All mirrors were tried13:19
zygadoes that say we are on stale cache13:20
zygaand need dnf refresh13:20
zygaor that we are SOL13:20
sgclarkpopey: that would be lovely, thanks13:20
* zyga boots F2613:20
popeysgclark: do you have a list of the ones you want moved over? Want to drop me a mail with them in? alan.pope@canonical.com and I will forward to the store people as it's a manual process I believe13:22
sgclarkpopey: I will email you, thankfully it wasn't a terribly long list. Thanks again.13:23
popeyno problem, easily done13:23
zyga-susenot sure if it is btrfs or something else but "go test" in overlord uses 10MB/s of disk all the time13:37
zyga-susewhile on ext4 I don't see that13:37
zyga-suse(I see rouhgly 1MB there)13:38
zyga-suseChipaca: if it turns out to be those atomic file write things would you mind if I disable that for testing?13:38
Chipacazyga-suse: i'm not sure if libeatmydata will work with go13:39
Chipacazyga-suse: but feel free to tweak the code to give it a try13:39
Chipacazyga-suse: however.......... i'll -1 a patch to actually do this13:40
Chipacazyga-suse: if you understand what i mean13:40
zyga-suseChipaca: mmm, eatmydata uses preloads wich won't work here13:41
Chipacayeah13:41
zyga-suseChipaca: if you'd -1 the patch then won't bother13:41
Chipacazyga-suse: but do it locally to answer the question13:41
Chipacazyga-suse: my opinions evolve with data, so get me data ;-)13:41
zyga-suseha, very good answer13:43
zyga-suseOMG13:44
zyga-suseChipaca: so with that thing disabled daemon tests run in ...3s13:44
zyga-suseso 100 fold better13:44
zyga-suseChipaca: overlord tests finish in just 9 seconds13:45
popeyjdstrand: do we have documented somewhere the steps needed to fiddle with aa rules in /var/lib/snapd/apparmor and then refresh aa? I have been googling but can't find a good guide13:47
zygaPharaoh_Atem: question, what is "dnf reposync" good for, this literally *synchronizes the whole repo over to local disk*13:47
zygaPharaoh_Atem: is that how one runs a mirror?13:47
zyga-suseChipaca: vs minutes (still running)13:48
kyrofapopey, believe it or not, I can help you with that13:48
Chipacazyga: and in a system with a non-insane filesystem13:48
Chipaca?13:48
zyga-suseChipaca: one sec13:48
jdstrandpopey: https://forum.snapcraft.io/t/security-policy-and-sandboxing/55413:48
jdstrandI should update that for bpf13:48
* jdstrand does so now13:48
zyga-suseChipaca: on ext4 on artful, with the same patch I go down from 71 seconds to 5 seconds13:49
kyrofajdstrand, that deserves to be much more discoverable than in the forum, IMO13:49
zyga-suseChipaca: that's an insane win13:49
zyga-susekyrofa: just blog about it and link to it :)13:49
kyrofaHaha13:50
zyga-suseChipaca: so, are you interested in the patch now? :D13:50
jdstrandkyrofa: it was in the wiki and niemeyer thought it would be best in the forum. Note, it is primarily useful to interface developers13:50
zyga-susethis could cut the needless IO for testing13:50
zyga-suseand speed up cycles tremendously13:50
ikeysounds like fsync/sync woes?13:50
zyga-suseI'll give you tree-wide numbers13:50
popeyjdstrand: i found that one, but the bit that's missing is how I refresh the apparmor rules after editing those files13:50
zyga-suseikey: yes, exactly13:50
popeyoh, found it :)13:51
ikeyaka "why rpm is slow" ..13:51
zyga-suseChipaca: on btrfs without this overlord tests take 139s13:51
zyga-suseChipaca: so 139 vs 913:51
niemeyerkyrofa: Ironically, the reason it's in the forum is precisely so it is visible13:52
niemeyer(cc jdstrand)13:52
zyga-suseikey: hehe13:52
Chipacazyga-suse: ok, less opposed to it now13:53
Chipacazyga-suse: 70 to 5 is still impressive enough for me :-) what about spread tests?13:53
Chipacabah13:53
Chipacawait13:53
zyga-suseChipaca: didn't try them yet13:54
zyga-suseChipaca: but if we set this via environment13:54
Chipacasome of the spread tests failed because we weren't syncing in the right places13:54
zyga-suseChipaca: we can nicely measure13:54
pedronisalso do we really want to turn that off in spread tests?13:54
zyga-susepedronis: not sure, perhaps, this is only there in case the machine crashes hard13:54
Chipacaso we need to be really careful about which ones we turn it off for. Not a blanket turn-it-off thing for spread.13:54
zyga-susepedronis: the code is correct if we don't yank the power cable13:54
zyga-suseChipaca: I'm talking about dir.Sync and fd.Sync calls13:55
pedronisanyway as Chipaca said it needs to be something we decide suite by suite and test and by tests13:55
Chipacazyga-suse: the bootloeader code got into trouble without the syncs iirc13:55
zyga-suseChipaca: why?13:55
Chipacazyga-suse: garbage in the bootloader conf file on reboot13:55
zyga-suseChipaca: do we unmount the /boot partition?13:55
zyga-suseif we see garbage then it feels like another bug13:55
Chipacazyga-suse: this might've been when we remounted it ro13:56
zyga-susebecause none of the sync calls are mandatory if you unmount the fileysystem13:56
zyga-susenot sure I follow that part, I don't know this code13:56
zyga-susebut still, overall it feels like TRTTD in tests13:56
Chipacazyga-suse: integration-y stuff, for now we might want to not touch sync for core devices (the rest should be fine, and if not we learn)13:57
Chipacazyga-suse: but, i'm still concerned so let's see your patch first13:57
zyga-suseok13:58
ikeyzyga-suse, https://dev.solus-project.com/R3571:43c64241912cc3bfc35a4299097e82b00e1f2cd613:58
ikey>_>13:58
ikeywe haz matching apparmors :313:59
zygawoot13:59
zygajjohansen1: ^^13:59
zygacan you please have a look13:59
mupPR snapcraft#1478 closed: Add cx_Freeze options targeting bin/snapcraft <Created by alextnewman> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1478>13:59
ikeyi nicked http://kernel.ubuntu.com/git/ubuntu/ubuntu-artful.git/tree/security/apparmor?h=master-next13:59
ikeyand then ported securityfs bits13:59
zygaikey: do you have confinement "strict" now?14:00
zygaaccording to snapd?14:00
ikeyim using nvidia gpu so i need to wait for repo kernel build + nvidia drivers to be published14:01
ikeynouveau doesnt support my GPU :P14:01
ikeyso we'll find out in a bit14:01
zygaOK14:01
ikeyi booted it headless and confirmed that the correct features showed in the sysfs14:01
ikeyand that yknow, it actually booted..14:02
ikeyunlike attempt 1..14:02
ikeyis this the part where i make the joke about the solus and ubuntu kernels converging or is it too soon? :314:03
* ikey ducks14:03
zygahahah14:04
zygaconvergence ^_^14:04
jdstrandpopey: it is in there (see Tips and Debugging)14:04
jdstrandand I updated it for seccomp-bpf as well (which now needs something akin to apparmor_parser (ie, snap-seccomp))14:05
* zyga melts at 33C in warsaw now14:07
roadmrjdstrand: hey! tools r896  is now live in production14:19
* zyga eats lunch slowly14:24
zygamvo: do you mind if I pull in jdstrand's patch into opensuse and skip 2.27.1 tarball14:24
Pharaoh_Atemzyga: that requires metadata refresh14:25
zygaikey: you want to pull in https://github.com/snapcore/snapd/pull/3715 as a patch on top of 2.27 as well14:25
mupPR snapd#3715: interfaces/misc: updates for unity7/x11 (LP: #1663221), browser-support, network-control (LP: #1679295) and mount-observe <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3715>14:25
zygaPharaoh_Atem: right, my thoughts exactly14:25
mvozyga: works for me14:25
zyganice14:25
zygaI may finish the week with something done14:25
ikeyah yeah i need to rebase my snapd14:26
ikeythanks14:26
Pharaoh_Atemzyga: so are we getting a 2.27.1 or do I need to pull a patch in?14:26
Pharaoh_Atemzyga: reposync lets you quickly make a local mirror, I believe14:26
zygaPharaoh_Atem: we are getting both probably but I think you just need a patch14:26
zygaPharaoh_Atem: have you used it, is it something I could keep at home14:26
mupPR snapd#3718 opened: tests: enable regression and completion suites for opensuse <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3718>14:27
Pharaoh_Atemzyga: I have not used it14:27
Pharaoh_Atemzyga: http://dnf-plugins-core.readthedocs.io/en/latest/reposync.html14:27
Pharaoh_Atembut I don't see why it couldn't work14:27
zygaPharaoh_Atem: btw, so are we missing a dnf makecache call somewhere?14:28
Pharaoh_Atemzyga: yeah, you guys took it out entirely14:28
arm1ehey zyga-suse, back to try the iplayer snap for a bit14:28
zygaPharaoh_Atem: aha, let me fix it then14:28
zygaPharaoh_Atem: hmm, we *do* call "dnf makecache"14:30
Pharaoh_Atemhmm, maybe you need to add it to more places14:31
Pharaoh_Atemyou probably took out --refresh14:31
zygahmm, tell me about refresh14:31
Pharaoh_Atemdnf --refresh install forces metadata refresh before installing requested packages14:32
* zyga curses at insane alt-tab behavior14:32
zygais that what make cache also doesw?14:32
zygawe use dnf makecache in all the places we apt-get updated14:32
Pharaoh_Atemyes14:32
Pharaoh_Atemdnf makecache == apt update14:32
zygahm, so something else is faulty14:33
zygaI'll have to reproduce this14:33
Pharaoh_Atemyou've probably got the fault in all of them14:33
Pharaoh_Atembut you'll notice more on Fedora due to churn14:33
zygapeople say that all the tests are red because of this on spread + fedora14:34
zygaso I want to see14:34
* zyga wonders what is https://people.freedesktop.org/~mak/limba/14:35
ikeyzyga, was https://github.com/ximion/limba14:36
Pharaoh_Atemthat's ximion's project that predates flatpak and snap but had aspects of both14:36
ikeywent the glick2 route14:36
zygawow, this just gets better and better14:36
zygamaybe apart from maintaining snapd I will do a hobby weekend project that does another bundle format14:37
ogra_just merge support for them into snapd instead :P14:37
ikeylol14:37
Pharaoh_Atemhaha14:37
Pharaoh_Atemlet's not and say we didn't14:37
zygaI'll call my system flatpumbasnaptik14:38
arm1ezyga: you missed eopkg14:38
zygaand you will need to have it to install it14:38
zyganothing like self-hosting14:38
* ikey has every right to call his flatpak + snap system ikea.14:38
zygalol14:38
Pharaoh_Atemmrrr14:38
ikeywould explain having a few screws loose.. :p14:39
arm1elol14:39
* ogra_ would be more subtle and call it "Merkel" (her concept is to just swallow the programs of her opponents, thats why she wins all the time) 14:40
zygaogra_: we'd probably have to go with "makrela" though14:40
ogra_haha14:40
* zyga recalls "quality crap from pikea" from futurama14:40
ogra_ha14:40
cachioniemeyer, I saw this https://paste.ubuntu.com/25290471/14:41
cachioon linode14:41
cachiodo you know what could be causing that?14:42
zygacachio: we are bus14:43
zygacachio: ran out of machines14:43
cachiozyga, ok14:44
cachiotx14:44
arm1ehow can I find out where an ubuntu package (from repo) has installed its files (so that I can copy them into my snap)14:44
zygaarm1e: dpkg -L pkg14:45
ikeyno wajig love?14:45
ogra_arm1e, you just list the packages of which you want the content in stage-packages14:45
ogra_arm1e, that will make sure they end up under $SNAP14:46
ogra_no need to copy around anything14:46
ogra_cjwatson, oh ! ... i just noticed "Revision" on my LP build details for a snap ... is that new ?  (thoough why is the revision showing 3 correctly on https://code.launchpad.net/~ogra/+snap/linux-generic-allwinner/+build/67084 but shows some hash on https://code.launchpad.net/~snappy-dev/+snap/core/+build/6691114:49
ogra_)14:50
ikeyso um14:54
ikeytada https://ibin.co/3WWRyaQcdv5A.png14:54
pedroniszyga-suse: do we know what's the fedora problem?14:54
ogra_ogra@nanopi:~$ snap refresh linux-generic-allwinner14:54
ogra_error: cannot perform the following tasks:14:54
ogra_- Mount snap "linux-generic-allwinner" (3) ([daemon-reload] failed with exit status 1: Failed to execute operation: Connection timed out14:54
ogra_)14:54
ogra_WOAH!14:54
zygapedronis: no, not yet14:56
zygapedronis: I'm checking still14:56
zygapedronis: we apparently do the right thing :/14:56
arm1eogra_: so, I am trying to build get-iplayer and have installed it onto my host via a ppa. I already have stage packages for run dependencies, but are you saying i simply include get-iplayer too?14:58
pedronisshoudl we turn off the fedora suite until we understand?14:58
pedroniszyga-suse: it's a bit blocking anything atm14:58
zygaI know, working on it14:58
zygahmm, not sure, are you in a rush to land something today?14:59
pedronisalways14:59
ogra_arm1e, get-iplayer is simply a perl script, use the git tree in your source: entry and have it download the git ... then use some way to copy the get-iplayer script into your snap either via the dump plugin or through an install script snippet in snapcraft.yaml15:00
* zyga moves to a colder room15:00
zyga35C15:00
pedronisit's rainy here15:00
arm1eogra_: woah, woah .... slow down15:01
zygaman I envy you so much15:01
ogra_yeah, rainy and cold here too15:01
ikeyheh15:01
ogra_that moves east though ... you shoudl have it on the weekend15:01
pedroniszyga: it's a question if I'm in a rush or not, but blocked landings are always bad15:01
pedronisI suppose because 27.1 probably 2.28 is a  bit delayed?15:02
ikeyhoping to get my solus changes for snapd PR'd today - assuming i make sufficient progress here that stuff works â„¢15:02
zyga-suseikey: thank you, looking forward to it15:06
zyga-susepedronis: I think 27.1 next week because we cannot release on Fridays15:07
ikeythe hard bit is done now really zyga-suse15:07
ikeyi have strict confinement15:07
pedronisthat was not my question15:07
pedronisanyway15:07
zyga-suseikey: you have no idea how happy I am about that15:07
ikeylol15:07
zyga-susepedronis: I think the 2.28 schedule can stay unchanged15:07
arm1eogra_: I have the git repo in the source and had the dump plugin selected but not sure how to use the install snippet15:07
zyga-susepedronis: those are separate releases after all15:07
zyga-susepedronis: but this is mvo's call15:07
ikeycorrect me if im wrong but i believe solus is the only other !buntu that has strict confinement..?15:07
* ikey is thinking in marketeering terms :p15:07
mupPR snapd#3719 opened: interfaces: add new desktop and desktop-accessibility <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3719>15:08
zyga-suseikey: yes15:08
zyga-suseikey: that was exactly what I was thinking about15:08
=== cachio is now known as cachio_lunch
ikeyblogposting intensifies15:08
kyrofaikey, oooo, indeed15:08
ikeyfor spite/brownie points ill also enable the linux-lts kernel..15:09
ikeylol15:09
ikey(not today though because im not that mental)15:10
zyga-susejdstrand: should all UI snaps use the desktop plug?15:10
ogra_arm1e, http://paste.ubuntu.com/25290638/ like this ...15:11
kyrofaWe have a desktop plug now?15:11
mvozyga-suse: I look at 2.27.1 in a wee bit, just finishing some bits around the new ensureCore code15:11
zyga-susemvo: k15:12
zyga-susejdstrand: reviewed15:12
naccarm1e: did you get your questions answered?15:15
tpatelauto-connection plug-slot issue15:15
zyga-susetpatel: ?15:17
tpatelI have a snap which exposes a slot (socket-server) for snap-2 and has a plug(client-control) to be connected to snap-3. At install time I'm seeing snap-1:socket-server is autoconnected to snap-1:client-control. Is this is snapd BUG?15:17
zyga-susewhat are socket-server and client-control?15:18
zyga-suseand which interface is that15:18
tpatelthey are sockets15:18
arm1ehey nacc, think so. There is a lot to learn, bt I did read all of the stuff you linked last night. Very helpful thanks15:19
flavianmanea Hello, I am having some issues on snapd, mainly, I was trying to build some rpms with snapd (https://snapcraft.io/docs/core/install-oe-yocto), to install them on MinnowBoard Max - Pulsar8. I have builded succesfully the packages, but there is a dependency in the snapd.rpm that I couldn't figure it out, and that is "kernel-module-squashfs", I couldn't figure it out if this should be present already in the kernel, or if there is15:19
ogra_what interface type did you use for them ?15:19
arm1eogra_: will try that now, thanks15:19
zyga-susetpatel: which snapd interface are those?15:19
naccarm1e: yw15:19
tpatelzyga-suse: these are not snapd-core interface.15:19
zyga-suseflavianmanea: this is something for morphis__15:19
zyga-susetpatel: ok, what kind of plugs are socket-server and client-control, I still don't get what the problem is15:20
ogra_flavianmanea, snap packages are squashfs files, so to make use of them you need squashfs support in your kernel (either via module or builtin)15:20
jdstrandzyga-suse: responded in the PR, but please see the accompanying forum topic15:21
morphis__flavianmanea: if your kernel has squashfs support build in rather than as a module you could drop that dependency15:21
tpatelsocket-server is a slot name, client-control is a name of snap-3 slot which snap-1 needs to connect to.15:21
zyga-susejdstrand: thank you15:21
zyga-susetpatel: ok, slots and plugs have interface *types*, which types are you using there15:21
zyga-susetpatel: the plug/slot names are arbitrary and irrelevant15:21
zyga-susetpatel: the only thing that matters is the type of each of those15:22
tpatelthis are content type15:22
zyga-suseaha15:22
zyga-suseok15:22
zyga-susedid you define the "content" attribute on them?15:22
tpatelyes15:22
zyga-suseok15:22
zyga-suseis it the same in both?15:22
tpatelyes. here is snapshot from .yaml file15:23
tpatelplugs:     #connect to slot provided by wifi-ap and use api to communicate     control:         content: socket-directory         interface: content         target: $SNAP_DATA/sockets         default-provider: wifi-ap  slots:     entouch-srvr:         content: socket-directory         interface: content         write:             - $SNAP_DATA/socks15:23
ogra_heh15:23
zyga-susetpatel: perhaps pastebin that15:23
ogra_yeah ...15:23
zyga-suseit's hard to read this way15:23
* ogra_ recommends paste.ubuntu.com15:23
tpatelzyga-suse: sorry this is my first time using this chat so not familiar with all the lingo. what is pastebin?15:24
zyga-susetpatel: that's fine, it is a service that you can use to paste stuff into irc with nicer effects15:24
ogra_tpatel, http://paste.ubuntu.com/15:25
zyga-susetpatel: go to paste.ubuntu.com and copy your stuff there15:25
zyga-susesubmit that15:25
zyga-suseand give us a link15:25
ogra_and give us the resulting url15:25
ikeycannot perform operation: mount --rbind /lib/modules /tmp/snap.rootfs_qJM9hP//lib/modules: Permission denied15:26
tpatelheres ithe link http://paste.ubuntu.com/25290702/15:26
ikeysoo close15:26
flavianmanea@morphis__: I see that I have under /usr/sbin - unsquashfs and mksquashfs (And I guess that I already have them installed, so I can drop this dependency). Thank you!15:26
nothal_flavianmanea: No such command!15:26
zyga-suseikey: maybe missing mount mediation or more directory differences, not sure15:27
ogra_flavianmanea, no, you want to check /proc/filesystems15:27
arm1eogra_: holy crap it might have worked15:27
arm1eseems to have built15:28
ogra_flavianmanea, the tools in /usr/bin are just the userspace tools, not the kernel bits15:28
tpatelzyga-suse: as you can see in this http://paste.ubuntu.com/25290702/ link there is entouch-srvr slot which is auto-connected to plug control. I dont want that to happen15:28
zyga-susetpatel: are those on the same snap?15:28
ogra_flavianmanea, grep squash /proc/filesystems ... if that returns "squashfs" you are fine15:28
ogra_ogra@nanopi:~$ grep squash /proc/filesystems15:29
ogra_squashfs15:29
ogra_ogra@nanopi:~$15:29
ogra_like this15:29
mupPR snapcraft#1481 opened: cli: better error message for missing mksquashfs <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1481>15:29
arm1egotta go but will be back later. Thanks again!!15:30
flavianmaneaBad luck on my side, it seems that no squashfs pops up15:30
tpatelzyga-suse: Yes, they are defined in same snap. But plug control is needed to connect to slot wifi-ap:control and not to :entouch-srvr15:30
ogra_flavianmanea, then you want to build the kernel module15:30
zyga-susetpatel: could you call them something else then, give them different content attribute?15:30
ikeycannot mount tmpfs at /tmp/snap.rootfs_2R3Okt/var/lib/snapd/lib/gl: Permission denied15:31
ikeylol the nvidia arch stuff is falling apart :p15:31
tpatelI do have them with different name.15:31
zyga-susetpatel: I mean different content attribute name15:32
zyga-suseikey: you can do a quick "broad fix" to allow arbitrary mount15:32
zyga-suseikey: the apparmor rule is just "mount," AFAIR15:32
zyga-suse(for snap-confine)15:32
ogra_ikey, is your snap-confine suid root ?15:32
ikeyya15:32
tpatelzyga-suse: Can you send me a link where I can find other content type15:33
zyga-suseogra_: it is, this is apparmor getting in the way15:33
ogra_ah15:33
ogra_evil apparmor15:33
zyga-susetpatel: content type is just a string15:33
ikeyis there another permission for remount>?15:33
zyga-susetpatel: you can call it whatever you want15:33
zyga-suseikey: remount? no I don't think so15:33
ikeycannot remount /tmp/snap.rootfs_wE0ycY/var/lib/snapd/lib/gl as read-only: Permission denied15:33
tpatelzyga-suse: Ok. Let me try that.15:33
ikeylol15:33
tpatelzyga-suse: thanks15:33
zyga-suseikey: hmm15:34
ikey    mount fstype=tmpfs none -> /tmp/snap.rootfs_*/var/lib/snapd/lib/gl/,15:36
ikey    mount options=(remount,ro) -> /tmp/snap.rootfs_*/var/lib/snapd/lib/gl/,15:36
ikeymade it "go"15:36
ikeybut now my libGL is broken15:37
ikeyand wasnt in 2.2615:37
flavianmaneaThanks guys for your help, gotta run. bye15:37
ikeyit wasnt trying to mount a tmpfs there before so i wonder if its actually bork15:38
mupPR snapd#3713 closed: osutil: ensure TestLockUnlockWorks uses supported flock <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3713>15:41
mvojdstrand: can I get a minimal version of 3715 for 2.27? or is all of it needed?15:42
mvojdstrand: if we need it all, then thats fine, we just need to make sure to squash merge it so that the cherry pick to 2.27 is easier15:43
mvozyga-suse: looks like fedora is still in an unhappy state, anything new here? can't land the 2.27.1 prs currently it seems15:44
ikeybash-4.3$ ls -la15:45
ikeyls: cannot open directory '.': Permission denied15:45
ikeybash-4.3$15:45
ikeyugh15:45
ogra_WOW ... so playing with libcomposite on a board can actually hard-kill systemd15:46
* ogra_ wants upstart back ... sniff15:46
mupPR snapcraft#1482 opened: ci: skip the CLA check for pull requests from the bot <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1482>15:47
ikeyso all my --shell's now have no read permissions..15:47
zyga-susemvo: hmm, noop15:48
zyga-suseikey: pwd?15:48
ikeybash-4.3$ cd /15:49
ikeybash-4.3$ ls15:49
ikeyls: cannot open directory '.': Permission denied15:49
ikeybash-4.3$15:49
zyga-suseikey: that is correct15:49
zyga-suseikey: so far at least15:49
zyga-suseikey: cd $HOME15:49
ikeyso why have a shell that cant read or do anything..?15:49
zyga-suseikey: it can, it depends on the path obviously15:49
ikeyoh its stuck to home.. gotcha15:49
ikeyok so my "libGL no longer works" issue is still there :/15:49
zyga-suseikey: any apparmor denials?15:49
zyga-suseikey: I suspect you will need to open up a lot of stuff in /var/lib/snapd/hostfs/ to allow the userspace distro driver to load15:50
ikeyAug 11 16:49:59 ironhide love[6211]: <audit-1400> apparmor="DENIED" operation="open" profile="snap.mrrescue.mrrescue" name="/var/lib/snapd/hostfs/usr/lib64/glx-provider/nvidia/libGL.so.384.59" pid=6211 comm="love" requested_mask="r" denied_mask="r" fsuid=1000 ouid=015:50
ikeyah.15:50
ikeycuz solus is weird.15:50
ikeyand symlinks resolve15:50
ikeymerci :P15:50
zyga-suseyes15:50
zyga-suseshould be easy-ishj15:50
ikeydamn solus xD15:50
mupPR snapcraft#1483 opened: lxd: path cannot have extra forward slashes <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1483>15:50
zyga-susemvo: no idea what is going on, running some experiments again15:50
ogra_ikey, just switch to slackware15:50
ikeyk done15:51
* ikey is on slackware15:51
ogra_hah15:51
zyga-suseikey: NOTE15:51
zyga-suseikey: those things you are experiencing now15:51
zyga-suseikey: those need to be patched in interfaces/builtin/opengl.go15:51
zyga-suseikey: not in snap-confine's location15:51
ikeyo15:51
zyga-suseikey: the profile applies to the snap "mrrescure"'s app called "mrrescue"15:51
zyga-suseikey: if this snap uses the opengl plug15:52
ikeyooo i c it15:52
zyga-suseikey: (it probably does)15:52
zyga-suseikey: then those extra confinement features should be adjusted for that interface15:52
ikey  /var/lib/snapd/hostfs/usr/lib64/glx-provider/** rm,15:52
ikeylooks legit15:53
zyga-suseyep15:53
kalikianaSaviq: Seems like you hit a LXD bug https://github.com/snapcore/snapcraft/pull/148315:53
mupPR snapcraft#1483: lxd: path cannot have extra forward slashes <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1483>15:53
ikeyinterfaces are cool. :]15:53
zyga-suse:D15:54
zyga-suseindeed they are15:54
zyga-susepowerful concept15:54
ikeylike they literally give permissions..15:54
zyga-suseyep15:54
zyga-susethey can do a few more things :)15:54
tpatelzyga-suse: same content-name was the issue.15:55
zyga-susetyhicks: \o/15:55
Saviqkalikiana: hah, it did start working for me at one point after I've edited that out ;)15:55
Saviqjust didn't pay attention enough to see that's what fixed it :)15:56
zyga-susetpatel: \o/ :D15:56
jdstrandmvo: the only thing that is needed is the change to unity7/x11. the others should commit fine and would only help people15:56
kalikianaSaviq: you mean you changed the path yourself?15:56
Saviqyes via `lxc edit`15:57
ogra_popey, next attempt http://people.canonical.com/~ogra/snappy/nanopi-air.img.xz15:57
jdstrandmvo: they aren't strictly required, but only add more access (ie, won't regress)15:57
ogra_ogra@nanopi:~$ ls /snap/linux-generic-allwinner/5/firmware/brcm/*txt15:57
ogra_ogra@nanopi:~$15:57
ogra_bah15:57
ogra_/snap/linux-generic-allwinner/5/firmware/brcm/brcmfmac43430-sdio.txt15:57
tpatelhow can I request auto-connection of core plugs like firewall-control, hardware-observe, network-control, ppp etc.15:57
zyga-susetpatel: request an assertion from the store15:57
zyga-susetpatel: I think you just have to add them15:57
zyga-susetpatel: and then upload to the store15:57
zyga-suseand open a forum topic15:57
kalikianaSaviq: Ah, didn't even think of that. I've always used commands like 'lxc device add', and that breaks irrepairably here...15:58
Saviqkalikiana: yeah `lxc edit` is a good friend :D15:58
tpatelzyga-suse: i have snap-declaration.json file which has all the details about plugs, slots, refresh-control from which I created snap-declaration assert locally. How can i upload that?15:59
zyga-susetpatel: you cannot, only store can do that16:00
zyga-susetpatel: you cannot sign it specifically16:00
zyga-susetpatel: please open a forum topic16:01
kalikianaSaviq: Maybe I should look into using it from Snapcraft as well so containers don't need to be re-created in cases like this. It seems it takes stdin as well16:01
tpatelzyga-suse: ok. I will open a forum topic16:01
ikey:o ..16:02
ikeyhttps://ibin.co/3WWmTJWule4u.png16:02
ogra_play it !16:02
ikeyoh i died already16:02
ikeylol16:02
ogra_lol16:02
zyga-suseikey: any denials? :-)16:03
ikeyAug 11 17:00:32 ironhide love[1992]: <audit-1400> apparmor="DENIED" operation="open" profile="snap.mrrescue.mrrescue" name="/sys/devices/platform/i8042/serio2/input/input12/capabilities/ev" pid=1992 comm="love" requested_mask="r" denied_mask="r" fsuid=1000 ouid=016:04
tpatelzyga-suse: I dont see any option to request assertion from my store account. I have opened a forum https://forum.snapcraft.io/t/request-for-plug-auto-connection-on-et-gw/165116:04
ikeyquite a few denials but i can deal with those tomorrow â„¢16:04
jdstrandfyi, that denial is either a bug in the snap or the security policy, not your system16:05
zyga-susetpatel: thank you!16:05
ikeyyeah i figured16:05
ikeycheers though16:05
ogra_ikey, snap connect mrrescue:joystick16:06
niemeyercachio: That just means machines are in use16:06
ogra_i guess16:06
* ikey hasn't got a joysti..16:06
ikeyi dont think?16:06
cachioniemeyer, ok16:06
ogra_nom but connecting the interface will likely make the denial go away16:06
niemeyercachio: We have 29 machines powered off right now16:07
niemeyerThat's enough for another full suite run16:07
* zyga-suse steals one16:07
zyga-susejdstrand: could those be missing/out-of-date abstractions?16:08
cachioniemeyer, good16:08
cachiozyga-suse, did you do any progress with the issue preparing fedora?16:09
zyga-susecachio: no but I'm still actively trying16:10
zyga-susecachio: trying more brute force now, maybe it will fix  it16:10
cachiozyga-suse, ok, tx16:10
jdstrandzyga-suse: not that denial, no16:11
* jdstrand steps away for a bit16:11
zyga-suseaha, ok16:11
zyga-susejdstrand: o/16:11
Saviqkalikiana: not sure, you'd have to mangle the string you get from lxc... IMO better to use the CLI and blame lxd for issues16:13
zyga-susePharaoh_Atem: around?16:24
ikeyzyga-suse, how evil would it be to bind mount /usr/share/themes + /usr/share/icons into the target?16:26
zyga-suseikey: mmmm, not sure, may be evil16:28
zyga-suseare you looking to adopt theming from the host?16:28
ikeybasically yeah16:28
zyga-suseI'd rather not as we are working on a large and comprehensive theme support16:28
zyga-suse(~3-5 months out)16:28
zyga-suseand a simple approach won't really work16:28
ikeyon the plus side, more complex apps are now working..16:29
ikeyhttps://ibin.co/3WWs63sWMwix.png16:29
zyga-susewoah, really nice16:29
zyga-susewhich app is that?16:29
ikey"brave" browser16:29
ikeyonly has --beta16:29
zyga-susenice :D16:29
zyga-susehow do you like channels so far?16:29
ikeymakes sense tbh16:29
ikeylets devs get feedback and stage features without hitting production systems16:30
ikeyand the 1% to run bleeding edge16:30
zyga-suseikey: if you are interested in that, try the http snap16:34
zyga-suseI think the beta channel has some tab completion features16:34
ikeyinstalled it, whassit do?16:35
zyga-suseikey: it's a simple debugger for http16:36
zyga-susewe use it to talk to snapd sometimes16:36
zyga-suseif you packaged bash tab completion correctly16:36
zyga-susein bash16:36
zyga-suseyou should get http -<tab><tab> to work16:36
ikeynot yet and i dont use bash either16:36
zyga-suseaha16:36
ikeyi also need to set up the environment file16:36
zyga-suseright I know that, just saying this is a part of the snapd package16:36
zyga-susethere are two files for that16:36
ikeyshould i just put /snap/bin into global PATH?16:36
zyga-suseor three, lost track16:36
zyga-suseyes, please16:36
ikeysweet16:36
ikeyany XDG cruft..?16:37
zyga-suseyes16:37
zyga-suselook at ...16:37
ikeyhello /var/lib/snapd/desktop/applications16:37
ikeyok ill include that into global xdg too16:37
ikeythen we can have working menus..16:37
ogra_http://paste.ubuntu.com/25291252/16:38
ogra_thats what snapd ships in ubuntu16:38
zyga-suseI think this is a bit messy today but you want to set XDG_DATA_DIRS, grep for that in packaging/16:38
zyga-suseI think we need to streamline this a little16:38
tpatelIs there any pre-install script to we can run like configure which runs after install?16:38
ikeyyeah we can do this in solus in /usr/share/defaults/etc/profile.d/someThingy.sh16:38
zyga-susetpatel: yes16:38
tpatelzyga-suse: which one?16:39
zyga-susetpatel: install, I believe :D16:39
ShalokShalomhi there16:39
ShalokShalomi have some questions16:39
zyga-suseikey: that should (after logging out) give you working desktop files16:39
ikeynoice16:39
ShalokShalomhi ikey :)16:39
ikeyheya16:39
tpatelzyga-suse: should it be installed under hooks?16:39
zyga-susemvo: so about fedora16:39
ShalokShalomSo:16:39
ogra_ikey, profile.d is sourced by the display manager/ graphical session  in solus ??16:39
ShalokShalomCan apps get isolated, so they dont interference with each other?16:39
zyga-susemvo: running a few times I sometimes just pass16:39
ShalokShalomWhats about sharing the ressources?16:39
ikeyogra_, the global is16:39
ogra_typically thats only for shell16:40
zyga-susemvo: and sometimes fail on not being able to download a specific package16:40
ikeybecause lightdm is a twit16:40
ikeywe have to make it source globally16:40
ShalokShalomI currently make a comparsion sheet of all the currently available package managers16:40
ogra_well, we dont have that in ubuntu ...16:40
ikeyyou guys dont know how to do vanilla :P16:40
ikeywith all due respect xD16:40
zyga-suseShalokShalom: can you be more specific please16:40
ikeyand systemd janked up any possibility of puritan logins anyway.16:40
ShalokShalomin which context?16:40
zyga-suseShalokShalom: normally each snap is isolated from all the other snaps16:40
ShalokShalomso, for which question?16:41
ogra_well, lightdm is an ubuntu invention ... if its not us doing "vanilla" who is ? :)16:41
ShalokShalomok, fine16:41
ikeyogra_, nah - everything *around* it :P16:41
ogra_heh16:41
ikeydont make me point you at your packages16:41
ikeylol16:41
ShalokShalomand rollback is also supported, yeah?16:41
ogra_ikey, i dont care so much for packages anymore, i care for snaps nowadays ;)16:41
zyga-suseShalokShalom: depending what you mean but we have a revert feature16:41
ShalokShalomso, can Snappy also produce artifacts, like traditional package managers?16:41
ikeythey are packages16:41
ikey>_>16:41
ogra_well ... they are gold :)16:42
* ikey meant that to ogra_ not ShalokShalom 16:42
ShalokShalomzyga-suse: i like to roll back to an old version of a package16:42
zyga-suseShalokShalom: artifacts?16:42
zyga-suseShalokShalom: I see16:42
ShalokShalomcan it share ressources?16:42
zyga-suseShalokShalom: if you are the developer of the snap you can refresh or rollback to any revision16:42
zyga-suseShalokShalom: if you are not the developer of that snap you can only refresh or rollback to a revision you have on your system16:42
ShalokShalomso, if i use 2 snappy packages, doe they share ressources?16:42
zyga-suseShalokShalom: which resources are you referring to?16:43
zyga-suseit's too vague to answer16:43
ShalokShalomzyga-suse: of course16:43
ShalokShalomi mean for stability reasons16:43
zyga-suseShalokShalom: you can also refresh to any channel the developer has created16:43
ShalokShalomshared libs16:43
zyga-suseShalokShalom: each snap shares its base snap (e.g. the base core snap)16:43
* ikey contemplates making /usr/share/Xsession.d a thing16:43
zyga-suseShalokShalom: but otherwise is standalone and does not share anything with other snaps or the system itself16:43
ShalokShalomi mean, when i use x for y and z16:43
ShalokShalomtwo loads of x in RAM?16:44
zyga-suseShalokShalom: yes16:44
ShalokShalomso each snap loads all depends for itself?16:44
zyga-suseShalokShalom: unless that is coming from the core snap16:44
zyga-suseShalokShalom: so once filesystem16:44
ShalokShalomwhat is the core snap?16:44
ogra_well, or you use a content interface16:44
zyga-suseShalokShalom: so one inode and one copy16:44
ShalokShalomin practice16:44
zyga-suseShalokShalom: it's the snap that implicitly acts as the root filesystem of all the other snaps16:44
ShalokShalomyou like to stand a full desktop on snappy?16:44
zyga-suseShalokShalom: it contains a number of applications16:44
ShalokShalomaha16:45
zyga-suseShalokShalom: and a number of libraries16:45
zyga-suseShalokShalom: but is otherwise small and "embedded"ish16:45
ShalokShalomand can contains so much as it like?16:45
ShalokShalomso, can i build a full desktop on it?16:45
zyga-suseShalokShalom: if you can package the whole desktop in a snap, yes16:45
ogra_if you are the developer of x y and z you can make y and z use libs from x via the content interface ... that ojnly works for the same developer though16:45
zyga-suseultimately yes but it may not be easy16:45
ikeyand arguably a desktop is part of the OS experience, and should be kept separate16:46
ikeyOS/Data/Apps16:46
ogra_well16:46
ogra_depends16:46
ikeyUnless you're hot into phablets.16:46
zyga-suseI think both viewpoints are valid16:46
zyga-suseyep16:46
zyga-suseShalokShalom: I think currently nobody has attempted that AFAIK16:46
ShalokShalomok i see16:46
zyga-suseShalokShalom: but some desktop environment devs are experimenting with packaging more and more of their stack this way16:47
* ogra_ could imagine an lxqt snap on top of mir-kiosk on an ubuntu core image ... 16:47
ikeyinb4 snudgie.16:47
ShalokShalomdo you agree with this list? http://funkyimg.com/i/2wjbr.png16:47
ikeyme thinks them some loose misleading terms16:47
ogra_ShalokShalom, snaps use deltas16:47
ShalokShalomaha, ok fine16:48
ShalokShalomby default?16:48
ogra_not sure what "artifacts" are supposed to be16:48
ikeyand you can get deltas on debian. its just external and weird16:48
zyga-suseShalokShalom: sorry this is to vague to answer16:48
ShalokShalomno containers16:48
zyga-suseShalokShalom: can you start with a legend that explains what you mean by each16:48
ShalokShalomits the opposite, like in traditional package managers16:48
ogra_ShalokShalom, depends ... on desktop and server installs by default, on ubuntu core images not16:48
ShalokShalomzyga-suse: yep, i think so too16:48
ikeythis chart is kinda comparing apples and oranges16:48
ShalokShalomikey: so practically no16:48
ikeysnaps and traditional package managers have different uses16:49
ShalokShalomwhile its interesting to know, thank a lot16:49
ShalokShalomikey: not for me16:49
ShalokShalomimho, both should be convered16:49
ogra_(ubuntu core is typically running on low power devices, so deltas are possibly eagting your CPU there)16:49
ShalokShalomHabitat can do it16:49
ikeywell then you dont get it like i do :P16:49
ikeysnaps basically means "i can run stuff outside the confines of the OS from the random internet and run it safely"16:49
ogra_*eating16:49
ShalokShalomyeah, probably ikey16:49
ikeyOS doesnt break snap, snap doesnt break OS16:49
ikeysnap can come from anywhere, and as such, is shielded16:49
zyga-suseikey: yes, that's really key16:49
ikeypackage manager is very much a traditional OS deployment thing16:50
zyga-susedecoupling of the os from all the apps16:50
ikeyi.e. glorified tarballs16:50
ShalokShalomikey: Habitat means "i can run stuff outside the confines of the OS from the random internet and run it safely and as commonly known.16:50
ShalokShalomyou can do both16:50
ikeywhy are you explaining back to me that which im explaining to you - given you've the questions, not the answers? :P16:50
* ikey feels Friday has drawn to a close16:50
ShalokShalom?16:50
ShalokShalomi expanded it16:50
ShalokShalomread the full line ;)16:50
ikeyi cant english anymore, sorry. lol16:51
ShalokShalomall fine16:51
* ikey disappears in the direction that doesn't have apparmor in it16:51
ShalokShalomany more important points, who make a package manager?16:51
ShalokShalomnext to "easy to write build scripts"16:51
ikey(transactions)16:51
ShalokShalomin the sense of?16:52
ogra_ShalokShalom, take a look at snapcraft16:52
ShalokShalomok16:52
ShalokShalomi was already there16:52
ogra_(regarding packaging)16:52
ikeyi.e. applying a transactional upgrade, something goes boom, and its peeled off16:52
ikeyRPM distros do this16:52
ikey(well the not insane ones)16:52
zyga-suseikey: snapd also keeps a copy of app data16:52
ikey((hi yocto.))16:52
zyga-suseikey: so we can really undo everything16:52
ikeyah nice16:52
ikeyjust using hardlinks ?16:52
zyga-suseikey: and transactions are waaaay faster because, well, we mount apps16:52
ogra_and auto-rollback :)16:52
zyga-suseikey: no, we copy the old way for now16:52
ogra_dnt forget about that  :)16:52
ikeynice16:52
zyga-suse(though we may take advantage of some things later on)16:53
ShalokShalomcan Snappy run standalone?16:53
ikeybtw ive not looked at the snap format16:53
ikeyis it deduped?16:53
zyga-suseikey: we also have "data common across revisions" if app is willing to take the risk of managing itself16:53
ogra_ShalokShalom, standalone ??16:53
ikeyah nice16:53
zyga-suseikey: not across snaps16:53
ikeynah internally16:53
ShalokShalomwithout any other package manager16:53
ogra_yes, that is what Ubuntu Core does16:53
ikeylike are files deduplicated within a single snap16:53
zyga-suseikey: internally I think squashfs does this but I don't think it's a very important feature since there's hardly any duplication in typical snap[s16:53
ikeygotcha16:53
ogra_on Ubuntu Core the kernel, bootloader and rootfs are snaps16:53
zyga-suseikey: though don't quote me, I'd have to check16:53
ikeyyeah no worries16:54
zyga-suseikey: one interesting thing is that snaps are compressed16:54
ogra_there is no other package manager provided16:54
ikeyiirc squashfs does poke the inodes themselves16:54
zyga-suseso they end up much smaller than typical package for both download and at runtime16:54
ikeyzyga-suse, depends how you define "typical package"16:54
ShalokShalomhost snappy all the infos about the apps in itself?16:54
ShalokShalomor is something in the OS?16:54
ogra_ShalokShalom,16:54
ogra_ogra@nanopi:~$ apt16:54
ogra_Ubuntu Core does not use apt-get, see 'snap --help'!16:54
ogra_ogra@nanopi:~$16:54
ikeythe internals of all solus eopkgs are install.tar.xz which is basically the same as xz -616:54
zyga-suseikey: I didn't do any hard measurements but I would be surprised to win a lot on de-duping files that are not just copies16:54
ShalokShalomogra_: and this is also suitable for a full blown OS?16:55
zyga-suse(not perfect copy)16:55
ikeyproblem is the deltas are a bit more tricky because of the install.tar.xz ...16:55
ShalokShalomwhat Ubuntu Core does16:55
ShalokShalomstandalone PM16:55
ikeyinstead of a hash-indexed binary with stream compression which could dedupe and delta ...16:55
zyga-suseikey: snapd uses several different deltas (we can add more later)16:55
ikeynoice16:55
zyga-suseikey: and once we get incremental builds, deltas will be even nicer16:55
ogra_ShalokShalom, sure, it is a product canonical makes money off :)16:55
* ikey has poor-mans-deltas16:55
ShalokShalomwhich means?16:55
zyga-suseikey: we also plan to use squashdelta for computing deltas that are aware of the squashfs compression16:55
ShalokShalomwhy poor-man?16:55
ogra_ShalokShalom, its a standalone OS16:55
ikeyi.e. x->y = z(y[new])16:56
ShalokShalombecause they cant effort bandwidth?16:56
ikeyzyga-suse, ah handy enough yeah16:56
ShalokShalomogra_: with a desktop and all?16:56
zyga-suseikey: so really a lot of optimization can be done but it is not hard, just something we need to sit on and do16:56
ogra_ShalokShalom, no, for IoT and server use ... but you could snap up a desktop indeed16:56
* ikey gets meta and snaps snapd16:56
zyga-suseikey: that's done, it's in the core snap :D16:56
popeyogra_: testing!16:57
ikeylol yeah saw that16:57
ogra_ShalokShalom, think libreelec ... fritzos ... etc  ...16:57
zyga-suseikey: and as we work on base snaps we will shrink the core snap to just contain snapd16:57
zyga-suseand move the base filesystem to a new base snap16:57
zyga-suse(or the other way around)16:57
* ikey looks forward to having his own base snap :p16:57
zyga-susebut there will be separate snaps for base rootfs16:57
zyga-suseand for "just ship snapd"16:57
ikeyoh btw do I gotta sell my soul (sign CLA) to send you PRs?16:57
zyga-suseikey: yeah, you can kind of do that now16:57
zyga-suseikey: just with master16:57
ogra_ShalokShalom, but as i said above already, technically you could package lxqt and run that on top of the mir-kiosk snap and have a full desktop16:57
ogra_practically nobody did that yet16:58
zyga-suseikey: I think so, but if you send us tiny (trivial) PR I think we don't need a CLA legally16:58
zyga-susebut please sign it16:58
zyga-suseit's much easier for us16:58
ikeybut my soul16:58
ikeylol16:58
zyga-susewe have cookies16:58
ikeywell you do make a good argument16:58
ogra_yummy cookies16:58
ikeyhm the CLA changed16:59
* ikey remembers the old one16:59
ogra_ShalokShalom, the point of core is that it can not break ... (kernels, and rootfs updates do auto-selftests after upgrades and automatically roll back to the former working version etc ... such a device is always on and working)16:59
ogra_thats what snap packages provide us ...16:59
ikeyhow do i sign the magical web form xD17:01
ogra_use your wand17:01
ogra_:P17:01
ikeydamn knew i left something at work17:01
popeyikey: you have the url?17:01
ogra_<ShalokShalom> ikey: Habitat means "i can run stuff outside the confines of the OS from the random internet and run it safely and as commonly known.17:01
ikeyyeah i got it downloaded17:01
ogra_ShalokShalom, snaps can do that as well ... we call that "classic snaps"17:02
ShalokShalomok, fine17:02
ShalokShalomso its possible to create 'artifacts'17:02
ikeybut unsurprisingly it turns out evince still sucks..17:02
zyga-susehehe17:02
ogra_ShalokShalom, i have no idea what artifacts is supposed to mean17:02
zyga-susewell17:02
ikeyand instead spent years of development energy on populating the titlebar until the point i cant move the damned window17:02
ShalokShalomclassic snaps17:02
zyga-susethere are some very nice email clients in a snap I hear17:02
ShalokShalomso not containers17:02
ShalokShalomclassic packaging17:03
zyga-suseShalokShalom: can you define artefacts please17:03
zyga-suseShalokShalom: incidentally we do have snaps that use classic (aka: none) confinement17:03
ShalokShalomsee above17:03
* ikey moves that we call them snackages17:03
ShalokShalomopposite of isolated containers17:03
zyga-suseShalokShalom: that also don't run on top of the core snap17:03
ShalokShalomhehe17:03
zyga-suseShalokShalom: but instead run on top of the distro itself17:03
zyga-suseShalokShalom: atom is a very common one17:03
* ogra_ takes a bite from ikey's snackage17:03
ikeylol17:03
* zyga-suse wants a snack now17:03
zyga-susedarn you guys17:03
zyga-suseit's too hot to think and now I'm also hungry ;D17:04
zyga-suseShalokShalom: as another interesting example, try my python0 snap17:04
* ikey pleads the fifth17:04
zyga-suseShalokShalom: it contains a very old version of python compiled as a classic snaps that I assert will work anywhere17:04
zyga-suseShalokShalom: even though it sees the full extend of the host filesystem17:04
ogra_ShalokShalom, if you get a tarball with all libs included from an ISV and unpack that to /opt ... thats kind of similar to classic (just that the execution is still snandboxed but allows access to the host)17:05
zyga-suseShalokShalom: and for distros like solus, where even the dynamic linker is in some unusual (sic) place, it works17:05
zyga-suseogra_: very lightly sandboxed, apparmor is in allow anything mode and seccomp is off17:05
zyga-suseShalokShalom: classic confinement is based on trust and good will of developers17:05
zyga-suseShalokShalom: and is regulated by the store17:06
ogra_zyga-suse, sue, but it is still actually running inside the core snap17:06
zyga-suseShalokShalom: nobody can just upload a snap like that and trick users into installing it17:06
zyga-suseogra_: classic confinement snaps? no, they run on the real fs17:06
ShalokShalom"classic confinement is based on trust and good will of developers" > Oh, that will fail17:06
ShalokShalomThat will SO fail :D17:06
ogra_doesnt17:06
zyga-suseShalokShalom: it is *exactly* like a curated archive17:06
ShalokShalomjust joking17:06
zyga-suseShalokShalom: where we get most of our software today17:06
ogra_since it still needs a full security review on upload17:06
ShalokShalomyeah, i know17:06
zyga-suseShalokShalom: just the format is different17:06
ShalokShalomthats what i mean17:06
ShalokShalomof course17:07
ogra_a "normal"" snap can always get auto-uploaded ... the interfaces shield the OS from everything evil it could do17:07
ikeyhmph17:07
ikeyedit pdf - text doesnt stay17:07
ogra_classic snaps azutomatically get blocked on upload until a human reviewer approves it17:07
ogra_(because they dont use the interface concept)17:08
mupPR snapcraft#1484 opened: lxd: configure user in container <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1484>17:08
jjohansen1zyga-suse: hrmmm, that is unfortunate. artful is going to be moving to a 4.14 based version in a week or two17:09
ikeyheh, meta. fill out in chrome, "print" to PDF..17:09
zyga-susejjohansen1: hey!17:09
=== slangase` is now known as slangasek
zyga-suseikey: I think you want to sort out the kernel details with jjohansen1 now :)17:09
zyga-susegood to see you again jjohansen1 :)17:09
jjohansen1hey zyga17:10
ikeyoh kernel is basically done :P17:10
jjohansen1zyga: so I did respond on the CONFIG Q, yesterday17:10
ikey4.9 will be the next struggle..17:10
popeyogra_: http://imgur.com/a/yszdI :(17:12
jjohansen1ikey, nothing wrong with going with the zesty/current artful version however, artful is going to switch to a newer version based on 3.14 in a week or two is all17:12
popeyhttp://imgur.com/a/OALxD17:12
ikeyjjohansen1, ive taken from artful master-next17:12
ikeyand i can rebase it in due course17:13
ogra_popey, well, you know the drill ... syslog please ... that kernel snap should definitely have the firmware now17:13
jjohansen1ikey: also, there is a backport tree, the 4.13 backport if currently at 4.10, if you wait a week or so, I will have a 4.9 backport done17:13
popeykk17:13
ogra_i was convinced it would work :(17:13
ikeyso i looked at 4.13->4.12 backport which isnt complete17:13
ikeyit only has the stuff going upstream17:13
jjohansen1ikey: yes I know, however the kt has an unstable tree, with 4.13 in it17:13
jjohansen1it will be switching to that for artful, and it will have some 4.14 patches, and possibly a couple others17:14
ikeyah ok17:14
popeyAug 11 11:00:11 localhost kernel: [   18.809931] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -217:14
popeyogra_: http://paste.ubuntu.com/25291548/17:15
ogra_boo17:15
ikeyok sent my soul attached to a PDF..17:15
ogra_popey, very weird i definitely have that file in linux-generic-allwinner rev 5 here (which this image should use)17:17
ogra_ogra@nanopi:~$ ls /snap/linux-generic-allwinner/5/firmware/brcm/*txt17:17
ogra_/snap/linux-generic-allwinner/5/firmware/brcm/brcmfmac43430-sdio.txt17:17
ogra_ogra@nanopi:~$17:17
ogra_OH!17:18
ogra_ogra@nanopi:~$ ls /lib/firmware/4.11.0-13-generic/brcm17:18
ogra_ls: cannot access '/lib/firmware/4.11.0-13-generic/brcm': No such file or directory17:18
ogra_ogra@nanopi:~$17:18
ogra_so the snap has it ...17:18
ogra_but something is wrong with the bind-mount to /lib/firmware17:19
ikeyread permissions? :P17:19
* ikey kids but is still partially traumatised by today.17:20
ogra_ah, no ... silly me17:20
* ogra_ was looking one level to deep :P17:20
ikeylol17:20
* ikey hands ogra_ https://www.youtube.com/watch?v=emGri7i8Y2Y17:20
ogra_heh17:21
popeyogra_: soooo, wait for a rebuild?17:21
ogra_popey, ls /writable/system-data/snap/linux-generic-allwinner/17:21
popeyor do you mean you don't know yet what's busted?17:21
ogra_do you see a 5 in there ?17:22
popeyno17:22
popey2 and current17:22
ogra_i have the feeling you got the wrong kernel snap in that image (i hate that ubuntu-image doesnt print the versions when building)17:22
ogra_popey, oh, wow17:22
ogra_popey, thats what we tested this morning :O17:22
* ogra_ re-builds the img ... will take a moment17:23
popeyeeb3f8d53bd3e2a717a251944eb3a0fa  nanopi-air.img17:23
popeythats the most recent one I tested17:23
popeymd5sum17:23
popeyhaaaaang on17:23
popeycould be pilot error17:23
zygaso, I want a synergy snap please17:23
zygabut I think we need support for user session services first17:24
zyga-susemvo: running fedora repeatedly I don't see the failure17:24
mvozyga-suse: hm, let me rerun the test then17:24
zyga-susemvo: so I'd say that something may be failing at the network level17:24
zyga-susemvo: and not at the level of some stale cache17:25
popeywheee, dding again, wifey is gonna be late for dinner now :D17:25
zyga-susemvo: still inconclusive though17:25
zyga-susemvo: but yes, re-running might be a good idea17:25
mvozyga-suse: maybe it was a hickup on their servers17:25
zyga-susemvo: thank you for staying on Friday to work on this :)17:25
mvozyga-suse: yeah, I want the 2.27 fixe17:25
mvoss17:25
zyga-susemvo: I saw it once17:25
zyga-suseand then I re-run (inside the debug shell)17:25
zyga-suseI re-run the same dnf install and it worked17:25
zyga-suseso :/17:25
* zyga-suse wants 2.27.1 too :)17:26
mvozyga-suse: ok, retriggered and will see how it goes17:26
* mvo gets dinner17:26
jdstrandmvo: so do you want a cherrypick?17:26
zyga-susefingers crossed17:26
zyga-suseI'm still running it in a loop17:26
jdstrandmvo: I don't think it is needed, but if you do, I'll do it17:26
mvojdstrand: its fine, I can squash-merge and cherry pick the entire commit into 2.2717:27
popeyogra_: is this the smallest device so far to run ubuntu core?17:27
popeyNDAs aside ;)17:28
ogra_popey, physical size wise, yeah17:28
popeynice17:28
jdstrandmvo: from my perspective, that is perfect17:28
ogra_regarding power the beaglebone is still the smallest17:28
jdstrandmvo: thanks! and sorry for not commiting that sooner17:28
ogra_(800MHz single core, 256M )17:28
popeyscrolled back in console...17:29
ahoneybunand one know how to get LP to build a snap?17:29
mvojdstrand: thanks, waiting for tests, then I will cherry pick17:29
ahoneybunI don't have the option here: https://launchpad.net/kubuntu-manual17:29
popey[   26.613572] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a717:29
popey[   26.642154] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)17:29
zyga-suseahoneybun: you can use a snap recipe17:29
zyga-suseahoneybun: but many people just use build.snapcraft.io17:29
mupIssue snapcraft#1485 opened: Make script aware of 407 when downloading gradle <Created by koppor> <https://github.com/snapcore/snapcraft/issue/1485>17:29
ogra_ahoneybun, not in the toplevel, you need a source tree17:30
ogra_popey, oooh !17:30
ogra_popey, and console-conf ?17:30
ahoneybunogra_: source tree?17:30
popeyhttp://paste.ubuntu.com/25291629/17:30
popeylots of stuff whizzing by17:30
ogra_ahoneybun, yeah, something with a snapcraft.yaml17:30
ahoneybunhttps://git.launchpad.net/kubuntu-manual/tree/17:30
ahoneybunso I need a .yaml file for LP to see it as an option?17:30
ogra_popey, oh my17:31
popeyyeah, can't see console-conf now17:31
ogra_ahoneybun, https://code.launchpad.net/~aaronhoneycutt/kubuntu-manual/+git/kubuntu-manual/+ref/master17:31
popeytoo much spam17:31
popeyback in an hour or so, need to take wifey to dinner17:31
ogra_ahoneybun, you can click the "create snap package" button on there ... but to build a snap you need a snapcraft.yaml17:32
ahoneybunall got to click a branch for it to be there17:33
ahoneybungot it17:33
ahoneybunthanks ogra_17:33
ogra_:)17:33
ahoneybunI'm trying to get khelpcenter (kde doc thing) to handle our sphinx docs17:33
ahoneybunit seems to handle docbook the most but sphinx does not export that17:34
mupPR snapd#3720 opened: Add initial support for Solus <Created by ikeydoherty> <https://github.com/snapcore/snapd/pull/3720>17:37
ikeyitshappening.gif17:37
zyga-susewooooot17:37
* zyga-suse reviews17:37
ikeymight be some janky that you dont like17:37
ikeybut only one way to find out17:38
ikeylol17:38
ogra_popey, once you are back ... full syslog please ... (though i might be gone then too, but i'll look at it over the weekend)17:39
zyga-susejdstrand: ^17:41
zyga-suseikey: reviewed17:41
ikeywhy wouldnt we want libgcc_s .. ?17:43
zyga-susemm¿17:43
ikey"Same comment as above (may need pruning)17:43
ikey"17:43
ikeyfor libgcc_s and libapparmor17:43
zyga-suseI wasn't thinking about libgc_s specifically17:43
zyga-suseI just clicked there at random17:43
ikeyoh17:43
zyga-susethe thing that hinted that this may be stale is libnih17:43
zyga-susewhich was only ever used by upstart17:44
zyga-suseso unless you have upstart17:44
zyga-susethen I don't think you need it17:44
zyga-suseand then you probably don't need other entries17:44
zyga-suseso let's check17:44
ikeyyeah i dropped nih + cgmanager17:44
ikeylibcap was needed because im doing dynamic link of libcap17:45
ikeyok your comments have sod all context lol17:46
zyga-susethat makes sene17:46
zyga-suse*sense17:46
ikey"I'm curious about those two rules, they look fine but I wasn't aware we need them or that we perform those operations.17:46
ikey"17:46
ikeywhich?? :P17:46
zyga-suseso if you purned the list then +1 as I said17:46
zyga-susesnapctl17:46
zyga-suseand /usr/lib/snapd17:46
ikeyhm that might've come back from rebase17:46
ikeylemme drop those two and see how she goes17:46
zyga-suseI'm curious because /usr/lib/snapd is already definitely mapped17:46
zyga-suseah17:46
zyga-susewait17:47
zyga-susethis may be from mvo's work17:47
zyga-suseon bare base snaps17:47
zyga-susemvo: ^ a comment if you still have enrgy17:47
ikeyi think its an artefact of the rebase17:47
zyga-suse*energy17:48
ikeyill rebuild with the changes and reinstall/reload apparmor and see if it screams blue murder17:48
ikeyif not, suhweet17:48
ikeyyea golden17:51
ikey-f pushed change17:51
zyga-susethanks17:51
ikeybrave and mrrescue being my new test apps17:51
ikeylol17:51
zyga-suseikey: reviwed17:52
ikeymerci17:52
ikeyah git17:52
ikeyi know how i ended up doing that17:52
ikeyfrom copying + editing:17:52
ikey    /usr/lib/@{multiarch}/libseccomp.so* mr,17:52
ikey    /lib/@{multiarch}/libseccomp.so* mr,17:52
zyga-suseahh17:52
zyga-suseright17:53
ikeylike not *just* insane >_>17:53
ikey(sorry xD)17:53
ikeyneed me to change the commit message btw?17:53
ikeysaw the PR title edit17:53
zyga-susenah, that's fine17:54
zyga-susewe are not that saint and holy :)17:54
ikey:D17:54
zyga-susemvo: interestingly another run that goes on without failures17:54
zyga-susemvo: since we yank disks I don't think this is any specific node that is affected17:54
zyga-susemvo: but maybe I am mistaken and it's just one broken box spoiling our day17:55
zyga-suseikey: did you try to run tests?17:56
zyga-suseikey: go test ./...17:56
zyga-suseor similar17:56
=== JanC_ is now known as JanC
jjohansen1ikey: btw the apparmor backport kernels are currently at git://kernel.ubuntu.com/jj/linux-apparmor-backports17:56
ikeyyeah its where i was at jjohansen117:56
ikeythey were incomplete :)17:56
ikeyi.e. ubuntu domain patches17:57
ikeyzyga-suse, had massive pains trying to get test suite integrated into the pkg17:59
ikeydamn go vendoring17:59
zygaikey: that's fine17:59
jjohansen1ikey: hrmmm, well incomplete in the sense that they don't yet got back further than 4.10, and that they don't have all the features, they are exactly what they claim 4.13 backports.  Once the 4.14 pull is out there will be a 4.14 backport and there will be 4.13+outoftree17:59
zygaikey: just wonder what happens when you clone master17:59
zygaikey: and run go test ./...17:59
zygaand see what you get17:59
jjohansen1ikey: anyways sounds like you are aware of where things are17:59
ikeyjjohansen1, yeah i mean i know they're 4.13 backports - but they're not "full" apparmor in the ubuntu sense :D17:59
ikeyi started off with your backport tree fwiw17:59
jjohansen1ah17:59
ikeyhttps://dev.solus-project.com/R3571:43c64241912cc3bfc35a4299097e82b00e1f2cd618:00
ikeyyou can see the deleted patches18:00
jjohansen1ikey: so 4.14 will be very close, it looks like I probably won't be able to land 1 feature18:00
ikeybecause i had partial not strict confinement18:00
ikeyah ok18:00
ikeylooks like solus will be spying on your kernels for a while then jjohansen1 :p18:02
jjohansen1:)18:02
jjohansen1ikey: just poke me if you need any help with any of it18:02
ikeyoh sure - thanks18:02
ikeyfwiw in the end I basically did: git rm -rf security/apparmor, cp -R $fromtheubuntukernel/security/apparmor security/. ; git add .18:03
ikeyand then ported the securityfs bits across and kept watching make on a defconfig18:03
ikeyuntil it was clean/error-free18:03
ikeyso it might not be pure but by god it frackin works :p18:04
jjohansen1ikey: heh, that is how I recommend doing it, its just so much easier18:09
ikey:D18:09
ikeyid rather carry one log across the stream then take it stick by stick ..18:09
ikeyhow do i know i have the same log at the end? xD18:10
ikeyaw test failures18:10
zygashow me please18:10
ikeyon the PR18:10
zygaah, looking18:10
ikeylittle red angry crosses18:10
zygaikey: ah18:10
zygaikey: go to interfaces/builtin18:10
zygaikey: run go test18:10
zygaikey: it will fail18:11
ikeyopengl18:11
zygaikey: you want to fix that one place18:11
zygayep18:11
zygaikey: I suggest using one trick18:11
zygaikey: instead of c.Assert(..., Equals, ...) use testutil.Contains18:11
zygaand just find the essentail part18:11
ikeyyea18:11
zyganot the whole kitchen sink18:11
zygait should be nicer and convey the point more18:11
ikeyso when i run go test i have a billion things not found18:11
ikeyand y'all don't do git submodules18:11
zygano, it's just in one tree18:12
ikeyeh18:12
ikeymy CLI disagrees18:12
ikeylol18:12
ikeytests/lib/fakestore/store/store.go:34:2: cannot find package "gopkg.in/tylerb/graceful.v1" in any of:18:12
ikeyetc18:12
* ikey does the govendor thingy18:13
ikeyimagine how much nicer this would be with .gitmodules .. lol18:14
Pharaoh_Atemplease, don't encourage it18:15
ikeywould be so much more manageable than this govendor thing18:15
ikeyrecursive clone, bam, done18:15
zygaikey: just ./get-deps18:16
zygathat does it18:16
zygaikey: govendor is easy too, just different18:16
zygaikey: I don't mind it (govendor)18:16
Pharaoh_Atem>_>18:16
ikeysnap/info_snap_yaml_test.go:822: undefined: snap.NewHookType18:16
Pharaoh_AtemI wish I had overlay tarballs18:16
zygaPharaoh_Atem: go develop snapd without it ;) it's just a time saver18:16
ikeythis is a concussion of failures18:16
* Pharaoh_Atem guesses he'd have to make the overlay tarballs himself18:17
zygaikey: so, that's odd18:17
zygaikey: is this on master18:17
ikeyso your HACKING doc is telling me to use go get18:17
ikeybut i need git18:17
ikeynot got get'd crap18:17
zygaikey: I assume you set up all the go gooies okay (GOPATH and all that)18:17
ikeybecause my changes is elsewhere18:17
ikeywell your tree is set up wonky18:17
ikeyyou dont have src or src/vendor18:17
zygaikey: put your tree in $GOPATH/src/github.com/snapcore/snapd18:17
popeyogra_: http://paste.ubuntu.com/25291916/18:17
ikeyso i cant set GOPATH=`pwd`18:17
Pharaoh_Atemnope18:18
zygaikey: I never heard of that approach18:18
ikeyits standard ._.18:18
Pharaoh_Atemzyga: it doesn't work18:18
zygaikey: (in fact, none go project I saw did that)18:18
ikeymany. many do18:18
ikeyonly libraries use root level18:18
zygaikey: not saying it's wrong just unfamiliar18:18
Pharaoh_Atemikey: that's news to me18:18
Pharaoh_Atemto date, I haven't see a Go package that works that way18:18
ikeyso if you need to be imported from another project, you use root level18:18
ikeymeet one https://github.com/solus-project/solbuild18:18
popeyogra_: https://raspberrypi.stackexchange.com/questions/62722/pi-zero-w-wifi-interference-with-tty18:19
zygahttps://github.com/solus-project/solbuild/blob/master/.github/building.gif18:19
zygalol18:19
zygawat is that?18:19
ikeysolbuild18:19
zygaI mean18:19
zygawhy do you keep the gif in the tree18:19
ikeycuz its pretty18:20
ikeyand its in the readme18:20
ikeylol18:20
Pharaoh_Atem:)18:20
Pharaoh_AtemI did something similar recently: https://blog.mageia.org/en/2017/07/21/dandifying-mageia-part-2/18:20
zygaPharaoh_Atem: about that, where is snapd mageia?18:20
Pharaoh_Atemzyga: ask Akien :)18:20
zygawell, I haven't heard from him18:20
ikeyk so18:21
ikey ✓  ufee1dead@ironhide  …/Projects/go  ls src/github.com/snapcore/ -l18:21
ikeytotal 018:21
ikeylrwxrwxrwx 1 ufee1dead ufee1dead 17 Aug 11 19:20 snapd -> ../../../../snapd18:21
ikeynow lets see if she goes18:21
ikeyzyga, feature request: make get-deps verbose plox18:22
zygaplox?18:22
ikey= pls/please18:22
Pharaoh_Atemzyga: he hasn't been around lately, I'll poke him next time I see him18:22
zygaikey: pass -v to govendor sync18:23
ikeyok test is finally going xD18:23
zygarun tests across the tree to see what works and fails18:24
zygamaybe something odd will shoe up18:24
zygashow up18:24
ikeyyer18:26
ikeydoing your test-all-the-things command18:26
ikeyyer im missing the solus snippet in the test suite18:27
ikeyzyga, we'll just pretend none of this ever happened and move on. *cough*18:29
=== pbek_ is now known as pbek
zygaikey: well it's Friday :)18:30
ikeyaint it just18:30
ikeylol18:30
zygaif I had any cold beer I'd love to try some18:30
* ikey is silencing his brain with bonnie tyler 18:30
zygait's dusk here and it's way to hot to work18:31
ikeyheh18:31
ikeyIreland doesn't really have that issue .. -_-18:31
zygaikey: just put your head into an overclocked pentium 4 for some time18:31
ikeylol18:31
zygaikey: not that I recommend it18:32
ikeyif i had my server still id be plenty warm18:32
zygaand some say that traveling to poland is cheaper than a pentium 418:32
ikeydual-socket xeon used to sit under the desk18:32
ikeyit went back to work when i went full time on solus18:32
zygaI'm looking forward to amd now18:33
zygaI need to sell my boxes18:33
zygaand unify under one nice VM host18:33
ikeynot gonna have local h/w?18:33
zygano I mean I want less local hw18:33
pedronisThe job exceeded the maximum time limit for jobs, and has been terminated.18:33
zygaI have way too many computers now18:33
ikeyah18:33
zygapedronis: :-(18:33
pedronisdo we have enough resources now with all the other distro tests?18:34
pedronisthat branch has the bump to 3 workers for fedora but doesn't seem enough18:34
zygapedronis: interesting, I'll drop that if that is the case18:34
zygaI was testing on one locally18:34
ikeyim sure that whatever the problem is, openstack is the solution18:35
* ikey grins evilly18:35
zygaikey: unless the problem is too many layers of abstraction18:35
ikeylol18:36
ikeyor god awful python18:36
ikeywhich is all basically down to:18:36
ikeydef busyFunction(args):18:36
ikey    return commands.getoutput("some slow ass command {}".format(args))18:36
zygaso, when I was in primary school I wanted to make games18:36
zygaI ran doom on my 386 DX box18:36
zygaand doom took a while to load18:36
zygaand I loved that18:37
zygait did stuff18:37
ikeyyea18:37
zygaand my programs at the time did not need that loading screen18:37
zygaso one day I impressed my friend by making a fake loading screen18:37
zygawhere I would just do useless IO and wait a little until all the dots fill in18:37
ikeylol18:37
popeyhahah18:37
zygathat was a pro app then18:38
zygait meant serious stuff18:38
ikeynow i know where plasma got it from ..18:38
zyga(also that was on DJGPP under dos, man those were the days)18:38
popeyoh wow, allegro18:38
zygano I didn't use allegro18:38
popeygetting flashbacks to zip drives full of djgpp stuff18:39
zygaI remember downloading djgpp over modem for a week18:39
zygaand now bandwidth is next to free18:40
zygabut people don't download djgpp anymore18:40
zygathey download youtube and faceb ook18:40
ikeyin the old SolusOS (debian based) days (not that long ago really) I was using the original mobile broadband, i.e. that devilcrap from 318:40
ikeytook over 7 hours to upload an ISO18:40
popeyouch18:40
zygareally?18:40
ikeythats when i fell out with filezilla18:40
zygaI'm on mobile broadband now18:40
ikeybecause it wouldnt resume the partial18:41
zygaand one thing I love is fantastic upload speed18:41
ikeyzyga, i mean original mobile broadband. :p18:41
ikeynot the stuff now18:41
popeyyeah, but gprs vs 4g is quite a difference18:41
kyrofaMan you guys are old18:41
ikeyi mean like 7 years ago or so18:41
ikeykyrofa, oi18:41
ikeyim 2818:41
ikeyi think18:41
zygaikey: hmmmmm18:41
ikeyill get back to you on that18:41
zyga7 years ago it was still faster :D18:41
popeywhere I went on holiday in portugal they had "wifi" which was a 3g dongle18:41
zygamaybe I had better broadband18:41
kyrofaI remember the sound of dialup... vaguely18:41
popeywas fine for everyone to use at the same time. amazing how far it's come18:41
zygahey kyrofa :)18:41
ikeyDialling attempt 9 of 10 ...18:42
zygayeah, have you seen the ashen hair on my beard?18:42
popeyTrumpet winsock :)18:42
zygaI feel so old when I look into the mirror18:42
kyrofaHey zyga :) . Haha, that I have!18:42
kyrofazyga, ogra_ isn't is super late for you guys?18:42
ikeyzyga, my mirror doesn't make eye contact anymore..18:42
kyrofaIt's the weekend!18:42
zyga-susemvo: reproduced again, darn, I ran without --debug18:43
ikeywait how/why did i end up going down this snap road18:43
ikeyi was meant to be doing budgie 10.4 and a solus release18:43
* ikey retraces the last few days18:43
zygakyrofa: 20:42 is mild18:43
kyrofaAh right, you moved18:44
zygaikey: I think it was a nice ride :-) you certainly made new grounds here18:44
ikey"its been real"18:44
ikeylol18:44
ikeyi mean, being mature about it for a moment...18:44
ikeyits nice to sit back and say, yknow what..18:44
ikeysuck it, arch.18:44
ikey>_>18:44
zygalol, why take a lob at arch out of a sudden?18:45
ikeyoh its there18:45
ikeythats all18:45
ikeyits anti-memery18:46
ikeyremember, Arch is where newest and fixiest â„¢ happens first - before everyone! â„¢18:46
zygamemery?18:46
ikeyanti-meme.18:46
ikeyry.18:46
zygaah18:46
ikeylol.18:46
zygaone thing I like arch for is the immensly valuable and up-to-date wiki18:46
zygathat's an unversal asset for the whole community18:46
ShalokShalomikey: no, we are quicker :P18:46
ikeywouldnt be sure about that18:46
ikeythe emails ive had id say not all of you are that quick ;)18:47
ShalokShalomzyga: yea, i see so too18:47
ShalokShalomwhile Gentoos is also great18:47
ShalokShalomand the community is nicer...18:47
ShalokShalomimho18:47
ikeyGentoo went through the growing-up-pains a *long* time ago18:47
mupPR snapcraft#1481 closed: cli: better error message for missing mksquashfs <bug> <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1481>18:48
zygacommunity is a very vague thing unfortunately, some people are nice, some people are not nice, that's everywhere; some projects try to make sure their community behaves but this is just human nature18:48
ikeyya you're gonna get that in any walk of life, virtual or not18:48
ikeyi feel like my PR has killed the testbot :p18:49
* ikey is kinda jealous of the fancy automated builder18:50
zygaikey: spread?18:50
mupPR snapcraft#1482 closed: ci: skip the CLA check for pull requests from the bot <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1482>18:51
zygaikey: just use it :)18:51
ikeytouché18:51
ikeynice comment here at the bottom: https://plus.google.com/+Solus-Project/posts/dxBEun53LVm18:52
ikeyre: s/w availability18:52
* ikey is finally off the hook almost18:52
zygaPharaoh_Atem: does dnf keep any logs18:52
zygayes18:53
zygasnaps make software egalitarian18:53
ikeyit does solve that most awkward of issues for solus18:54
zygano matter which distribution you use, you keep access to apps you want18:54
ikeyits biggest strength and arguably its largest weakness18:54
ikeyits independence18:54
ikeyhaving the new fangled formats around allows us to keep doing that18:54
zygaikey: try making a snap18:54
ikey(assuming critical mass + hype + corporate backing)18:54
zygaikey: hand make it18:54
ikeywhy so? :p18:54
zygato see how it is18:54
ikeyi mean im not overly opposed to it18:55
zygaikey: make meta/snap.yaml18:55
ikeybut i did kinda do the whole YAML based packaging before y'all18:55
zygaikey: stick some files you compiled18:55
ikeyThis won't be overly new to me :P18:55
zygaikey: "snap try" the directory you were holding this in18:55
zygaand see how that is18:55
ikeyima leave that til tomorrow if thats alright lol, just waiting to see the results of the test build18:55
zygasure :-)18:56
ikeyand then im gonna find a corner in which to curl up and die18:56
ikey*or* buy pringles and watch netflix18:56
ikey*hrm*18:56
ShalokShalomSnappy is bond to Ubuntu One?18:56
ikeytotally gonna get pringles.18:56
zygaShalokShalom: nope,18:56
zygaShalokShalom: ubuntu one the identity provider? no18:56
* ikey considers a snap for solbuild .. xD18:56
zygaShalokShalom: so far that's the only one but we have plans and work in progress for federation and local identity18:57
ikey(would be virtually impossible without --classic ..)18:57
arm1eogra_: Hey man, you still around18:57
popeyarm1e: i think he checked out for the weekend.18:57
arm1eikey: shit me, you still working? Long day. Your new boss must be a real dick!18:58
ikeysomethin like that18:58
ikeygoing to do a solus release soon, and i think having full (CLI) snap support would be a nice headline feature18:59
arm1epopey: cheers. Still stuck on this bloody snap!18:59
ikeyanyone will tell you, near release time, hours go out the window18:59
zygaikey: indeed18:59
ShalokShalomzyga: while this is true, are my experiences with the different communitys very often reproduceable18:59
popeyarm1e: which one?18:59
zygaShalokShalom: I don't deny that18:59
arm1etrying to make a get-iplayer snap, but it is just a perl executable and I cant get it to compile properly19:00
popeyget_iplayer _may_ become redundant once BBC force the identity provider on us :S19:00
arm1eikey: with flatpak too? That could set you apart from many others19:00
ShalokShalomarm1e: he is not working, he is chatting :P19:00
ikeywe already have flatpak support arm1e19:01
ikeyShalokShalom, nuh uh19:01
ikeyhttps://xkcd.com/303/19:01
arm1eikey: I know,19:01
ShalokShalomikey: so, you went back from AppImage?19:01
ikeynever had appimage ShalokShalom ..19:01
ShalokShalomOr Flatpak19:01
arm1epopey: I know, I just wanted to see if i could do it. Trying to learn how to snap things19:01
arm1epopey: LOTS to learn!19:01
ikeydoes anyone else immediately go to "rhythm is a dancer" when someone threatens to snap a thing19:02
ikey?19:02
popeyThe Power, here19:02
ikeyah19:02
ikeylol19:02
* zyga doesn't recall the reference19:02
ShalokShalomjust remember that one person in your room, self-proclaimed pro on this area, announced that after a long and intense research, Flatpak was choosen19:02
ikeyok thats not what i said at all and you might wanna wind it in ShalokShalom19:03
ShalokShalomnot you19:03
ShalokShalomsomebody else19:03
ikeyyour comment sounds malicious, just letting you know.19:03
ShalokShalomthat comment sounded so as well19:03
ShalokShalomso i might have done a fine job in reproducing it19:04
ShalokShalomhi sabdfl :)19:04
zygasabdfl: hey :)19:04
zygasabdfl: ikey here just added snapd support to Solus OS19:04
Pharaoh_Atemsabdfl: Hey!19:04
ikeys/OS//19:05
zyganice way to end Friday for me :)19:05
ikey>_>19:05
zygasorry ;D19:05
ikeylol s'ok19:05
ikeyanother meme. :p19:05
sabdflhow was the experience, ikey?19:05
ikeyIntense!19:05
ikeylol19:05
sabdfl:D19:05
ikeyI think we pulled this off in like 3 days?19:05
ShalokShalomis there anything else in Snappy, that takes it off from the others?19:05
ikeyincluding today19:05
ShalokShalomsome unique feature?19:05
ShalokShalomfocus?19:05
ikeyand we're now at the point where Solus's kernel matches the apparmor implementation in Ubuntu Artful19:06
sabdflzyga, do we have Solus in CI testing so we gate updates appropriately?19:06
zygasabdfl: with confinement, no less19:06
ikeySo Solus has full confinement for snaps. Woot19:06
sabdflthat's ace :)19:06
arm1eis anyone available to help me write the yaml for get-iplayer please. Keeps failing to compile19:06
zygasabdfl: not yet but we are getting initial patches and we've already discussed spread and system testing19:06
ShalokShalomikey: what makes you go aways from Flatpak?19:06
sabdflclassic and strict both work?19:06
ikeyCouldn't have done it without the guys here, so, go team19:06
zygasabdfl: we'll get there19:06
zygasabdfl: yes19:06
sabdflawesome19:06
zygasabdfl: really, a first outside of ubuntu derivatives19:06
ShalokShalomthey mean its not suitable to power a whole distro19:06
ikeysabdfl, classic has some library/path related issues we can compromise on in solus19:06
ikeylike libselinux.so needing to be there and gtk-update-icon-cache-3.0 symlink19:06
ShalokShalomthey = some ppl in #flatpak19:06
ikeythen the vast majority of classics will "just work"19:07
ShalokShalom*away19:07
zygasabdfl: some classic snaps assume too much of ubuntu but we can improve this with tooling and compromise across distros19:07
sabdflikey, i would like every distro to be a gate on snapd updates, so let's add what you need19:07
ikeysure - much appreciated :]19:07
sabdflwe should offer a testing service for snap publishers "test your snap on all supported distros"19:07
zygaoh that would be lovely, yes19:08
zygaand we have the means to do that technically19:08
ikeynice bit of value-add19:08
ikeyfree pipelining19:08
sabdfli.e. when they release into edge/beta/candidate, we smoketest it for them, using a test suite they supply, on VMs of all the distros19:08
Pharaoh_Atemthat'd be nice19:08
zygaI was working on out-of-the-box experience that tests how snaps behave simply by following install instructions from snapcraft.io19:08
sabdflso there's less stress in --stable :)19:08
Pharaoh_Atemwe need to get all the distros at parity first, but that'd be awesome19:08
ikeythey'd know the distros would have problems .. before the distros19:08
ikeybit of a turning point19:08
zygaand we could generalize that to see how the same snap behaves across many releases of many OSes19:08
sabdfland we'd have a concrete list of things we can smooth over centrally19:09
sabdflzyga +119:09
Pharaoh_Atemzyga: with F24 EOL, all currently supported Fedora releases will have snapd "just work" out of the box19:09
zygaPharaoh_Atem: yes, I need to do some work to add F26 to our test pool19:09
Pharaoh_Atemthough we're still gimped because snapd-xdg-open isn't in Fedora19:09
zygaPharaoh_Atem: and also tumbleweed and opensuse leap .319:09
* ikey likes boxes and things that work outside of them19:09
sabdflthen let's get Fedora into the CI pipe too!19:10
zygasabdfl: we have F25 in the CI today but we need to improve test coverage as not all tests are enabled today19:10
Pharaoh_Atemsabdfl: believe me, I want that more than anything :)19:10
zygaPharaoh_Atem: speaking of that, any dnf log I can refer to to see why a particular dnf install failed?19:10
Pharaoh_Atemzyga: /var/log/dnf*.log19:10
zygathank you!19:11
Pharaoh_Atemthere's dnf.log, dnf.librepo.log, dnf.rpm.log19:11
zyga-susePharaoh_Atem: hmm interesting19:11
zyga-susehttps://paste.gnome.org/pug2inoby19:11
* arm1e is looking for anyone who can help write the yaml for get-iplayer please. Keeps failing to compile. 19:12
arm1ea mentor i suppose19:12
Pharaoh_Atemzyga-suse: that's because 1.12 is gone19:13
Pharaoh_Atemhttps://bodhi.fedoraproject.org/updates/FEDORA-2017-dba516609419:13
naccarm1e: pastebin the log (of the build failure)19:13
Pharaoh_Atem1.13 was pushed out 2 days ago19:13
zygaPharaoh_Atem: but I dnf install foo19:13
arm1enacc: will do19:13
zygaPharaoh_Atem: am I missing something?19:13
Pharaoh_Atemzyga: it's possible you're on a broken mirror?19:13
Pharaoh_Atemtry forcing a refresh19:13
Pharaoh_Atem"dnf --refresh install <pkg>"19:14
zygaPharaoh_Atem: let me patch that19:14
zygatrying again19:15
arm1enacc: http://paste.ubuntu.com/25292200/19:15
ShalokShalomso, is there anything else to add for you? http://funkyimg.com/i/2wjmo.png19:15
arm1eI kind of get the problem, I think the syntax in the yaml is wrong.19:15
naccarm1e: and your yaml?19:16
ShalokShalomah, Snappy runs only on Linux, yeah?19:16
arm1enacc: http://paste.ubuntu.com/25292206/19:16
arm1enacc: I was told earlier to use a snippet to install and got sent the syntax for the install part of the file19:17
naccarm1e: iiuc, you are just trying to put the get_iplayer script in a good place?19:17
arm1eI think so19:17
naccarm1e: i think with the dump plugin you can ignore that (tbh) and just create an application that will call get_iplayer19:18
naccarm1e: note that it doesn't really make sense to hav ea yaml without any applications19:18
naccarm1e: i *think* you could probably go through the building steps, stop at stage and see what is in your staged fs at that point. I expect you'd see get_iplayer somewhere and that's all your application needs to call (i think)19:19
naccarm1e: you *might* need a wrapper script since you're using the dump plugin, to set PERL5LIB and/or PATH correctly19:19
arm1enacc: I think I should probably just give up and try a different application19:20
zygare19:22
zygaShalokShalom: I'd like to understand what you mean by sharing libraries19:22
zygaShalokShalom: libraries can be shared just as they can be in flatpak19:22
zygaShalokShalom: and more actually19:22
ShalokShalomsharing ressources19:23
zygaShalokShalom: as you are not at the whim of your runtime provider19:23
zygaShalokShalom: so you can share just as much as in the flatpak approach + whatever else you want amongst the snaps you make19:23
zygaShalokShalom: which is not techically possible in flatpak19:23
ShalokShalomso, use one library for dozens of apps19:23
ShalokShalomwhile one time in RAM19:23
zygaShalokShalom: I'm not sure that is really the case in flatpak if they come bundled19:23
zygaShalokShalom: unless it happens to happen because of ostree19:23
ShalokShalom"whatever else you want amongst the snaps you make" ?19:23
zygabut I cannot confirm that for you19:23
zygaShalokShalom: as a snap author you can share content between the snaps you own19:24
ShalokShalomthe old PC-BSD bundle system also shared ressources19:24
zygaShalokShalom: so you can, say, ship the whole java runtime in one snap19:24
zygaShalokShalom: and then have a few snaps re-use it19:24
zygaShalokShalom: then you trully share it in ram and on disk19:24
zygaShalokShalom: flatpak allows you to bundle stuff in your package and gives you the runtime19:24
ShalokShalomyeah, thats what i mean19:24
zygaShalokShalom: (thought I'm not a FP expert so ask them please)19:24
ShalokShalomsure19:25
ShalokShalomi do this anyway19:25
zygaShalokShalom: but if I have N packages that happen to bundle the same library19:25
zygaShalokShalom: I don't know if it is guaranteed that ostree will de-duplicate it19:25
zygait might, but I cannot say19:25
ShalokShalomlike to be save, that everyone can insist, if i do something unfair by accident19:25
zygaand I don't know the conditions that make it de-duplciated19:25
ShalokShalomFlatpak and Snappy are both for Linux only, yes?19:25
popeyDepends on the perspective19:25
zygaShalokShalom: both rely on linux kernel features extensively19:25
zygaShalokShalom: but19:26
arm1enacc: what would you recommend?19:26
ShalokShalomSnappy depends on something?19:26
ShalokShalomsystemd?19:26
ShalokShalompopey: at the current state19:26
popeyAlso, the sheet seems to only focus on user-facing features, not the developer facing features19:26
zygaShalokShalom: it doesn't mean they cannot eventually work in other operating systems19:26
ShalokShalomHabitat runs on OS X and Windows too, as an example19:26
naccarm1e: you're pretty close (given that it's a perl script that you're wrapping, no compilation is necessary, which makes it easy19:26
ShalokShalomeventually19:26
zygaShalokShalom: we depend on the kernel mostly, userspace we do depend on systemd and udev19:26
ShalokShalomthis sheet is about the current state of development19:26
naccarm1e: but it's a lot easier to snap something you understand deeply, IMO (at least how it builds/installs)19:26
zygaShalokShalom: though mostly as a convenience, we chose not to abstrat this away because mostly everybody agrees19:27
arm1enacc: problem is I dont understand most of what you wrote19:27
ShalokShalomok fine19:27
ShalokShalomi see19:27
zygaShalokShalom: and we made a deputy systemd package that allows systemd to run on top of an existing init system so that it can manage snapd and nothing else19:27
naccarm1e: yeah, i understand19:27
ShalokShalomaha, ok fine, thanks a lot19:27
* zyga knows nothing about habitat19:27
arm1enacc: I only chose this because I managed to get it to work on solus and it is the only thing I have ever packaged19:27
zygaShalokShalom: is that a build-from-source approach?19:27
ShalokShalomyeah, its my prefered system until19:27
ShalokShalomyes sure19:27
ShalokShalomboth19:28
zygaShalokShalom: so you have no guarttee that what you get is the same really, it's a differnet build each time19:28
naccarm1e: i don't know what solus is -- but like i said you are actually close19:28
zygathat's nice but it's a different class of systems19:28
naccarm1e: if you add a an application, I think you'll immediately see what i meant19:28
arm1eikey: Did you hear that!! Blasphemy!19:28
naccarm1e: and then when you run your application, i think you'll see what i meant about the wrapper script (because it probably won't run)19:28
arm1enacc: application as in set the command for get iplayer19:29
ikeysorry didnt hear i wasnt here :319:29
zygaPharaoh_Atem: I think that has fixed it, I'll commit this soon19:30
naccarm1e: https://snapcraft.io/docs/snaps/metadata#snap.yaml as in an entry under apps:19:30
naccarm1e: right now you're not snapping anything19:30
ShalokShalomzyga: https://github.com/habitat-sh/habitat#habitat19:30
zygaI need to put the thermal paste on my suse laptop, it is really crazy hot all the time19:30
ikeyfedora failed on my PR @_@19:30
naccarm1e: parts are bits and pieces of a final snap, but you're not exposing an entry point to that result19:30
zygaikey: yep, I'll fix that19:30
zygathat's what I'm working on now19:30
zyga(on my suse box, because life is great :)19:30
arm1enacc: I think i follow19:30
ShalokShalomProvide repeatable builds19:30
zygaShalokShalom: curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | sudo bash19:31
ShalokShalomProvide idempotent behavior (the same inputs to the same asset provide the same outcome)19:31
zygaI fear every project that does this19:31
ShalokShalomwhy?19:31
zygareally? do you not see why this is dangerous19:31
naccawful :/19:31
ShalokShalomlook at the .sh if you fear19:31
ikey"run random command from internet"19:31
zygahaha19:31
zygawell19:31
ikey"Ok boss"19:31
zygaI need to show you one nice script19:31
ShalokShalomits not random19:31
ShalokShalomits from Chef19:31
zygathat if you wget it it is benine19:31
ikeyive never seen it before, its random19:31
zygaand if you pipe it it owns your system19:31
ShalokShaloma well known Company19:31
ikeyif i do this in a starbuckets on public wifi i deserve whats coming to me.19:31
ShalokShalomand community19:31
zygameasuring the speed at which you read19:31
zygathat's why19:31
ikey*starbucks19:32
ikey..starbuckets? long day.19:32
zygait means that whoeever made that page doesn't appreciate secure design19:32
pedroniscachio: niemeyer:  got again  The job exceeded the maximum time limit for jobs and has been terminated.  2nd time in a row even if I merged master with the 3 workers for Fedora19:32
ikeysecure design = pythonic os.system("rm -rf some/path") - right zyga ?19:32
ikeybecause you used a secure language19:32
* ikey runs19:32
ShalokShalomYou check all the source code of applications that you pack?19:32
cachiopedronis, which job?19:32
ikeyShalokShalom, actually thats a new goal for solus19:32
ShalokShalomhahahahaha19:33
ikeybuilding a source->customer pipeline19:33
ikeyimean client.19:33
ikey*grin*19:33
Pharaoh_Atemyou mean something that'll keep Solus afloat :)19:33
Pharaoh_Atemit's on that boat in the ocean after all :)19:33
ikeySolus has no issues staying afloat19:33
ikeyWell built boat19:33
ikeyNot like that one irish boat we wont talk about19:33
ikey*cough*19:33
* Pharaoh_Atem sniggers19:34
ShalokShalomSolus remembers me on btrfs19:34
ikeywat19:34
ikeyalso props for the ascii-banner-of-death on travis19:34
zygaShalokShalom: https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/19:34
zygathis is why19:34
zygamvo, pedronis: I'll cut the number of workers to 1 until we can fix the quota19:35
zygaand I think I have the fix for fedora now19:35
pedroniscachio: https://travis-ci.org/snapcore/snapd/builds/263451621?utm_source=github_status&utm_medium=notification19:35
zygaPharaoh_Atem: I find the --refresh part confusing because it seems to differ on interactive vs batch somehow19:35
zygaPharaoh_Atem: it doesn't fail interactively, is --refresh inferred somehow>19:35
pedroniszyga: won't 1 worker make things worse ?19:36
zygapedronis: we'll see19:36
zygapedronis: I'll measure it19:36
Pharaoh_Atemzyga: ?19:36
Pharaoh_Atemit shouldn't be different19:36
zygaPharaoh_Atem: it doesn't fail now but it did before19:36
Pharaoh_Atemare you not doing --assumeyes?19:36
Pharaoh_Atem(aka -y)19:36
zygaI am19:36
* Pharaoh_Atem shrugs19:37
zyga-                dnf -q -y install $DNF_FLAGS "$package_name"19:37
zyga+                dnf -q -y --refresh install $DNF_FLAGS "$package_name"19:37
Pharaoh_Atemworksforme19:37
zygayeah19:37
zygaa bit of magic19:37
cachiopedronis, the problem is that https://paste.ubuntu.com/25292297/19:37
zyganot always failed tho19:37
Pharaoh_Atem$DNF_FLAGS?19:37
zygaPharaoh_Atem: yep, --setopt=install_weak_deps=False19:37
cachiopedronis, that produced the error19:37
pedroniscachio: ah19:37
zyga(optionally)19:37
ikeys/DNF/DNR/19:37
pedronisso I see19:37
pedronisnot enough workes we fail, too many workers we fail19:38
ShalokShalomzyga: again, you trust Chef in this case19:38
cachiopedronis, heheh19:38
zygaShalokShalom: I don't trust unsigned stuff piped into root shell, period19:38
ShalokShalomyou can take any app in Github, a lot of stuff from there is in the distros, unchecked19:38
cachiopedronis, to many jobs in parallel19:38
zygaShalokShalom: yes, but I don't run happily installing them19:38
* ikey is afraid enough of running his own scripts as root, let alone someone elses :p19:38
zygaShalokShalom: *especially* if I make a package manager19:38
ShalokShalomwhy?19:38
ShalokShalomis it about your scare?19:39
ShalokShalomits computer science19:39
zygaShalokShalom: because it is irresponsible to my users19:39
cachiopedronis, at some point we will need more machines19:39
ShalokShalomscience != scare19:39
ikeyscience frequently = scary19:39
zygaShalokShalom: and if I claim to know enough to make a package manger I should not be making that mistake19:39
ShalokShalomwhich mistake?19:39
zygaShalokShalom: I cannot make a bank by writing the word BENK on a cardbord box19:39
ShalokShalomthe whole thing is written19:39
ShalokShalomclaim = unproved19:39
zygawell, in software we can, and that is the problem19:39
ShalokShalomthat thing runs19:40
ShalokShalomso its something else as a claim19:40
ShalokShalomyou seem to be in trouble with semantics19:40
zygaShalokShalom: I just gave you evidence that piping a script to shell is insecure and can be benine on inspection and malicious in execution19:40
pedroniscachio: well I have been failing to merge a branch for all the afternoon, and all a bit of the evening19:40
ShalokShalomzyga: no19:40
Pharaoh_Atemzyga: you can put that before install subcommand19:40
ShalokShalomusing ANY source code that is unchecked is potentally insecure19:41
pedroniscachio: I'm going to give up for now19:41
zygaShalokShalom: I don't dispute that19:41
ShalokShalomthis source is secure, since the providers are Github and Chef19:41
zygaPharaoh_Atem: what specifically?19:41
cachiopedronis, try again in few hours19:41
ShalokShalomplus, this is a way to distribute your software across19:41
Pharaoh_Atem‎[15:37] ‎<‎Pharaoh_Atem‎>‎ $DNF_FLAGS?19:41
ShalokShalomdistros19:41
pedroniscachio: in a few hours I'll sleep19:41
Pharaoh_Atem‎[15:37] ‎<‎zyga‎>‎ Pharaoh_Atem: yep, --setopt=install_weak_deps=False19:41
ShalokShalomso, what are the alternatives? ship with an AppImage? :P19:41
zygaPharaoh_Atem: yes, it is just used for install19:41
cachiopedronis, hehe, I can do it19:42
ShalokShalomor maybe ship with Debian, just takes *decades* until they decide its ready?19:42
zygaShalokShalom: well, that's the right question to ask, from there you can come up with answers and some of those are actually better than the pipe to root19:42
ShalokShalomthis is the answer19:42
ShalokShalomyou decide to trust19:42
ShalokShalomthe difference is from where this script comes19:42
* sergiusens wonders if the conversation will just go in circles from here on19:42
ShalokShalomplus you can read it19:42
ShalokShalomits open source19:43
ikeysergiusens, i personally guarantee it from experience.19:43
zygaShalokShalom: trust is out of the equation, this is just plain insecure at every level and is a nice way to exploit people, it's an opium for developers because it feels easy but it is not a real solution to the problem IMO19:43
cachiopedronis, I'll re build it in 1 hour19:43
zygaShalokShalom: I will refer you again to the URL where you cannot inspect it if you copy-paste the command for install instructions19:43
ShalokShalomsergiusens: how do you think that people remember things?19:43
cachiopedronis, it should be quiet at that time19:43
ShalokShalomit goes always in circles, since this is how humans intelligible19:44
zygaShalokShalom: I will just let you know that in snapd we take security very seriously and we don't recommend such things, you may take that as a green point we do :)19:44
ShalokShalomzyga: exploit that script19:44
ShalokShalomNOW19:44
ikeywtf19:44
ShalokShalomits easy19:45
ShalokShalomaccording to him/her19:45
ShalokShalomstart19:45
sergiusensShalokShalom: well, you can read the logs from time stamp N to M and iterate if you want to remember that way19:45
ikeyFYI this isnt how conversations work..19:45
popeyThis conffrontational conversation isn't particularly welcome here.19:45
zygaShalokShalom: I think you need to re-read what I said, I think I don't have any more arguments because you failed to understand the arguments I made earlier19:45
nacczyga must have infinitely more patience than i do19:45
ikeycant we just get back to how awesome solus is?19:46
ikeyxD19:46
naccheh19:46
ikeyimean snap19:46
ikeywaat19:46
zygaShalokShalom: for the sake of argument, my point is not that this is exploted and evil19:46
Pharaoh_Atem...19:46
zygaShalokShalom: but that it teaches you to do the wrong thing19:46
ShalokShalominsecure means its easy to exploit19:46
zygaShalokShalom: and that lesson comes from exactly the kind of people that should care about security and integrity19:46
ShalokShalomyou simply share blog posts who support your opinion19:46
zygaShalokShalom: so in my opinion it is fair to question that19:46
ShalokShalomquestion it19:47
Pharaoh_AtemI know I'd never run a script that I'm told to curl | sudo bash :)19:47
Pharaoh_Atemthat's just asking for trouble19:47
zygaShalokShalom: I shared evidence to refute your claim that one can inspect the script contents19:47
zygaShalokShalom: it is in fact not something you can inspect reliably19:47
ShalokShalomyeah, to drive in a car is also dangerous19:47
Pharaoh_Atemit's also possible to write obfuscated shell script19:47
ikeyhttps://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Circle-withsegments.svg/612px-Circle-withsegments.svg.png19:47
ShalokShalomaccording to statistic19:47
sergiusensShalokShalom: please, can we get to the point of what all this conversation is about. Specifically on how it relates to snaps, snapcraft or anything that usually goes on in here?19:48
ShalokShalomit's also possible to write obfuscated _everything_19:48
ShalokShalomyeah, dodge it19:48
zygaShalokShalom: note that it does not depend on obfuscation, quit the opposite19:48
* zyga hugs sergiusens 19:48
zygaShalokShalom: anyway, I think sergiusens is quite right19:49
zygathis is quite off topic19:49
* ShalokShalom shakes his head19:49
mvozyga: meh, still failing the PR from jamie :/19:52
mvozyga: this may have to wait until tomorrow it seems19:52
zygamvo: fix up19:52
ikeylook sharp19:52
ikey..sorry. xD19:53
zyga372119:53
* zyga summons mup's power19:53
zygaoh mup, show the URL to the branch I just made19:53
mupPR snapd#3721 opened: tests: use dnf --refresh install to avert stale cache <Created by zyga> <https://github.com/snapcore/snapd/pull/3721>19:53
zygathank you mup19:53
mvozyga: oh, nice19:53
zygaikey: next week we should look at those qemu images with solus snapshot that we can use to start running full system tests against19:54
ikeyyeah that'd be sweet19:55
ikeyuhm probably gonna have to build the images from solus itself (derpy package manager) but i can probably automate the initial creation of some qemu rootfs's19:55
ikeyany particular image constraints i need to consider?19:55
zygaikey: that's the goal19:55
zygaikey: real images19:55
ikeyso self contained bootloader?19:55
ikeyor..?19:55
zygaikey: ideally a disk image that I can just play with (or instructions on how to make one)19:56
ikeycuz i would hazard a guess you're using systemd units to set a target19:56
zygaikey: hmm, I don't follow19:56
ikeyand need cmdline control19:56
zygaikey: well19:56
zygaikey: not really, we ssh in19:56
ikeyaah19:56
ikeyok so more at the cloud-init end of the spectrum19:56
zygaikey: if you are curious just look at tests/ and spread.yaml19:56
ikeysure19:56
zygaikey: basically we boot a system19:56
zygaikey: and then start making stuff to it19:57
ikeyaye19:57
zygaikey: in snapd specifically we build the package out of the tree you are in19:57
zygaikey: install it19:57
zygaikey: and then run ~1000 different integration tests19:57
zygaikey: that are all small snippets of shell described as task.yaml19:57
zygaikey: in various directories under test/19:57
ikeyso very cloud-init'y19:57
* ikey approves :p19:57
zygaikey: maybe, not that familiar with cloud-init :)19:58
zygaikey: but it's simple and it works OK19:58
zygaikey: we have abstractions for package installs and stuff like that19:58
ikeyyeah its just a case of pumping instructions to a slave machine really19:58
zygaikey: so most tests will need centralized poking to get going19:58
ikeyyea19:58
zygaikey: yes19:58
zygaikey: we have several backends, qemu for local testing is a nice way to start but eventually we will want to upload a solus image to lindoe19:58
zygaikey: where we can use it to test against incoming PRs19:59
zygaikey: do you have a headless/server image (smaller)19:59
ikeyeh19:59
ikeysolus is "desktop only" xD19:59
ikeybut I can cook something up for you19:59
ikeynetwork-manager/kernel/sshd/19:59
zygasomething minimal19:59
ikeywe do something similar already for the solbuild backend20:00
zygaI think it's a common thing to test package builds20:00
ikeyits a precooked rootfs that we use as the bottom layer in an overlayfs system20:00
zygaso yeah, I'm sure we can do this20:00
zygayep20:00
ikeydramatically reduces initialisation cost20:00
ikeymeaning i can build, say, nano, in a matter of seconds20:00
zygawe can also do lxd but we haven't used it in snapd much20:00
zyga*cough* at all *cough*20:00
ikeylol20:00
zygaikey: I'm really tempted to install solus now you know20:00
ikeyi could cook you an unstable ISO20:01
zygaikey: my wife will hate me more for putting NaN+1 computers on my desk20:01
ikeywe're split into unstable/shannon repos20:01
zygaikey: please!20:01
ikey(yes, more water themes)20:01
zygashannon?20:01
ikeyi.e. river shannon20:01
* zyga googles20:01
ikeyin the old days we had a /v1/ repo20:01
zygaah20:01
ikeythen solus went rolling release20:01
zygaI read about the naming scheme somewhere20:01
ikeyand we had to preserve /v1/ path for updates20:01
ikeybut automatically migrate people to a *new* repo20:01
ikeyso, shannon was born20:01
niemeyerpedronis: Was fedora last again?20:01
zygaPharaoh_Atem: if you are still around, could you look at https://github.com/snapcore/snapd/pull/3721 quickly please?20:02
mupPR snapd#3721: tests: use dnf --refresh install to avert stale cache <Created by zyga> <https://github.com/snapcore/snapd/pull/3721>20:02
* zyga takes a break for shower20:03
* ikey bakes an ISO20:04
* arm1e just finished eating the dirtiest donner kebab and he's not even drunk! YUMMY!!20:11
cachioniemeyer, was ubuntu-16.04-64 the last20:12
niemeyercachio: So why did it take so long?20:12
cachioniemeyer, a lot of "no powered off servers in Linode account exceed halt-timeout"20:13
arm1e nacc, right lets continue20:13
cachioniemeyer, I counted 1920:13
niemeyercachio: Yeah, I see a lot of machines on right now20:36
sergiusenszyga: have you seen this -> https://github.com/snapcore/snapd-xdg-open/issues/6#issuecomment-321906336 ?20:36
zygasergiusens: looking20:37
niemeyercachio: and indeed most of them seem to be running for a few minutes rather than stuck20:37
zygasergiusens: sweet, thank you20:37
niemeyerSo we just have too much going on today?20:37
niemeyer9mins, 18mins, 3mins... it's all churning20:39
niemeyercc pedronis20:39
zygayeah, possibly20:39
* zyga EODs20:39
zygaI'll merge 3721 if it goes green20:39
* zyga goes to spend some time with his son20:39
cachioniemeyer, yes, and we are adding more tests and workers20:39
ikey3720 is stuck in a time warp20:39
cachioniemeyer, at some point we will need some extra machines I suppose20:40
niemeyerikey: Not sure about 3720, but 3270 definitely is20:41
niemeyer;)20:41
ikeyheh20:41
niemeyercachio: Not sure.. I'm curious about why do we have so many machines firing at once20:41
arm1enacc: right, I am ready to fix this ba**ard!20:41
niemeyercachio: IIRC, we have a limit of 3 jobs in travis20:41
niemeyer3*20?20:41
niemeyerWe have 70 machines20:41
cachioniemeyer, now, the count sohuld be 3 * 2520:42
niemeyercachio: Ah, are we that far already?  That'd explain the issues we've observed today20:43
cachioniemeyer, yes20:43
cachioniemeyer, it started after I added an extra worker for fedora20:44
arm1eokay, i am settled in. Drink next to me, chocolate bar to the other side. Focussed on the laptop and ready to finish making this bloody snap - if anyone is able to hold my hand20:44
cachioand last week 2 workers for opensuse were added too20:44
niemeyercachio: Oh20:44
niemeyercachio: Okay.. definitely pushing the limits20:45
cachioniemeyer, so, this week we added 3 workers20:45
cachioyes20:45
niemeyerAlright.. I'll grab 10 more VMs..20:46
niemeyerI'm expecting a call from finance any day now.. :)20:46
cachioniemeyer, nice :)20:46
niemeyerarm1e: What's up there?  I'm sure somebody with an equal amount of drinks and chocolate might be able to help around here :)20:47
arm1eniemeyer: the prblrm ish thart tit wongt tompihsh annd I am confusgthed20:48
arm1eniemeyer: sorry, mouth full!!20:48
arm1ei want to be able to build snaps to help other users and enable more packages for other distros but I need to learn how to do it. I therefore decided to learn by doing. I completed the hello world stuff on the websites and have read the docs, so I decided to try an application. I am attempting get-iplayer:20:51
arm1eniemeyer: http://paste.ubuntu.com/25292206/ here is the yaml, but I am stuck20:52
popeyUnfortunately you're breaking new ground because I don't think we have many perl snaps20:52
naccarm1e: sorry, was afk, back now20:52
arm1epopey: get me :)20:52
naccin this particular case, i think we don't need much perl support, per se20:53
popeybasically dump the pl in, along with whatever other modules, set the environment up and you're done?20:54
naccpopey: that'd be my guess, yeah20:54
naccpopey: based upon what arm1e showed me before20:54
tpatelWhich snapd version does install hooks introduced?20:57
tpatelwhich version of snapd supports install hooks?21:00
pedronistpatel: the upcoming one (now in candidate), 2.2721:00
tpatelthanks pedronis21:01
tpatelCan we control start of more than 1 services? Like app1 then app2 and so on21:02
zygawoot green21:03
tpatelcurrently is done in alphabetical order21:03
mupPR snapd#3721 closed: tests: use dnf --refresh install to avert stale cache <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3721>21:04
arm1enacc: so what exactly should I do next? YOu may have to dumb it down a lot21:05
arm1eAnyone else who wants to try to help me http://paste.ubuntu.com/25292206/ here is the yaml, but I am stuck21:11
arm1eteam effort21:12
mupBug #1710305 opened: installing any snap crashes with "failed to load system roots and no roots provided" <Snappy:New> <https://launchpad.net/bugs/1710305>21:14
naccarm1e: ok, have you added an app?21:20
naccarm1e: add an app first21:20
arm1eno problem. with a command field or just the app21:20
naccarm1e: hrm? see the link i sent you on the snapcraft page earlier?21:21
popeyapps:21:22
popey  get-iplayer:21:22
popey    command: get_iplayer21:22
popey    plugs:21:22
popey      - network21:22
popey^ like that21:22
naccpopey: thanks :)21:24
arm1ewhat is the -network plug for? Just to allow access to the internet?21:26
popeyya21:28
arm1esnapping now21:28
arm1eslowly21:29
arm1edone21:29
popeyyou may need to create a launcher script21:29
popeywhich sets all the PERL env vars21:29
popeybut I don't know which ones21:29
naccmore than likely you'll need to set PERL5LIB to point inside $SNAP somewhere so it looks in the snap fs for modules21:32
ikey2017-08-11 20:43:17 Error executing autopkgtest:ubuntu-17.04-amd64:tests/main/refresh-all-undo :21:35
arm1enacc: error -->http://paste.ubuntu.com/25292865/21:35
ikeyi think it just network-broke..21:35
naccarm1e: sorry, where do you get that error?21:37
naccarm1e: it's best to provide the command you are running in the paste(s)21:37
naccarm1e: otherwise i have no context :)21:37
arm1einstalled the snap and ran the command get-iplayer (as defined in the yaml)21:37
naccarm1e: ah is that when running the command?21:37
naccarm1e: ok, so you see how INC has a bunch of paths in it?21:38
naccarm1e: is this is a classic or confined snap?21:38
naccok, looks to be confined per the yaml21:38
naccjust in devmode21:38
popeydevmode21:38
arm1ewhich is best?21:38
naccarm1e: you should be abl to run someth9ing like `snap run --shell get-iplayer` and look around21:39
naccthat's the fs that your snap runs in21:39
naccfs environment21:39
nacci'm guessing you're missing some runtime package dependencies21:39
naccarm1e: i think you're missing a stage-package of 'perl'21:41
naccarm1e: which will pull in perl-modules which will install Env.pm in your snap21:41
arm1ewill have a look now21:43
arm1enacc: I have the required perl dependencies from the online docs for get-iplayer so I dont know how to fix this problem22:07
naccarm1e: what do you mean?22:08
naccarm1e: did you look in the shell?22:08
arm1enacc snap run --shell get-iplayer does nothing22:29
naccarm1e: no, it does something22:32
naccit just may not seem like anything22:32
naccit is putting you in a shell in the snap22:32
arm1eno, it errors out22:32
arm1enacc: 'no tty present and no askpass program specified22:34
naccarm1e: oh then it doesn't "do nothing", it "fails".22:34
arm1eok hang on22:34
naccarm1e: it's important to be specific since i'm doing a bunch of other stuff and not at your computer :)22:35
arm1enacc: tried the command and it fails :p22:35
arm1eI can look in /snaps/get-iplayer22:36
arm1eis that the same?22:36
naccarm1e: are you ssh'd in?22:37
arm1eno22:37
naccarm1e: also, keep in mind, if you ran it once, and it succeeded, then you're in the snap shell22:37
arm1ejust in normal terminal22:37
naccso running it again won't work22:37
arm1eI might be in then as ls in home shows nothing22:37
arm1eWhat do I do now?22:38
naccarm1e: right22:40
naccarm1e: so you need to figure out if you can run perl22:40
naccand if hwen you run perl, what @INC is set to, etc.22:40
naccand if stuff is ther (like Env.pm)22:40
arm1eso how do i figure that out?22:41
arm1ei mean, how do i run perl?22:42
naccarm1e: literally22:44
naccarm1e: run `perl`22:44
naccdoes it run?22:45
arm1ei tried that and it looked like it does but I still get the locale warning. Nothing about ENV tho22:45
nacclocale is probably fine22:48
naccok, then try to run your script22:48
naccarm1e: you can use locate to find it, if it's not in a well-defined location (it might just be in .)22:48
naccarm1e: and or /snap/bin22:48
naccarm1e: and then debug why it won't start22:48
arm1ein the shell or out of it22:48
arm1elocate command not found22:53
naccarm1e: bah, well, yeah, it won't be :/ -- you'll need to just look around in your snap22:55
naccarm1e: it's probably in /snap/<snap-name>/current/ ...22:55
arm1eI can find the script in /snap/bin but it still gives the error22:55
naccarm1e: right, you are now trying to *fix* the error :22:55
nacc:)22:55
naccarm1e: by installing packages, etc, that maybe you are missing22:55
arm1eI cant find evidence of what the package is that is missing22:56
naccarm1e: so normally you'd have a perl-modules installed, which has /usr/share/perl/5.24.1/Env.pm (with the appropriate version for 16.04)22:58
naccarm1e: do you have that in your shell env?22:58
arm1elooking22:58
arm1ethere is no Env.pm on the host machine in /usr/share/perl523:02
naccarm1e: not on the host machine, in the snap23:03
arm1eoh23:04
arm1ehold on23:04
arm1enacc: Not in snap either23:05
naccarm1e: then you're missing some dep23:08
naccas i said23:09
naccarm1e: did you try just dding perl to your stage-packages?23:09
arm1ewill23:09
ikeyhttps://plus.google.com/+Solus-Project/posts/8joLvCfgWrz23:11
* ikey collapses in a corner23:11
arm1enacc: re-snapped with perl as a dependency. Still get the same error. Very late now so going to bed but will try again tomorrow. Getting cloaser but still annoying!!23:15
naccarm1e: ok23:16
arm1enacc: thanks for the help so far23:16
naccarm1e: yw23:17

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