/srv/irclogs.ubuntu.com/2018/07/24/#snappy.txt

mborzeckimorning05:11
mborzeckitrivial review #555005:57
mupPR #5550: spread: switch Fedora and openSUSE images (2.34) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5550>05:57
mborzeckimvo: hi06:13
mvomborzecki: hey, good morning06:14
mborzeckimvo: i have a vague recollection that you were suppsoed to be off today :)06:15
mvomborzecki: I'm not really here today but the SRU is still pending and I need to do some testing to ensure it can go in in time :/06:15
mvomborzecki: so yeah, hopefully not here for long06:15
mborzeckimvo: aah06:15
mborzeckimvo: while at it, #5550 is really simple, i hope if fixes the issues with fedora we're seeing in 2.3406:16
mupPR #5550: spread: switch Fedora and openSUSE images (2.34) <Simple> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5550>06:16
mvomborzecki: oh, nice!06:17
mborzeckimvo: we somehow ended up using different image in 2.34 branch, and i'd guess only the one used in master branch got updated06:17
mvomborzecki: yeah, makes sense06:17
mvomborzecki: thanks for finding that06:17
mvomborzecki: long standing branches are always a bit of a pain :/06:17
mvomborzecki: feel free to merge once its green06:19
mborzeckimvo: ack06:20
zygagood morning06:21
* zyga sort of feels better now06:22
mborzeckimvo: and merged, i've restart #554506:24
mupPR #5545:  snapstate: allow setting "refresh.timer=managed" (2.34) <Created by mvo5> <https://github.com/snapcore/snapd/pull/5545>06:24
mborzeckizyga: hey06:24
zygahey, how are things?06:24
mvozyga: good morning! how are you? well rested?06:32
zygamvo: so so but better, this trip was pretty unfortunate (lots of delays, lots of gate changes, terrible seats next to crying babies)06:34
zygamvo: but I'm much better than yesterday :)06:34
mvomborzecki, zyga: we have a bit of a problem - on a fresh install via http://cdimage.ubuntu.com/bionic/daily-live/current/ when doing "snap install gedit" it hangs forever in auto-connect06:34
mvozyga: trip> meh, not good06:34
zygahmm hmm, we had this bug before right?06:34
mborzeckimvo: do we have any logs?06:35
zygaauto-connect task would spin in a loop, failing and trying again06:35
zygaI have a hunch I know what causes mount failures06:36
zygathe "https://forum.snapcraft.io/t/unexplained-mount-failure-protocol-error-what-we-know-so-far/5682/7" issue06:36
zygaincreased parallelism06:36
zygaif allocating a loopack device is racy06:37
zygathen we have tow racing tasks that somehow end up both using one /dev/loopX06:37
mvofwiw, happens with 2.33 and 2.3406:37
mvohttp://paste.ubuntu.com/p/DDCFVn7d4d/06:38
mvozyga: yeah that sounds sensible06:38
mvomborzecki: the pastebin is the change changes output06:38
zygamvo: sadly we don't know what happens inside that task06:38
zygamvo: as in, there is no log of attempts and failures06:39
mvohttp://paste.ubuntu.com/p/VfKnHtHkzy/06:39
mvozyga: yeah06:39
mborzeckihmm06:39
mborzeckispins locally too06:40
pedronismvo: the seed order in wrong no?  we told them to fix it but they haven't06:40
mvopedronis: oh, right06:41
pedronismvo: or the last change in the gnome snap needs yet a different order06:42
mvopedronis: yeah, task <1> is also in doing06:42
mvopedronis: I think that explains it06:42
=== chihchun_afk is now known as chihchun
mvopedronis, mborzecki, zyga I think pedronis is right and the hang is just a side effect of the incorrect seed order. so less urgent and we can wait for the new ISO biuld with the seed order fix06:46
pedronismvo: do we know they fix the order?06:47
mvopedronis: yeah, they added a workaround in livecd-rootfs06:48
mvopedronis: where gtk-themes-common is sorted first now06:48
pedronisok06:48
mvopedronis: I hope it actually works, it was a bunch of shell06:48
pedronismvo: btw  I'm happy for us to fix it, but I think for 2.34 is too much of a risk  (it would need to add a bunch of code)06:48
pedroniswe can try to have something for 2.3606:49
mvopedronis: +106:49
mvo2.34.2 is now bionic-updates06:49
mvoso we will be on the 18.04.1 iso :)06:50
pedronisthx06:50
mborzeckimvo: #5545 is finally green :)07:00
mupPR #5545:  snapstate: allow setting "refresh.timer=managed" (2.34) <Created by mvo5> <https://github.com/snapcore/snapd/pull/5545>07:00
zygasmall coffee break to be more awake07:05
jameshzyga: when you're more awake, could I get your opinion on this? https://forum.snapcraft.io/t/should-v2-interfaces-select-connected-return-unconnected-plugs-slots/645507:31
jameshI ran into it last week, and the suggestion was to wait for you to get back from the sprint07:32
mborzeckizyga: with this weather some cold brew would be great :P07:39
zygare, sorry, this took a while08:17
zygajamesh: looking now08:17
jameshzyga: no problem.  I was getting over my own jetlag last week :)08:18
zygajamesh: aha, curious, let me look at the code08:18
zygajamesh: so, the output is as intended, I think what is missing is connection-level information (that was supposed to be returned by the never-implemented "snap connections"08:20
zygajamesh: the last part I don't fully follow, the /v2/interfaces endpoint has two GET behaviors, legacy (which is more connection oriented) and non-legacy which is interface (not plug/slot but actual interface) oriented08:21
jameshzyga: I was just trying to work out what users would want the current behaviour08:21
zygajamesh: "Also, if one output mode is referred to as getLegacyConnections, should it be considered a bug that you can’t get the equivalent information from the non-legacy interface?" - this is the part that I don't understand08:21
jameshzyga: I'm particularly concerned what the plug is connected to: just whether it is connected08:21
zygajamesh: right, the thing is that the /v2/interfaces?select=connected returns _interfaces_ for which a connection exists between a plug and a slot08:22
zygajamesh: currently there is no way to limit plug and slot references it returns (when prompted) to just those that actually have a connection08:22
zygajamesh: the behavior is specifically modeled for "snap interface" to show a smaller list of interfaces (just those that have some actual connections established), unlike what "snap interfaces" (plural) does08:23
jameshzyga: so the only way to find out if one particular plug is connected is by asking snapd to serialise every single connected plug/slot on the system and then filter it client side :(08:23
zygajamesh: still there is no great way to show the state of a particular plug or slot08:24
zygajamesh: I think we are open to improvements, I'm just explaining why it is the way it is now08:24
zygajamesh: I think we need a connection-oriented view08:24
zygajamesh: and perhaps that would also answer the query you are after08:24
zygajamesh: what is it specifically that you want to access?08:24
zyga(or perhaps what is the UX that this is a part of)08:25
jameshzyga: "does snap A have a connected plug of interface type X?"08:25
zygajamesh: interesting, of interface type X or of name X08:25
zygaone thing I was looking at just last week was that in spread tests we often grep for stuff while we just want to answer "is this connected"08:26
zygasnap is-connected snap-name:plug-or-slot-name08:26
jameshthis is for a trusted helper type use, making a decision based on the interface connection state08:26
zygaand I was thinking we should implement the connections endpoint which returns all connections, with enough filtering to just answer that08:26
zygaI see08:26
zygajamesh: note that in theory one snap can define multiple plugs or slots of the same type08:27
zyga(as long as those have different names)08:27
jameshzyga: the particular use case is having pulse audio restrict access to microphones unless a particular interface is connected08:27
zygain conversations long time ago we wanted "snap connections" to essentially return a set of tuples, one per connection08:27
zygaah, right08:27
jameshsince we can't handle that kind of thing at the AppArmor level08:27
zygajamesh: so I think that right now we don't have a nice API for that08:28
zygajamesh: I think we should write one (along with snap-connections)08:28
zygajamesh: as the only other alternative is the legacy endpoint and client side flitering08:28
jameshokay08:30
zygais mvo around today?08:54
pedroniszyga: he is offically off09:07
zygaah, I didn't know09:07
zygajust today or for a week?09:07
pedronisjust today I think09:08
zygaok09:09
mborzeckihm building amzn2 using common fedora spec is triggering isseses when generating selinux policy files, looks like selinux-policy is missing map for file class :(09:43
ChipacaI have code that refuses to work locally if I imported from snapd, but works elsewhere imported from purportedly the same code, and works locally if I paste it into somewhere else. i've removed pkg/ from my gopath and no change. Strace doesn't seem to point to any weird imports. Any ideas?09:52
jameshvendored dependencies?09:54
Chipacahmmm09:55
Chipacajamesh: moving aside vendor does make the code work!09:55
Chipacajamesh: but that makes even less sense: the code I'm running is in one of the unit tests that has to be using the vendored code09:57
Chipacabut as soon as I run govendor sync again, it fails again09:57
Chipacajamesh: code is https://pastebin.ubuntu.com/p/rtv8QH34qB/ fwiw09:58
Chipacaalthough I'm going to assume it's something local09:58
jameshChipaca: either (a) you're running into a bug in a dep that has been fixed since the revision govendor pulls, or (b) something bad happens when two copies of the package exist in the same process09:59
jameshanything github.com/snapcore/snapd/strutil pulls in will reference github.com/snapcore/snapd/vendor/gopkg.in/yaml.v210:00
jameshby "doesn't work", do you mean crashes, or failes to compile?10:01
Chipacajamesh: yaml: unmarshal errors:  line 2: cannot unmarshal !!map into yaml.MapSlice {[] map[]}10:02
Chipacajamesh: option (c) :-)10:02
jameshChipaca: Looking at the yaml code, it has a branch of code dependent on  "reflect.TypeOf(MapItem{})"10:04
Chipacaindeed it fails as soon as I copy gopkg.in into vendor/10:04
jameshChipaca: so the MapItem as seen by strutil.OrderedMap is different to the MapItem the non-vendored yaml package sees10:05
jameshChipaca: presumably you could change your program to instead import "github.com/snapcore/snapd/strutil/vendor/gopkg.in/yaml.v2"10:05
ChipacaI thought go blocked that10:06
Chipacalemme see10:06
Chipacaimports github.com/snapcore/snapd/strutil/vendor/gopkg.in/yaml.v2: must be imported as gopkg.in/yaml.v210:06
Chipacaeh, nevermind10:07
Chipacajamesh: now I understand it's not my go installation broken in weird ways (although arguably all installations are, given this), i can stop worrying10:07
jameshanyway.  You can see that strutil.OrderedMap.UnmarshalYAML asks the non-vendored yaml package to unmarshal into the vendored yaml.MapSlice type10:07
jameshwhich fails because it sees the vendored yaml.MapSlice as just some random third party type rather than something to handle specially10:08
Chipacajamesh: i thought it  was the other way around: the u function will be unvendored (as it's provided by the caller which is outside of snapd, so unvendored) and the MapSlice will be vendored (as it's imported by strutil which will use the vendored)10:10
jameshthat's what I said, isn't it?10:10
Chipacaah maybe thats what you said10:10
Chipaca:-)10:10
Chipacajamesh: yes10:10
Chipacajamesh: I'm easily confused, it seems10:10
niemeyerMornings10:40
mborzeckiniemeyer: o/10:43
Chipacacould somebody run the unit tests on cmd/snap on master a few (10?) times and tell me if it fails?10:53
Chipacait fails here, at least once every 5-10 times; and it's failing every _single_ time on #5506 :-(10:54
mupPR #5506: cmd/snap: add a green check mark to verified publishers <Created by chipaca> <https://github.com/snapcore/snapd/pull/5506>10:54
Chipacacompletely unrelated to the colour green :-(10:54
Chipacathe error is in cmd_aliases_test, ... value client.ConnectionError = client.ConnectionError{error:(*url.Error)(0xc82034e030)} ("cannot communicate with server: Get http://127.0.0.1:34111/v2/aliases: dial tcp 127.0.0.1:34111: getsockopt: connection refused")10:55
mborzeckiChipaca: got it on the first run11:00
mborzeckiChipaca: on master11:00
mborzeckiniemeyer: can you upload the latest spread to s3? i've opened a pr for amazon linux but spread is complaining about invalid size string: "preserve-size"11:23
niemeyermborzecki: Ah, indeed I haven't updated, waiting for feedback on whether it worked11:24
niemeyercachio: have you had a chance to try it out?11:24
mborzeckiniemeyer: it worked :)11:24
niemeyermborzecki: There you go :)11:24
niemeyermborzecki: Updating11:24
mborzeckiniemeyer: thanks!11:25
cachioniemeyer, yes, I updated the amazon image using this one11:25
niemeyermborzecki: Done, please let me know11:25
zygahey niemeyer11:26
zygahow are you feeling?11:27
mborzeckiin case anyone wants to take a look #555211:27
zygaI had a rough ride home, I haven't felt this tired after returning from a sprint in a while11:27
mupPR #5552: (WIP) Amazon Linux 2 packaging and spread tests <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5552>11:27
niemeyerzyga: Yo11:38
niemeyerzyga: Feeling pretty reasonable.. don't have much time to feel tired this week :)11:40
niemeyerzyga: The sprint was intense indeed, though11:40
niemeyerI blame the short sessions, in part11:40
zygaindeed, lots of tasks switching during the week11:43
mborzeckipedronis: did you get a chance to take another look at #5434 ?11:54
mupPR #5434: overlord: introduce InstanceKey to SnapState and SnapSetup, renames <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5434>11:54
pedronismborzecki: I think I skimmed it again, but didn't do a full re-review11:59
mborzeckipedronis: do you think you could do it this week? it'd be nice to land it before you're off for vacation :)12:00
mborzeckipedronis: i'm updating the store pr too, should be pushing the changes later today/tomorrow12:01
=== chihchun is now known as chihchun_afk
* zyga -> walk12:10
pedronismborzecki: yes, not today though, more likely tomorrow12:15
mborzeckipedronis: works for me, thank you!12:15
* zyga actually goes for that walk...12:25
cachioSaviq, yesterday I updated images, please tell me if you see any error13:18
mborzeckizyga: vey nice umbrella :P13:30
hunterkmborzecki: I have a snap package for a program that uses vulkan but it complains about not being able to find the vulkan loader. I was told you were the person to talk to. Any suggestions? :)13:49
mborzeckihunterk: is it published?13:49
hunterkyes, retroarch13:49
hunterkit initially launches with a GL renderer, but I can walk you through enabling the Vulkan renderer if you like13:51
mborzeckihunterk: let me check my notes, iirc there was some fishy stuff about vulkan an how it finds icd files13:52
hunterkkk13:52
hunterki have to run to a meeting, so no hurry13:52
=== plars_ is now known as plars
zygaPharaoh_Atem: hey14:29
zygaaround?14:29
Pharaoh_Atemzyga: yes?14:29
zygahey, I14:29
zygahey, I'm looking into f29 base snap now, I've started playing with image factory, trying to get it to do _basic_ things (whatever those are) in a way I understand14:30
zygaI wanted to quickly sync with you if that is the right way to start14:30
zygaPharaoh_Atem: my plan is to write a plugin for it (called snapcraft) that builds a base snap according to the stuff in the template (still hand-wavy at this stage)14:31
Pharaoh_Atemsounds like a good strategy14:31
cachiozyga, do you know why we are installing linux-image-extra-* ?14:32
zygaPharaoh_Atem: I don't know what the constraints are, I suspect more modern things may be a dependency problem, I plan to use python 2.7 and shell for now14:32
cachiozyga, what so we need from it?14:32
zygacachio: AFAIK for the extra drivers, but not specifcially14:32
* Chipaca takes a break from bashing his head on tests and goes get a cuppa14:32
Pharaoh_Atemzyga: you can email Brendan Reilly <breilley@redhat.com> about it14:33
Pharaoh_Atembah14:33
Pharaoh_AtemBrendan Reilly <breilly@redhat.com>14:33
cachiozyga, ok, because there is not a package for the latest update on ubuntu 16.04-6414:33
cachioon gce14:33
zygacachio: I don't know what that means,14:33
Pharaoh_Atemzyga: I'd plan on py3 compatible py2 code, since I think imgfac is going to be ported soon14:33
zygaare you saying the package is out of sync somehow?14:34
zygait is built as a part of the kernel14:34
cachiozyga, we are installing this on snapd test suite14:34
cachiolinux-image-extra-$(uname -r)14:34
zygaPharaoh_Atem: that's a good hint14:34
zygaPharaoh_Atem: who is Brendan?14:34
cachiobut the last kernel is 4.15.0-1014-gcp14:34
Pharaoh_Atemhe's the maintainer and main developer of Image Factory/Oz14:34
Pharaoh_Atemat least for the last two releases, he's been the guy making them14:35
cachiozyga, what I can so is to install 4.15.0-15 to make that work14:35
Pharaoh_Atemzyga: https://github.com/redhat-imaging/imagefactory/blob/master/imagefactory.spec#L132-L14714:35
zygacachio: sorry, I don't know enough about the problem to help you14:35
cachiozyga, ok, np14:35
cachioI'll fix it14:35
zygaPharaoh_Atem: ah, I see14:35
zygaPharaoh_Atem: do you expect we will need to make changes outside of image factory in order to get the base snap building in place?14:36
Pharaoh_Atemwe may need to touch pungi and koji14:36
zygacachio: I know we are installing it in the test suite but I don't know what the problem is really, is the package uninstallable?14:36
Pharaoh_Atemhttps://pagure.io/pungi & https://pagure.io/pungi-fedora; https://pagure.io/koji14:37
zygaPharaoh_Atem: to ping imagefactory or to do some other things?14:37
Pharaoh_Atemoz is run by koji, which is kicked off by pungi14:37
zygaand how does imagefactory fit into this?14:37
Pharaoh_Atemfor example: https://koji.fedoraproject.org/koji/buildinfo?buildID=113019514:38
cachiozyga, the problem is that when I update the image for xenial 64, there is not  linux-image-extra for the new kernel instlaled14:38
Pharaoh_Atemzyga: imagefactory is run as a koji task14:39
zygacachio: I would ask the kernel team about htis14:39
cachiozyga, ok, make sense14:39
zygaPharaoh_Atem: and how does this relate to pungi?14:39
Pharaoh_Atempungi is the tool that actually kicks off all the koji tasks14:39
Pharaoh_Atemand tells the tools what they should do14:40
zygaso koji can build things14:40
zygaby deferring to imagefactory14:40
zygabut it has no scheduler14:40
zygaso pungi is doing that?14:40
Pharaoh_Atemkoji is the build system, imgfac is the tool, and pungi is the orchestrator14:40
Pharaoh_Atempungi -> koji -> imgfac14:40
zygaok14:40
zygathanks, I see now14:40
zygaso I started with the right place it seems :)14:41
ogra_hmm, did we have any recent snapctl changes ?14:41
Pharaoh_Atemzyga: you can also ask mboddu in #fedora-releng for more details ;)14:41
ogra_https://paste.ubuntu.com/p/9Qg7szthFq/14:41
ogra_i'm seeing "snapctl: Permission denied" errors14:41
zygaPharaoh_Atem: for now I think this is enough to keep me busy but I will write that down, contact points are useful14:41
Pharaoh_AtemMohan will be at Flock, too14:42
ogra_(this has worked before last edge update of core i think)14:42
zygaogra_: it moved from /usr/bin/ to /usr/lib/snapd/ so maybe apparmor is out of sync somehow14:42
zygasee if you have any denials14:42
zygaPharaoh_Atem: Mohan == mboddu?14:42
Pharaoh_Atemyeah14:43
Pharaoh_Atemhis name is Mohan Boddu14:43
ogra_heh, surely a gazillion (but from other stuff ...)14:43
zygais he responsible for for koji and friends?14:43
zygaogra_: look for specific denial for snapctl14:43
ogra_[ 1007.643957] audit: type=1400 audit(1532443192.989:1239): apparmor="DENIED" operation="exec" profile="snap.chromium-mir-kiosk.hook.configure" name="/usr/lib/snapd/snapctl" pid=4522 comm="configure" requested_mask="x" denied_mask="x" fsuid=0 ouid=014:43
ogra_[ 1007.710435] audit: type=1400 audit(1532443193.053:1240): apparmor="DENIED" operation="exec" profile="snap.chromium-mir-kiosk.hook.configure" name="/usr/lib/snapd/snapctl" pid=4529 comm="configure" requested_mask="x" denied_mask="x" fsuid=0 ouid=014:43
ogra_yeah14:43
ogra_should another reboot help here ?14:43
zygano, one sec14:44
ogra_(i'm freshly booted after core update)14:44
zygacan you check if /var/lib/snapd/apparmor/profiles/snap.chromium-mir-kiosk.hook.configure talks about snapctl (grep for it)14:44
zygaogra_: if it doesn't then i think this is a bug14:44
ogra_ogra@pi3:~$ sudo grep snapctl /var/lib/snapd/apparmor/profiles/snap.chromium-mir-kiosk.hook.configure14:45
ogra_  # snapctl and its requirements14:45
ogra_  /usr/bin/snapctl ixr,14:45
ogra_  /usr/lib/snapd/snapctl ixr,14:45
ogra_ogra@pi3:~$14:45
ogra_looks like it is there14:45
ogra_with the correct path14:45
zygathat's interesting14:45
zygacan you run apparmor_parser -r on that file (as root)14:45
zygaand see if that fixes it14:45
zygaI wonder if we have a cache issue14:46
zygait's also likely the file is correct now14:46
zygaoh14:46
zygaso run configure again14:46
zygamaybe it will work without running apparmor_parser14:46
zygaif it doesn't then do run apparmor_parser14:46
zygaand then try to run configure again14:46
ogra_i did run configure a few times already14:46
zygaok14:46
zygaand it fails, right?14:46
ogra_yes, running the parser now14:47
ogra_now the configure works14:47
zygaha14:47
ogra_ogra@pi3:~$ snap set chromium-mir-kiosk disablekiosk=true14:47
ogra_ogra@pi3:~$14:47
zygacan you reproduce that issue?14:47
ogra_no issues14:47
zygaI mean, can you get to a state where it happens again14:48
ogra_phew ... that takes a while (takes minutes to install the chromium snap)14:48
ogra_well, i'd remove and reinstall the snap14:48
ogra_not sure if that changes anything though14:48
ogra_the image is a week old or so and silently updated core but nothing else when i applied network 30min ago14:49
ogra_not sure if i can repro that state14:49
ogra_bah, dang !14:50
ogra_ogra@pi3:~$ snap remove chromium-mir-kiosk14:50
ogra_error: cannot remove "chromium-mir-kiosk": snap "chromium-mir-kiosk" is not removable14:50
ogra_it is in the model assertion as required snap ...14:50
ogra_so no way i could try to repro that by removing the snap14:51
Saviqcachio: ack, thanks for the heads up (down?) ;)15:08
ogra_isnt that also called "nodding" ?15:09
ogra_"heads up (down)"15:09
mborzeckipedronis: pushed fixes to the store PR too, thanks for the review comments there was indeed an error in mapping install errors there15:13
=== jkridner|pd is now known as jkridner
ogra_zyga, aha ... seems a reboot gets me back into the broken state15:26
zygathat's very interesting15:27
ogra_[ 1178.619187] audit: type=1400 audit(1532445976.250:48): apparmor="DENIED" operation="exec" profile="snap.chromium-mir-kiosk.hook.configure" name="/usr/lib/snapd/snapctl" pid=4393 comm="configure" requested_mask="x" denied_mask="x" fsuid=0 ouid=015:27
zygabecause it seems to suggest that we load a profile from cache15:27
zygabut loading a profile from the file (compiling it again) results in correct behavior15:27
ogra_even when i ran the parser manually ?15:27
zygaogra_: that's different, the cache behaves in another wy15:27
ogra_i thought that would also update the cache15:27
ogra_ah15:27
zygano, that's separatet15:28
zygacan you provide the details15:28
zygaon the forum15:28
zygaand save the cache / profiles somewhere15:28
zygathis is very interesting to debug15:29
zygaif you can (and this is a SD card)15:29
zygajust save the card and don't change it15:29
zygae.g. fill empty space with zero, dd the card, compress and send to me15:29
ogra_zyga, http://people.canonical.com/~ogra/snappy/kiosk/ ... it is just this image15:29
zygaI should be able to extract cache data and debug this15:29
zygaogra_: do you have RTC on the device where this runs? is the hardware public?15:30
zygaaha, pi15:30
zygado I need a specific pi?15:30
ogra_it will auto-update core (built from edge) on first boto and then you should see the error when trying to set anything for chromium-mir-kiosk15:30
zygaso I suspect this is a real bug in the cache system15:30
ogra_nope, that uses my universal gadget15:30
zygaand it affects devices that have no RTC that is battery backed15:30
ogra_runs on every pi15:30
zygaso on boot the time is very much wrong15:30
ogra_(well, every pi we support in core indeed)15:30
zygathank you for this, this is very very useful15:30
ogra_well, the clock is correct after first network connection15:31
ogra_and the device was only rebooted, not powered off15:31
ogra_so it comes up with a proper clock on reboot15:31
zygajdstrand_, jjohansen: ^ it looks like apparmor_parser cache is susceptible to misbehavior when loading profiles on boot on a device without battery backed RTC15:31
zygaogra_: yes but apparmor loads much earlier than that15:31
zygaogra_: before most of regular startup15:31
ogra_earlier than what ?15:32
zygaogra_: and definitely before network15:32
ogra_the HW clock is set correct on reboot15:32
zygaogra_: look at "systemctl cat apparmor.service"15:32
zygaogra_: how is it being set?15:32
ogra_you dont understand :)15:32
zygaogra_: what sets the hardware clock?15:32
ogra_ntp should call systohc15:32
ogra_once it gets the correct time15:32
zygaogra_: does pi have an RTC on the board? AFAIK it doesn't15:32
zygaso on reboot the time is constant15:33
ogra_so the HW clock itself should be fine until you power off the board15:33
zygaand only gets fixed by userspace later15:33
zygaI see15:33
zygathis is something to investigate15:33
ogra_it surely has an RTC, just no battery15:33
zygacan you please collect the apparmor cache and profiles, just in case15:33
ogra_anyway, the board also boots with fixrtc set15:33
zygacachio: from /etc/apparmor and /var/lib/snapd/ and /var/cache AFAIR15:34
zygabrb15:34
zygaer15:34
zygaogra_: ^15:34
ogra_so even if the clock was wrong, it would only be slightly off (set to the last mount time of the rootfs)15:34
zygaI need to go afk for some time15:34
mborzeckihunterk: so i've tried vulkaninfo from my graphics-debug-tools-bboozzoo snap and ran into issues, we're not picking up a library from the host which apparently is required15:37
ogra_hmm, actually it doesnt have an RTC ... but fixrtc should still kick in from the initrd15:37
mborzeckihunterk: i've opened a PR #5553, feel free to build it locally and check15:37
mupPR #5553: cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so <Simple> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5553>15:37
mborzeckizyga: ^^15:37
mborzeckihunterk: also, you actually need to set a path to the nvidia ICD file, the way i'm running vulkaninfo is (inside snap run --shell): VK_ICD_FILENAMES=/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json /var/lib/snapd/snap/graphics-debug-tools-bboozzoo/current/command-vulkaninfo.wrapper15:38
zygaWhat does fixrtc do?15:38
mborzeckihunterk: for comparison egl has icd search paths which is : separated list of dirs with icd files, libvulkan had no such thing :( hence the manual hack15:39
zygaogra_: what does fixrtc do?15:44
ogra_zyga, running from initrd, setting the clock to the last mount time of the rootfs15:44
ogra_on boot15:44
ogra_so if the clock is off it is only by a really small margin15:45
zygammm15:47
zygamount or unmount?15:47
zygait may well explain the problem15:47
zygamborzecki: reviewed15:48
jdstrand_zyga (cc jjohansen): re battery backed rtc> yes, the clock needs to be right because of the mtime check. Ubuntu had a bug on one of the Touch devices for that15:52
hunterkmborzecki: awesome. I'll take a look. Thanks for your help!15:52
zygajdstrand_: I think this would neatly explain this15:52
=== jdstrand_ is now known as jdstrand
zygajdstrand: if it is really _mount_ time it is clearly a way to be wrong and reproduce the problem15:52
zygajdstrand: no immediate action now but I will look at reproducing this15:53
mborzeckizyga: thanks!15:53
zygaogra_: can you point me to fixrtc sources?15:53
ogra_zyga, apt-get source initramfs-tools15:54
zygaogra_: thank you very much sir!15:55
ogra_ir uses dumpe2fs to read the last mount date from whatever root= is15:55
ogra_*it15:55
ogra_and then uses date to set the clock to it ... pretty simple thing (and ages old)15:55
zygaogra_: thank you16:00
zygaogra_: and I think that is the bug actually16:00
zygabut I will confirm first16:00
ogra_whats the bug ? tha the clock is some minutes in the past ?16:01
ogra_*that16:01
ogra_(i could imagine it being a but if it is in the future ... but the past ? )16:02
ogra_*a bug16:02
zygaogra_: if it really is the mount time it will be wrong for the cache use case16:03
zygaogra_: it must be the unmount time to be correct16:03
ogra_well, thats nothing the metadata of ext4 stores sadly16:03
ogra_you only have creation, last mount and last write16:04
ogra_oh, and last checked16:04
zygalast write then16:04
zygalast mount is 100% wrong in this case16:04
zygabecause depending on how the cache is made16:04
zygathen you are in the past and the cache is from the future16:04
zygaor you actually get the _old_ entry with the correct "window" of time16:05
zygaI will reproduce this and gather some evidence16:05
ogra_ah, right16:07
ogra_that makes sense indeed16:07
zygayeah, it's such a interesting bug16:08
zygait dates back to 15.0416:08
zygaogra_: I cannot find fixrtc there16:09
zygaI got the sid version of the package16:09
ogra_ubuntu16:09
ogra_it isnt in debian16:09
zygaaha16:09
zygathanks16:09
zygagetting now16:10
ogra_great16:10
zygaogra_: can you please run this on your pi just now:16:13
zygadupe2fs -h /dev/mmcblk0XXX16:14
zygaadjust to point to rootfs16:14
zygaand uptime16:14
zygaand pastebin both16:14
ogra_oh ... i think we have a bug here16:14
ogra_https://paste.ubuntu.com/p/pJqTTZzYkg/16:14
ogra_damn ...16:15
zygaif this is the bug we shall try those 1L beer mugs at the next sprint16:15
ogra_well, the bug goes deeper16:15
ogra_look at the timestamps16:15
zygaFilesystem created:       Mon Jul  9 13:01:52 201816:15
zygaLast mount time:          Mon Jul  9 13:12:09 201816:15
zygaLast write time:          Mon Jul  9 13:12:09 201816:15
zygaJuly 9!16:15
ogra_yeah16:15
ogra_thats the image creation date16:15
zygaand uptime?16:16
zygaogra_: ha, I suspected that :D16:16
ogra_uptime ?16:16
ogra_you mean date16:16
zygano, really uptime16:16
ogra_Tue Jul 24 16:16:20 UTC 201816:16
ogra_ogra@pi3:~$ uptime16:16
ogra_ 16:16:22 up  1:09,  1 user,  load average: 2.34, 2.23, 2.6416:16
ogra_ogra@pi3:~$16:16
zygato know when it booted16:16
zygaok16:16
ogra_so for some reason the ext4 metadata doesnt get updated correctly in our weird stacked rootfs mounts setup16:17
zygaogra_: and date?16:17
ogra_see above16:17
zygaogra_: it thinks it's 9th of July because that's what is baked as fallback when the image was not mounted, then it runs with that because maybe we never unmount cleanly so that is what stays there forever16:17
ogra_(above the uptime call)16:17
zygaah, that's good (date)16:17
zygaogra_: if you have a serial, can you shut down / reboot16:17
ogra_well, Chipaca's helper unmounts it16:17
zygaogra_: and see if things error on the poweroff tool we wrote16:18
ogra_so technically it shoudl unmount cleanly16:18
zygaogra_: well, it unmounts stuff but it happily ignores errors16:18
zygaogra_: and refcount must go to 0 for the unmount to be effective16:18
ogra_nope, they do not error ... i see it telling me it unmounts (i did a few reboots today)16:18
zygaogra_: and after reboot, let's look at that data again: from dumpe2fs16:18
zygaok16:18
ogra_there is the usual systemd error for writable ...16:18
zygaso this is golden:16:19
ogra_then the helper kicks in at the very end and tells that it unmounted writable fine16:19
zygawe have two bugs: one is that we must use "Last write time" to fix apparmor cache16:19
zygatwo is that we somehow not unmount cleanly (or so it seems)16:19
ogra_yeah16:19
zyganext up: look at dumpe2fs to see how that field is read16:19
zygaogra_: or maybe the kernel doens't flush buffers before pi reboots16:20
zygaogra_: "enough"16:20
zygato really sync the SD card16:20
zygacan you reboot to just ensure once and for all that this is still the 9th?16:20
zygaand I will look at dumpe2fs16:20
ogra_ogra@pi3:~$ sudo touch /writable/foobar16:21
ogra_ogra@pi3:~$ sudo sync16:21
ogra_ogra@pi3:~$ sudo dumpe2fs -h /dev/disk/by-label/writable | grep "Last write time"16:21
ogra_dumpe2fs 1.42.13 (17-May-2015)16:21
ogra_Last write time:          Mon Jul  9 13:12:09 201816:21
ogra_ogra@pi3:~$16:21
ogra_i think it is the stacked nature of our rootfs that breaks it16:21
zygaogra_: I only suspect that gets updated when we really unmount16:21
ogra_even touching and syncing a file doesnt update the field16:21
zygaogra_: make a loopback mounted ext4 and see16:21
ogra_really ?16:21
ogra_i'd excpect sync to update it16:22
zygaogra_: it would be silly to sync that on _any_ metadata write16:22
zygaogra_: superblock16:22
zygaogra_: sync is really "buffers are flushed"16:22
ogra_well, i explicitly tell the kernel to ...16:22
zygabut this buffer gets dirty when we unmount the superblock16:22
zygaif you see what I mean16:22
zygait is really only written once we unmount16:22
zyganot at any time16:22
zygaa loopback ext4 test will confirm that16:23
ogra_well, then it is a miracle to me that the filesystem doesnt completely fall apart all the time16:23
zygaI'm looking at e2fsprogs now16:23
ogra_i mean ...16:23
zygaogra_: yeah, Last write time: ... is coming from the superblock16:25
ogra_... it effectively thimnks there hasnt been written anything in 3 weeks16:25
zygaogra_: I will check when the kernel writes there now16:25
zygaogra_: yes, fun finding eh? :)16:25
zygaogra_: I love things like this, casual chat ends up finding very serious bug :)16:25
zygaand long long long standing one :)16:26
ogra_and the journal can only hold 16M ...16:26
ogra_(i definitely installed and wrote more stuff than 16M since july 9 )16:26
zygajournal as in journald?16:26
zygaah16:26
zygathis journal16:26
ogra_ad in filesystem journal16:26
zygaright16:26
ogra_so where is my data !!!16:26
ogra_(it isnt like its not there ... but ... but ... )16:27
zygaogra_: which kernel version do you have there, I'll sync the right tag16:27
ogra_4.4 whatever is in the stable channel16:28
ogra_ah, no, i'm lying ... its edge16:28
ogra_pi2-kernel          4.4.0-1092.100            56    edge      canonical  kernel16:28
zygathanks16:29
ogra_zyga, btw, we can only walk iteratively over creation, last mount, last write ... mount and write wont be populated at all on new images ... and there are other boards relying on it where it works (if you simply use a server image without loop mounted stuff )16:30
zygahttps://github.com/torvalds/linux/blob/894b8c000ae6c106cc434ee0000dfb77df8bd9db/fs/ext2/super.c#L125116:30
ogra_so if we change fixrtc we have to do it very careful to not break the world16:30
zygamhm16:31
zygaogra_: this field is used by ext2, not sure if ext4 _also_ uses it16:32
zygalooking16:32
ogra_pretty likely16:32
zygahttps://github.com/torvalds/linux/blob/ca04b3cca11acbaf904f707f2d9ca9654d7cc226/fs/ext4/super.c#L481316:33
zygainteresting16:33
zygaif the filesystem is mounted read only the superblock write time is _not_ touched16:33
zygaI will do some tests now16:33
ogra_sure16:33
ogra_but we (the initrd) remount it rw16:33
zygawonder if this actually happens when we make / ro just before unmounting16:34
zygayeah16:34
zygabut on shutdown16:34
zygait becomes ro for a sec AFAIR16:34
ogra_well16:34
ogra_ah16:34
zygaso... maybe that's enough not to write this16:34
ogra_yeah16:34
zygatesting now16:34
ogra_whats a bit bothering is that "Last checked" is also not updated ... i'd expect that to be done sepoarately from unmounting16:35
ogra_and we definitely run fsck once per boot16:36
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:36
zygaLast mount time:          n/a16:36
zygaLast write time:          Tue Jul 24 18:36:10 201816:36
zygathis is a loopback, freshly created, never mounted16:36
ogra_obviously16:37
zygathis is the same thing after mounting and writing a file16:37
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:37
zygaLast mount time:          Tue Jul 24 18:37:00 201816:37
zygaLast write time:          Tue Jul 24 18:37:00 201816:37
zyganote that mount time == write time16:37
ogra_(the n/a is new with 16.04 ... before it was hardcoded to the epoch)16:37
zygaand I obviously wrote _after_ (a few seconds after that)16:37
zygasync doesn't affect that16:38
ogra_ok16:38
zygaafter unmounting I get this:16:38
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:38
zygaLast mount time:          Tue Jul 24 18:37:00 201816:38
zygaLast write time:          Tue Jul 24 18:38:14 201816:38
zygaso so far all is good16:38
ogra_now ... if you remount ro and do an fsck ... is the check field updated ?16:38
zygaI will now remount it ro before unmounting (repeating earlier experiments)16:38
zyga:D16:38
ogra_:)16:38
zygayep, that's what I want to know16:38
zygafirst, I mounted it ro as we would in initrd16:39
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:39
zygaLast mount time:          Tue Jul 24 18:37:00 201816:39
zygaLast write time:          Tue Jul 24 18:38:14 201816:39
zyga(after mounting as read only)16:39
zyganote how the "last mount time" is not changed16:39
ogra_yeah16:39
zygaI will now unmount it (still ro) to just ensure this is changed (or not changed)16:39
zygaLast mount time:          Tue Jul 24 18:37:00 201816:40
zygait is not changed16:40
ogra_there we go16:40
zygaok, now I will make it writable for a moment16:40
zygaI mounted it ro, remounted to rw16:40
ogra_i still dont get how it manages to not lose data that way ... unless your journal grows and grows16:40
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:41
zygaLast mount time:          Tue Jul 24 18:40:42 201816:41
zygaLast write time:          Tue Jul 24 18:38:14 201816:41
zygalast mount time has changed16:41
ogra_yeah16:41
zygaand it is still mounted16:41
zygaso at least this suggests we should see "last mount time" changing16:41
zygaunless we really cannot write the superblock back16:41
ogra_well ...16:41
ogra_we set the clock in initrd ...16:41
zygaI touched the file again16:42
zygaah, right, when we ... have no time :)16:42
ogra_then mount rw, do an fsck ...16:42
zygatouching the file did not affect last write time16:42
zygaremounting as ro and unmounting now16:42
ogra_well, we have a time16:42
zygaI re-mounted as ro and got no change16:42
ogra_but only the time from that metadata16:42
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:43
zygaLast mount time:          Tue Jul 24 18:40:42 201816:43
zygaLast write time:          Tue Jul 24 18:38:14 201816:43
zygaand bingo!16:43
zygaFilesystem created:       Tue Jul 24 18:36:09 201816:43
zygaLast mount time:          Tue Jul 24 18:40:42 201816:43
zygaLast write time:          Tue Jul 24 18:38:14 201816:43
ogra_so the snapd helper would need to remount rw once, go back to ro and only then shut down ?16:43
zygawell, not sure yet16:43
ogra_or force call the internal fs sync command16:44
zygabut re-mounting the filesystem as read only means we never write the superblock16:44
ogra_right16:44
zygaso all the dates are stuck from any previous experiment16:44
zygathis feels like a kernel bug16:44
zygait should remember the FS was writable and written to16:44
ogra_it probably does somewhere in the journal16:44
zygaogra_: we could perhaps use an ext4 specific utility to write that date ourselves16:45
zygabut anyway, this is the culprit right there16:45
ogra_right16:45
zygathat coupled with the other bug (wrong timestamp used)16:45
zygaI will update the forum thread about this16:45
zygaand let's down this beer in September :)16:45
zyga0.5 or more16:45
ogra_+1 !16:45
zygaI wonder who gets more drunk a polish guy or a german guy drinking beer :D16:45
zyga:D16:46
ogra_haha, we'll see :)16:46
zygalike this cat that spins with a toast on his back;-)16:46
zygajdstrand: we got to the bottom of the issue!16:46
* zyga goes to the forum16:46
ogra_zyga, https://forum.snapcraft.io/t/snapctl-permission-denied-with-latest-edge-core-update/652016:52
zygaogra_: https://forum.snapcraft.io/t/apparmor-profile-caching/1268/916:55
ogra_bah16:56
zygalook at this and check if I got things right16:56
zygalet's just cross reference16:56
zygatomorrow we can discuss with mvo on how to fix this16:56
ogra_yeah16:56
zygaI need to make a coffee :)16:56
zygaand play with fedora some more16:56
zygaI'm super happy we found this16:56
ogra_me too !16:56
zygaall pi devices and other RTCless devices will benefit16:56
ogra_yep16:57
zygahigh five orgra :)16:57
zygao/16:57
* ogra_ ^5 zyga 16:57
zygawoot :-)16:57
ogra_thanks for the cross-ref :)16:58
ogra_zyga, i guess this should hold back the next release til we have a fix ... else all configure hooks will explode16:58
zygayes16:59
zygathis is a release blocker16:59
zygaCC cachio16:59
zygathat's a very important observation ogra_16:59
ogra_:)16:59
zygaI cross-referenced mvo and will discuss with him tomorrow17:00
zygathis was a good day :)17:00
zygawhat kind of beer do you like more dark or light?17:00
* ogra_ goes back to watch aquaman HD trailers in loops on the chromium kiosk RPi ... SW rendered but it's *not* a slideshow !!17:01
ogra_zyga, depends ... thats a daily mood thing17:01
ogra_generally pilsner style but i have my dark-ale days :)17:01
ogra_zyga, and on bad days:  https://d3r6kbofdnmd8.cloudfront.net/media/catalog/product/cache/image/1536x/a4e40ebdc3e371adff845072e1c73f37/1/0/100135_Fucking-Hell-Bier-6x033L-49-Vol_4.jpg17:03
ogra_(thats actually real :) )17:03
cachiozyga, thanks for the heads up17:10
cachiohecking17:10
cachiochecking17:10
zygaogra_: I'm slowly getting into the more proper coffee17:10
zygaogra_: not "fire and forget"17:10
zygaogra_: I wonder if I will reach that level in beer :)17:11
ogra_get a proper espresso machine and start drinking americano ... IMHO the only proper way of consuming coffee ;)17:11
zygaamericano? OMG I cannot stand it17:12
ogra_oh, why ?17:13
zygait should be just called diluto17:13
zyga!strong enough17:13
zygasorry ubottu :)17:13
ogra_heh17:13
ogra_but tasty !17:14
ogra_(and it is as strong as the espresso you take for it ...)17:14
zygasure but then you can fit more espresso17:14
zygathough I understand diluting wine with juice and fruit to make sangria17:14
zygaso ... maybe I just need to find the taste17:15
ogra_heh17:15
ogra_the point is that putting clear water into an already produced espresso makes the thing keep its taste ... you just dont get a heart attack after three cupts (and i have ten during the day)17:16
ogra_it is definitely my preferred coffee over any filter coffee or even crema17:17
ogra_(though at times i like a straight espresso)17:17
zygare, just finished brewing it17:24
zygaI never liked filtered17:24
zygabut my parents drink that sometimes17:24
zygathough I suspect it's just because it was easier to make17:24
ogra_yeah17:30
ogra_https://www.ecm.de/fileadmin/products/slider/ECM-Espressomaschine-Classika-II-Hauptbild.png17:31
ogra_:D17:31
zygaogra_: I'll switch to fedora work now17:31
ogra_(thats what makes my coffee)17:31
ogra_yeah, enjoy !17:31
zygathat's neat17:31
zygais that all metal?17:31
ogra_yeah17:31
ogra_hand made17:31
zygalooks very nice17:32
ogra_(german company from heidelberg)17:32
ogra_brews very nice too ;)17:32
diddledannew snap alert! WOOP WOOP. new snap alert! https://snapcraft.io/starruler218:09
ogra_wow ... revision 1 in stable !18:23
diddledan:-D18:24
diddledanI don't upload until it works :-p18:24
ogra_... 518kB/s ...18:30
* ogra_ twiddles thumbs18:31
diddledaneep18:31
diddledanit's "only" 490MB18:31
ogra_smaller than supertuxkart :)18:32
mvojibel: good news (maybe you know already) the latest desktop image is fine, snap install gedit finishes as expected18:41
* cachio afk18:59
jdstrandroadmr: hey, did you flip on resquashfs enforcement yet?19:50
roadmrjdstrand: no! was waiting for your ok. I can do so now19:50
jdstrandroadmr: please do so. thanks!19:50
roadmrjdstrand: I'm 2 hours from EOD but the store never sleeps (tm) so feel free to holler if there're issues19:51
jdstrandroadmr: yep, thanks :) I suspect few issues, if any. the last time it was on for a week and only had the couple failures we needed to look at19:52
jdstrandroadmr: do remember it will make reviews take longer, in case there is a question wrt your monitoring infra19:52
roadmrjdstrand: noted, but last time there was no issue with that19:53
* jdstrand nods19:53
=== LinAGKar[m] is now known as LinAGKar
roadmrjdstrand: switch flipped!19:53
jdstrand\o\19:53
jdstrand/o/19:53
jdstrand\o/19:53
jdstrand:)19:53
jdstrandroadmr: thanks again :) hoping this is the *one*19:54
roadmrhopefully!19:54
FreeBDSMhello21:28
FreeBDSMdoes anyone have a snap file for firefox v52.9.0 ESR?21:29
FreeBDSMI need it badly, I don't want to use any more recent version of firefox21:30
FreeBDSM`snap install skype` -> `error: This revision of snap "skype" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk. If you understand and want to proceed repeat the command including --classic.`  how safe is it? I don't understand. Is it just a general warning or is Skype requiring some extra permissions?21:32
FreeBDSM!classic21:34
halfbitI'm confused by ubuntus use of snappy, it looks like they're using snaps for gnome applications? is that right?21:35
zygahalfbit: yes, some gnome apps on 18.04 are shipped as snaps22:09
* zyga heads to bed so cannot have a long conversation22:09
zygaFreeBDSM: firefox snap has a ESR track, for more info look at "snap info firefox", it is not at the exact version you wanted though22:10
FreeBDSMzyga: exactly why I'm asking here for a particular version.22:10
zygaFreeBDSM: classic confinement is "like typical distribution package", there is no confinement between the application process and the system22:10
zygait is as safe as a .deb or .rpm22:11
zygait is based on trust in the actual publisher (microsoft in this case) and that they are not attacking your machine22:11
FreeBDSMwhen such a snap (with classical confinement) gets removed from the system - does it leave trails?22:11
zygaFreeBDSM: usually only in logs and leftover data in your home directory (if any)22:12
zygabut not in the system22:12
FreeBDSMgood22:12
zygatechnically when a snap is removed it is just unmounted, the whole snap is in one file22:12
* zyga hasn't seen jdstrand this happy in a while!22:12
FreeBDSMI've heard there are also flatpaks, how do they differ from snaps?22:12
zyga(just scrolling back and noticing the victory dance)22:12
zygaFreeBDSM: in tons of ways, this is a huge topic and it's far too late to discuss here22:13
* jdstrand notes that a classic snap can do anything to the system, so it could leave trails. a well-behaved content snap won't do that of course22:13
zyga(now, it's after midnight for me)22:13
jdstrandzyga: goodnight! :)22:13
FreeBDSMzyga: utc+3?22:13
jdstrands/content/classic/22:13
zygaFreeBDSM: in the security model, in the distribution method, in the update method, in the scope and intended feature set ,etc22:13
FreeBDSMokay, got it, it's a huge topic22:14
zygaFreeBDSM: I'm sure that jdstrand can give you one difference to research22:14
FreeBDSMthanks for the answers22:14
FreeBDSMit's past midnight for me as well22:14
zygaI can too but I'm not an expert on flatpak and I may be imprecise22:14
zygaFreeBDSM: both projects use many kernel features to make the apps work22:15
zygaand we also use some of the work on the portal system that flatpak initiated22:15
zygabut I think we are building slightly different things in the end22:15
FreeBDSM230 users on #flatpak vs 245 on #snappy, hehe22:16
zygaalex is a cool, skilled and motivated developer (really kudos for that)22:16
zygawell, irc is kind of niche so I don't think that's a useful metric22:16
zygaask him too, I'm sure he will have interesting things to share22:16
jdstrandyes. in terms of isolation, flatpak in general uses namespaces and trusted helpers (eg, portals). strict mode snaps can be unmodified, are wrapped with LSM and seccomp filtering (a form of containerization), but also use various traditional containerization techniques (eg, device cgroup, mount namespace, devpts new instance)22:18
jdstrandbut snaps as of recently can use portals. they can also run as classic snaps (ie, unconfined)22:19
jdstrandthere was talk of flatpak doing more with LSM, but afaik, that is still a roadmap item22:20
jdstrandlike zyga said though, trying to doing different things22:20
FreeBDSMokay, sorry, I don't understand a thing, haha22:20
FreeBDSMso, does anyone have a snap for firefox 52.9.0 esr?22:25
FreeBDSMor any instructions on how to build it?22:25
halfbitis there a chat for ubuntu core, looks like something I'd be interested in checking out22:56
halfbitcan I run all of gnome on ubuntu core?23:35
halfbitor is that a standard deb based ubuntu only thing23:35

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