/srv/irclogs.ubuntu.com/2017/07/10/#snappy.txt

=== JanC_ is now known as JanC
PopulusHiya03:27
=== chihchun_afk is now known as chihchun
__chip__my main machine is doing the cute "don't POST, blink some leds" routine, so I'll probably spend some time with a screwdriver and a cursebook08:53
zygare08:53
__chip__zyga: o/08:53
zyga__chip__: hey :)08:53
__chip__zyga: how's poland?08:53
zyga__chip__: just as we left it, I think08:54
zyganot much has changed08:54
zyga(including the reasons for not being here in the first place)08:55
zygain other news, we're looking to move out ASAP08:55
zygabut unable to for some time08:55
zygahow's UK?08:55
zygastill U?08:55
__chip__zyga: out of the place, or the country?08:55
zygathe place08:55
__chip__ah, phew08:55
zygabeing in the country for now will help08:55
__chip__UK still divided, still better than ar :-)08:56
zyga"universally divided, we stand united" or something08:56
__chip__sounds about right08:56
__chip__anyway, i need to go find a screwdriver08:57
zygahow are things, I'm sorry I was off all morning but I was stuck in "register your company" webbrowser windows hell08:57
__chip__zyga: <__chip__> my main machine is doing the cute "don't POST, blink some leds" routine, so I'll probably spend some time with a screwdriver and a cursebook08:58
ogra_wow, i hadnt one doing that in a decade i think08:59
zyga__chip__: ouch, I hope it's nothing serious09:00
zyga__chip__: in case you need a spare machine, I have some still boxed, just come to warsaw and collect it09:00
zyga__chip__: PC speaker helps09:00
zygabut if it doesn't post and you didn't pour coffee on it, it's the RAM09:00
zygahey ogra_ for a moment I was wondering if you were referring to setting up a company or having a machine not post09:01
zygamust be morning09:01
zygamvo: how's everything?09:01
ogra_lol09:01
mvozyga: good morning, looking at the tsync issue on trusty currently, mostly understood I think09:02
mvozyga: there is the open question what to do about it, I will write a forum post about it I think, we have some options, not exactly sure which is the best one just now09:03
__chip__zyga: numlock and scroll lock on, caps lock blinking, led machine --> RAM issue09:05
__chip__zyga: https://www.parts-people.com/blog/2014/07/02/dell-latitude-e6400-led-post-codes-diagnostic-indicators/09:06
__chip__s/led machine/dell machine/ :-)09:06
zyga__chip__: did anything happen to your machine or power grid since it last worked?09:08
ogra_your obsolescence-counter is full :)09:08
zygamvo: this is about the "re-execed" version of the tool being unsuitable for older systems?09:08
mvozyga: correct, its a combination of issues.09:09
mvozyga: the best option is probably to statically link snap-seccomp on the core snap - the downside is that the debian/rules modification is ugly09:10
zygamvo: is that a per "go build" option?09:10
zygamvo: one idea we might try is to run ld-so on snap-seccomp09:11
zygamvo: not sure if you think this is sensible09:11
mvozyga: I tried that and things segfaulted09:12
zygaoh, that's interesting (and unfortunate)09:13
zygahow did you run it?09:13
mvozyga: I did not investigate the segfault further tough09:13
zyga(I was hoping to use this approach for other things009:13
mvozyga: I can look again09:13
zyganot urgent, just curious09:13
mvozyga: I don't get anything useful from gdb,  i use the same commandline as CommandFromCore() is using09:22
zygaI see09:22
mvozyga: funny enough, even LD_LIBARARY_PATH=... ldd ./usr/lib/snapd/snap-seccomp core dumps09:23
mvozyga: ok, anything does, hm, hn09:25
Chipacahuzzah!09:26
mvozyga: aha, getting closer, broken symlinks09:27
zygalip 10 11:28:47 fyke kernel: audit: type=1400 audit(1499678927.313:439): apparmor="DENIED" operation="capable" profile="/snap/core/2329/usr/lib/snapd/snap-confine" pid=19314 comm="snap-confine" capability=4  capname="fsetid"09:29
zygamvo: curious if this is not one of our chown's09:31
mvozyga: could be, where do you see this?09:34
pstolowskiChipaca, #3569 updated09:45
Chipacapstolowski: looking09:46
Chipacahmm, something is still not happy with this box09:48
Chipacapsftw: thank you!09:54
Chipacauh09:54
Chipacapstolowski: ^09:54
pstolowskiChipaca, ty!09:54
mvozyga: CommandInCore now also works, things look good, need to clean that up a bit more though09:55
mvozyga: but at least things move forward09:55
zygamvo: just running hello-world.evil09:56
zygamvo: I installed aa-notify09:56
Chipacawellp, and now a kernel BUG thing09:57
Chipacasounds like i need to re-reseat the memory and run memtest for a while09:58
* Chipaca declares victory over the ram monster, in order to tempt it early10:17
mupPR snapd#3576 opened: tests: snap debug confinement does not exists yet in 2.26.x <Created by mvo5> <https://github.com/snapcore/snapd/pull/3576>10:59
mvozyga: I created the forum topic now about the snap-seccomp, I wonder what the best way forward is, it could be either static linking or using osutil.CommandFromCore() - I lean towards the later11:04
zygamvo: let me read and comment11:11
* zyga experiments with apparmor tracing on 2nd computer11:11
* Son_Goku grumbles about fontconfig11:13
Son_Gokulibfontconfig isn't thread-safe, woo :(11:14
ChipacaSon_Goku: party yeah party woo </vihart>11:18
Son_Gokuthis happened, which is why I'm grumbling about libfontconfig: https://github.com/hughsie/appstream-glib/issues/17711:18
ChipacaSon_Goku: (that's a reference to https://www.youtube.com/watch?v=4niz8TfY794&feature=youtu.be&t=212 fwiw -- sorry if it was obscure :-) )11:19
Chipacaanyway, machine seems moderately happy, i'm off for a run and lunch will bbl11:20
niemeyerGood mornings11:31
Son_Gokuniemeyer: morning11:37
mvojdstrand: hey jdstrand, good morning! I looked into the tsync issue with snap-seccomp on trusty this morning and wrote whats going on in https://forum.snapcraft.io/t/2-26-8-libseccomp-on-trusty/ - let me know what solution you prefer12:38
jdstrandmvo: good morning, lookingn12:48
jdstrandlooking*12:48
=== Son_Goku is now known as Conan_Kudo
=== Conan_Kudo is now known as Son_Goku
zygajdstrand: hey, after you are done with that, can you please have a look at https://forum.snapcraft.io/t/apparmor-profile-caching/1268 and https://forum.snapcraft.io/t/using-snap-update-ns-from-snap-confine-to-initialize-mount-namespaces/1266/1 please12:54
=== Son_Goku is now known as Conan_Kudo
=== Conan_Kudo is now known as Son_Goku
jdstrandmvo: done13:02
niemeyerSorry, running late for the standup.. will be there in a second13:02
jdstrandzyga: looking13:06
mupPR snapcraft#1400 opened: lxd: Distingish FileNotFoundError if not installed <bug> <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1400>13:10
zygajdstrand: thank you :)13:13
cachiomvo, zyga, about the snap-seccomp error? any idea why the lib is not there? is it related to the other issue?13:37
mvocachio: could you please pastebin the exact error again? I suspect it is just a spec file update, i.e. I think the binary is not copied into the right place for some reason. is this happening with master?13:40
cachiomvo, it is happening with the fedora branch13:41
cachiomvo, https://paste.ubuntu.com/25061349/13:42
cachioI'll rebase again to discard any other problem13:43
mvocachio: could you please also show e the link for the fedora branch?13:43
cachiomvo, https://github.com/snapcore/snapd/pull/350513:43
mupPR snapd#3505: PLEASE IGNORE: Enable more tests for suse and fedora <Created by morphis> <https://github.com/snapcore/snapd/pull/3505>13:43
zygacachio, mvo: I'll resolve 350513:44
mvozyga: ta13:44
Chipacamvo: was your "thank you" on sil's snapd#3574 a +1?13:51
mupPR snapd#3574: snap find only searches stable <Created by stuartlangridge> <https://github.com/snapcore/snapd/pull/3574>13:51
mupPR snapd#3531 closed: interfaces: updates default, mir, optical-observe, system-observe, screen-inhibit-control and unity7 <Created by jdstrand> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3531>14:10
mupPR snapd#3574 closed: cmd/snap: snap find only searches stable <Created by stuartlangridge> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3574>14:11
pstolowskicjwatson, hey! do you want to make the simple change to #3501 suggested by Samuele, so we can land it?14:15
cjwatsonsure, give me a minute to run tests and such14:17
Chipacawoo, mwhudson got the golang fix backported and sitting in xenial-proposed :-D14:24
cjwatsonpstolowski: done14:27
mupPR snapd#3409 closed: tests: fix snap confine from core test to check the restart was done <Created by sergiocazzolato> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/3409>14:29
pstolowskicjwatson, thanks14:29
Chipacasnapd#3478 is a nice easy review, if anybody's looking for something to do15:01
mupPR snapd#3478: tests: extend upower-observe test to cover snaps providing slots <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3478>15:01
Chipaca(it's already got one +1)15:02
ppisatiogra_: i'm using this ubuntu core pi3 img: http://releases.ubuntu.com/ubuntu-core/16/ubuntu-core-16-pi3.img.xz15:08
ppisatiogra_: but i can't get any overlay to load, how is that?15:08
Chipacasnapd#3481 is a slightly more involved PR, but still straightforward, needing a second review15:08
mupPR snapd#3481: tests: add avahi-observe interface test <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3481>15:08
ogra_ppisati, you need to unpack the overlays.tgz15:09
ogra_iirc in stable we still had that only as tarball15:09
ogra_ppisati, this got fixed shortly after the first stable release, but since we cant update gadget content yet tsble still has the initial setup with the tgz15:11
ogra_s/tsble/stable/15:11
ppisatiogra_: i unpacked that in /boot/uboot where the rest of the boot fw resides, modified config.txt accordinlgy but nothing is loaded15:11
ogra_it needs to be in an "overlays" subdir15:12
ppisatiogra_: if i build a beta image, would it work? or is there a pre-baked image that i can use?15:12
ogra_the blob has the path hardcoded15:12
ppisatiogra_: yes, it's in /boot/uboot/overlays/*15:12
ogra_ppisati, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/15:12
* ppisati tries the current15:12
ogra_that loads the vc4 overlay by default15:13
ppisatiogra_: ok15:13
ogra_so i'm 100% prositive that overlays work15:13
ppisatiogra_: ooook15:13
mupPR snapd#3501 closed: store: orders API now checks if customer is ready <Created by cjwatson> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3501>15:35
mupPR snapd#3481 closed: tests: add avahi-observe interface test <Created by fgimenez> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3481>15:40
mupPR snapd#3399 closed: many: add the interface command <Decaying> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/3399>15:41
=== chihchun is now known as chihchun_afk
mupPR snapd#3495 closed: tests: remove snapd before building from branch <Created by fgimenez> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3495>16:12
mupPR snapcraft#1401 opened: Correct capitalisation for PyPI <Created by evandandrea> <https://github.com/snapcore/snapcraft/pull/1401>16:20
pachulohey! how do you delete a snap from the store?16:51
mvoniemeyer: I updated https://forum.snapcraft.io/t/2-26-8-libseccomp-on-trusty/1265 - if you have a moment, it would be great if you could have a look and comment. no rush, I have dinner now and call it a day soon16:55
niemeyermvo: Will definitely do, thanks for that16:55
=== alan_g is now known as alan_g|EOD
cachiozyga, any idea why it could be failing? https://paste.ubuntu.com/25062665/18:04
cachiozyga, it is happening on fedora18:04
sergiusenstyhicks: jdstrand hi there, mind directing me to the snappy security whitepaper?18:48
tyhickshey sergiusens18:50
tyhicksjdstrand: I'm getting a 404 for the whitepaper (https://developer.ubuntu.com/snappy/guides/security-whitepaper) is this an updated copy? http://people.canonical.com/~davidcalle/core/Whitepaper:%20Ubuntu%20Core%2016%20-%20Security.pdf18:51
* sergiusens waits for confirmation18:52
cachioSon_Goku, hey18:58
Son_Gokucachio: hi?18:58
zyga z18:58
zygacachio: looking18:58
cachioSon_Goku, I am now working on morphis stuff to make snapd tests work on fedora18:59
Son_Gokucachio: who are you?18:59
cachioSon_Goku, I am sergio, we meet on london18:59
zygacachio: no idea18:59
Son_Gokuah18:59
* zyga returns to fighting his network issues :/18:59
cachiozyga, any idea bout the issue with snap-seccomp ?19:00
cachiodid you take a look?19:00
cachioSon_Goku, I am trying to fix the tests for fedora and I see this issue trying to build the snapd binary19:03
cachioerror: File not found: /usr/src/packages/BUILDROOT/snapd-1337.2.26.4-2.x86_64/usr/lib/snapd/snap-seccomp19:03
cachioSon_Goku, did you see that before?19:03
cachiomorphis told you something about that one?19:03
morphiscachio: I guess the snapd rpm packaging isn't yet updating to include that binary19:04
cachiomorphis, you mean the spec to build it is missing?19:06
morphisI guess so19:06
morphissnap-seccomp seems to be a really recent addition19:06
cachiomorphis, ok, I'll try to add that19:07
cachiomorphis, thanks19:07
morphisgreat19:07
morphisnp19:07
jdstranddavidcalle: hey, it appears https://developer.ubuntu.com/snappy/guides/security-whitepaper is 40419:16
jdstranddavidcalle: also, http://people.canonical.com/~davidcalle/core/Whitepaper:%20Ubuntu%20Core%2016%20-%20Security.pdf is out of date, should be rc919:16
jdstrandtyhicks, sergiusens: fyi ^19:17
sergiusensjdstrand: thanks, do you have it on your p.c.c ?19:18
jdstrandsergiusens: I do not, davidcalle manages it, but I gave you the link to the source doc in privmsg19:18
jdstrandyou could export to pdf from there19:19
DeeJayhIs there a way to use the ubuntu core without snaps? I used to use the core on minimalist builds to have only what I need/want kind of like a archlinux/gentoo style build if you will19:27
jdstrandDeeJayh: others may say point you at something different, but Ubuntu Core must use snaps and isn't a building block for an apt-based system. you probably want to consider the netboot images: http://cdimage.ubuntu.com/netboot/19:30
jdstrandDeeJayh: actually, I think http://cdimage.ubuntu.com/ubuntu-base/ is better for that19:31
jdstrandDeeJayh: see https://wiki.ubuntu.com/Base19:31
DeeJayhyou're a god19:32
DeeJayh*bows*19:32
DeeJayhThanks jdstrand I had no idea this existed19:32
jdstrandit has gone through a few different names over the years19:32
DeeJayhI was aware of netboot but it didn't fit my needs, that base build is exactly what I've been dreaming of lol19:33
DeeJayhI used to compile core before it became snappy19:33
jdstrandcool, glad it fits your needs :)19:33
jdstrandright19:33
jdstrandthat was one of the names. since ubuntu-core as a minimal os and Ubuntu Core were confusing, they renamed ubuntu-core ubuntu-base19:33
DeeJayhsounds like a good call on their part lol19:37
DeeJayhthe only other question I have, because I am unfamiliar with the architectures, for ARM devices, is the arm64 64bit and armhf the 32bit?19:38
DeeJayhnvm quick google search alleviated my curiousity lol thank you again19:44
davidcallejdstrand: pdf should be up to date now, PR for redirects waiting to be merged and deployed, sorry for the delay20:01
davidcalleWill update the source comments once it's done20:01
jdstranddavidcalle: ok, thanks! (tyhicks, fyi ^)20:34
tyhicksthanks20:35
=== grumble is now known as gurmble
mwhudsonChipaca: you ok to do the verification on that?21:26

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