/srv/irclogs.ubuntu.com/2019/06/07/#snappy.txt

=== ackk is now known as ack
=== ack is now known as Guest46801
mborzeckimorning05:06
zygaHi05:08
mborzeckizyga: hey hey05:09
zygamborzecki: being so tired somehow I am not looking forward to that 7AM flight tomorrow05:16
jameshzyga: so, after refactoring the session agent code as its own process, I've got something that even runs on Ubuntu Core 1606:32
jameshfails on Core 18 due to missing unit files.  I guess this is another thing that would need to be symlinked in if we wanted it to work.06:32
mvogood morning! did I miss anything important yesterday?07:02
mborzeckimvo: hey07:03
mborzeckimvo: nothing i'm aware of, somneone found a nice bug in the forums though: https://forum.snapcraft.io/t/snap-help-install-unexpectedly-performs-the-install/1168607:04
mvomborzecki: thanks!07:07
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:11
mborzeckipstolowski: hey07:12
mvohey pstolowski ! good morning07:12
zygajamesh: hey07:19
zygajamesh: which unit files are missing on core18?07:19
zygajamesh: but that refactor sounds like good progress! thank you07:20
zygamvo: hey, good morning07:20
jameshzyga: it looks like it is something I could probably fix in wrappers/core18.go, after a bit more investigation07:20
zygamvo: I will file yesterday off, personal stuff and I ended up not doing much07:20
zygajamesh: I will review your branch soon07:20
jameshzyga: I also ran into problems with your "replace ! with not" suggestion.  I was calling a shell function I had defined, which is not available in the context of your "not" shell script07:21
zygajamesh: ah indeed07:22
jameshbut the "not" shell script successfully inverted the "command not found" error into a success07:22
zygafor shell functions you must refactor the code a little07:22
jameshso I didn't notice it until looking at the failures on core1807:22
zygajamesh: thank you for reporting that, I will special-case command-not-found to make it less surprising07:23
mvozyga: sure, no worries07:24
zygamvo: compound iza's school change (meeting the parents) and paperwork for lucy (both parents must be present)07:25
zygasorry, it will carry on today for the part of morning, I should be back at noon;07:25
jameshzyga: for what it is worth, the following shell function looks like it'd work as a a "not" implementation: not() { ! "$@"; }07:38
jameshthat can see shell functions, and correctly exits on failure07:38
zygajamesh: interesting, perhaps it's worth switching over07:40
zygajamesh: thank you07:40
jameshit also has 10 consecutive pieces of punctuation, so is almost perl07:41
Paddy_NIYaay!08:43
Paddy_NIFirst snap https://snapcraft.io/peerflix08:43
Paddy_NISome of the functionality is broken for now and there is no "official" icon.08:44
zygaPaddy_NI: congratulations! How did it feel like?08:48
Paddy_NIzyga, It's pretty cool, I want to do more. lol08:49
popey_Paddy_NI: that's rather cool!09:00
Paddy_NIpopey_, I know right!  My wife doesn't get it :-(09:01
popey_hah :)09:02
Paddy_NIShe's more excited about her new job09:02
Paddy_NIX-D09:02
Chipacapopey_: easter egg for you09:03
Chipacapopey_: snap --help install bofh09:03
popey_I was just reading that thread :)09:04
Chipacapopey_: heh09:04
popey_nice try ;)09:04
* Chipaca would put on a dunce hat but it won't fit over the donkey ears09:04
popey_reminds me of the time i told someone on the desktop team to hold down the printscreen button. (bug meant it ddosed your laptop with printscreens trying to do gl photo effect). that was fun. I should have warned them :)09:05
Chipacapopey_: where's the fun in warning people09:05
popey_exactly09:06
Chipacawhat I'd _rather_ have happen is that 'snap --help foo' and 'snap foo --help' mean the same thing09:09
Chipacabut, sadly, go-flags does not let me do that09:09
Chipacaso you get the global help ¯\_(ツ)_/¯09:09
zygaok, back in some degree09:19
jameshChipaca: maybe what the world needs is another command line parsing library?09:36
zygaanyone using qemu for testing: log into your vm (without -snapshot), apt-get build-dep  -d  snapd09:36
zygathat will save you 0.5GB each time you boot09:36
zygaobviously setting up apt-cacher-ng is even better but this is low-tech09:37
mvomup_: hello09:37
Chipacajamesh: I've got one on my list to look into09:37
mvoniemeyer: hey, could you please restart mup_ ? it seems to be unhappy09:37
Chipacajamesh: but it is very tempting09:37
Chipacajamesh: 'kingpin' i'm told is alright09:38
zygahello mvo09:41
mvohello zyga09:41
zygamvo: small update, I've created more tests and more feature code for MS_SHARED bug09:41
zygait's not fixed yet, I'm struggling with the bit related to propagation and delta algorithm09:42
zygaon the up side: i've prepared matching unit and integration tests that allow easy iteration09:42
zygaI'll push it all up today even if it doesn't fix the bug completely09:42
mvozyga: thanks for the update!09:43
Chipacapedronis: you got a minute?10:05
Chipacapedronis: about /v2/downloads10:05
Chipacapedronis: should we make it a GET method?10:05
Chipacacurrent proposal has it as a POST but that feels weird10:05
Chipacapedronis: especially because post -> needs auth or user or sth10:21
* zyga goes offline for a while10:51
ograYou should not run jhbuild as root.10:53
* ogra shakes fist !10:53
ograsilly thing ... doesnt pick up JHBUILD_RUN_AS_ROOT=1 from the environment :(10:54
* Chipaca ⇝ lunch11:15
Eighth_Doctormborzecki: hey, so what kind of talk do we want to propose for Flock?11:30
zygaback onine12:00
pedronisChipaca: I was at my doctor appt, if I remember we had reasons to make it a POST, we can discuss after the standup if it's not too long12:30
=== ricab is now known as ricab|lunch
ackkmvo, hi, the core18 snap doesn't seem to contain iptables, is that expected?12:49
=== ricab|lunch is now known as ricab
zygarandom failure in device manager:14:21
zygahttps://www.irccloud.com/pastebin/pqgs1A3O/14:21
* zyga dinner14:22
* cachio lunch15:09
zygare15:38
=== pstolowski is now known as pstolowski|afk
* zyga runs some more spread tests16:36
ograis there any known issue with core18 currently ? seems i'm not alone in hitting:17:14
ograPress enter to configure.17:14
ograbah ... IRC17:14
ogra/usr/share/subiquity/console-conf-wrapper: line 13: snap: command not found17:14
ogra/usr/share/subiquity/console-conf-wrapper: line 13: snap: command not found17:14
ograPress enter to configure.17:14
ogralooking at the SD i see that snapd definitely did its seeding ... so the snapd snap should be there (which makes me think that also the snap command should be there)17:16
ogracould it be that snap isnt in PATH anymore ?17:17
ogra(did anything change here ?)17:17
cachioogra, I saw that but time ago17:17
cachioand couldn't reproduce it anymore17:17
ograi have reports from customers trying out their own core18 images seeing the same in the stable channel (i see it in edge here)17:17
ograand kyleN did hit it too apparently17:18
cachioogra, I didn't see the for a while17:18
ograstrange17:18
cachioI think I could reproduce it when accidentally caused an ethernet error17:18
cachioand the board stayed in a weird state17:19
ogramy ethernet is fine ... i'll re-flash the SD ...17:19
cachiobut then I was trying to reproduce it and I had no luck17:19
ograogra@localhost:~$ fw_printenv17:27
ogra-bash: fw_printenv: command not found17:27
ograsigh ... this is so overly annoying in core18 :(17:27
cachiozyga, raised the lp:183202417:43
cachioI am trying to identify which test executed before is causing the error17:43
cachiobecause when I run thtat test alone it works well17:43
zygacachio: thank you!18:06
Saviqhey all, is there somewhere a list of the required / recommended kernel options for snapd to operate?19:20
SaviqI'm seeing "AppArmor status: apparmor is enabled but required kernel features are missing: file" now, would like to let the ISP know what to enable (I'm in a container)19:20
ograSaviq, https://github.com/snapcore/sample-kernels/tree/master (old but still mostly valid)19:55
zygaSaviq: it's ubuntu sauce patches20:13
zygaSaviq: ask jjohansen  about those, or anyone from the kernel team20:13
jjohansenSaviq: can you see /sys/kernel/security/apparmor from in your container?20:15
* zyga EOWs20:28
jjohansenSaviq: we can't even at this point say the issue is ubuntu's sauce patches20:45
jjohansenmore likely is your ISP is not setting up apparmor for your container. It needs securityfs mapped in, or at least the apparmor subdirectory (/sys/kernel/security/apparmor)20:47
jjohansenthat needs to be done with a bind mount20:47
jjohansenand it will need an apparmor namespace20:47
jjohansencurrently lxd is the only container that I know of that is setting up the apparmor namespace and bind mounting securityfs into the container20:48
Saviqjjohansen: sorry for the delay, the dir is there, but yeah I'm getting ENOPERM trying to list its contents22:13
jjohansenSaviq: yeah apparmor needs access to the contents, that is how it loads policy22:40

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