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

=== lukedashjr is now known as luke-jr
mborzeckimorning04:59
zygaGood morning05:16
mborzeckizyga: hey05:16
zygahey, how are you doing05:19
zygait's gotten pretty cold :/05:19
mborzeckizyga: yeah, it could rain a bit though, so far it's been rather dry05:20
mborzeckihmm somehow arch package of 2.39 is 4M smaller than 2.38 :/05:21
zygamborzecki: it was raining almost daily here05:22
zygamborzecki: perhaps something changed from a copy to a link?05:22
zygamborzecki: worth du-ing though05:22
mborzeckizyga: s-u-n is half the size05:24
zygathat is unusual!05:24
zygaperhaps we stopped importing something big05:24
zygabut half the size is very surprising05:24
mborzecki 12M -rwxr-xr-x 1 maciek maciek  12M 05-06 07:27 sun-2.3805:27
mborzecki6.1M -rwxr-xr-x 1 maciek maciek 6.1M 05-06 07:26 sun-2.3905:27
mborzeckihm05:27
mborzeckiwow, how the hell did image end up in s-u-n05:31
mborzeckizyga: image as in this one https://godoc.org/image05:32
zygaLOL05:32
zygagolang linking magic05:32
zygahow are you inspecting the binary?05:32
mborzeckizyga: looking at readelf output, i'm not aware of any other go friendly way05:34
mborzeckizyga: package is included in symbol names05:34
zygaI spent all of previous-work-day in readelf/strace/ltrace05:34
zygawe should add support for snap run --ltrace05:34
mborzeckiyeah, ltrace would be nice05:34
mborzeckioh, and an up to date strace-static snap :P05:35
zygayeah05:35
zygamaybe something to try to get to this week though I haven't set my priorities yet05:35
zygaman, resuming a virtual machine from hdd is super painful05:36
zyga(ram dumps)05:36
mborzeckizyga: http://paste.ubuntu.com/p/xypbbFqtd7/ quite a bit of packages gone in s-u-n 2.3905:40
zygamborzecki: perhaps go linking changed?05:40
zygafor real05:40
zygaI was joking before but maybe it's not a joke05:41
mborzeckizyga: same go version05:41
zygaperhaps something did import the image package before but not anymore?05:41
zygadunno, it's a bit magic05:41
mborzeckizyga: hmm snapd in 2.38 also includes image :P05:42
zygabatteries and image processing included, that's the motto ;)05:42
mborzeckizyga: asserts pulls in golang.org/x/crypto/openpgp/packet which in turn imports image05:49
zygawhat... the...05:50
zygalol05:50
zygaso how did we end up dropping that from sun?05:50
mborzeckizyga: we dropped asserts, which probably was a dep of some other package05:51
zygagood find,05:52
zygaif you can automate enough it would be nice to have a tool that dumps, roughly, the imported go packages of a given binary05:52
mborzeckiwell, so probably nothing we can do about that import05:56
mborzeckiat least i can proceed with the update now that we know where the 4MB went05:56
zygamborzecki: indeed06:02
zygahello mvo06:23
mvohey zyga06:23
mvozyga: good morning!06:23
mborzeckimvo: hey06:42
Eighth_Doctorugh06:43
Eighth_DoctorI think I finally did it06:43
Eighth_Doctorand yay, I can sign into snapcraft forum again06:43
mvohey mborzecki !06:44
mborzeckimvo: did you know we can do image processing in snapd? :D06:44
mborzeckineed to run a quick errand, back in 3006:47
mvomborzecki: image processing?06:52
Eighth_Doctorsnapd 2.39 is currently held up due to https://pagure.io/fedora-infrastructure/issue/776206:57
zygamvo: snapd was linking to the go imaging package07:00
zygamvo: because reasons07:00
zygamvo: mborzecki went investigating why snapd suddenly is 4MB smaller07:00
zygathat's why07:00
=== pstolowski|afk is now known as pstolowski
pstolowskimornings!07:01
mvozyga: woah, nice job mborzecki07:02
mvohey pstolowski07:02
zygamvo: on similar spirit, did you know that opengl on the linux desktop requires libtinfo for terminal control sequences?07:03
pedronismvo: morning07:07
mvohey pedronis07:09
mvozyga: I had no idea :)07:09
zygabrb07:23
zygare07:35
mborzeckire07:41
mborzeckipstolowski: pedronis: hey07:41
pstolowskio/07:41
pedronismborzecki: pstolowski: zyga: hi07:44
pedronismvo: I made a couple more comments on your remodel PRs07:44
mvopedronis: thanks, working on this now07:45
pedronismvo: also (still WIP) but this is were my own efforts or re-reg etc are heading:  https://github.com/pedronis/snappy/commit/bd6908d1c5a87f7ceb1c51bf9b4b4bedb3f7a0af#diff-57a9337573ecc46801d40ff4e140872cR32  probably worth a quick look to get a sense of things07:45
mvopedronis: ok07:45
mborzeckiEighth_Doctor: that's somewhat unexpected07:46
=== lukedashjr is now known as luke-jr
mborzeckiEighth_Doctor: but it's epel only?07:46
Eighth_Doctoryep07:46
mborzeckiEighth_Doctor: maybe some update didn't land for ppc64le just yet07:48
Eighth_Doctorprobably07:49
mborzeckiEighth_Doctor: did you have any issues with snapd selinux transition in 2.39? (aside from the reboot to patch the mount units)07:55
Eighth_Doctor🤷07:55
Eighth_Doctoron the clean machines I have, no07:56
Eighth_Doctorbut that doesn't tell me anything07:56
Eighth_Doctormborzecki: https://fedoramagazine.org/use-udica-to-build-selinux-policy-for-containers/08:11
mborzeckiEighth_Doctor: interesting, didn't we look at this a year ago or so?08:12
Eighth_Doctorwe looked at CIL, I think08:12
Eighth_DoctorI don't remember if we looked at udica08:12
mborzeckior maybe i was browsing wrabcak's projects :P08:16
pedronismvo: tried to answer in 677508:17
pedronislet me know if it's still unclear08:17
Eighth_Doctormborzecki: heh08:20
pedronismvo: I'm mostly trying us to have to refactor the refactor later, but don't want to make a time sink for you either08:20
pedroniss/to have/to not have/08:20
Eighth_Doctorwow, I really haven't gotten any sleep at all08:20
Eighth_Doctorthis is terrible08:20
mborzeckizyga: void is 111 instead of 000, i guess i need to update it in the fs otherwise things will blow up?08:24
Eighth_Doctorthe package should update this...08:25
Eighth_Doctormborzecki: the selinux-policy issue should be fixed in the next half hour or so08:31
Eighth_Doctorso I'll try building snapd then and go from there08:31
pedronismborzecki: pstolowski: I did some first pass review on some of your PRs08:32
pedronismborzecki: pstolowski: also I have a long chain of refactory PRs (related to remodeling and rereg) that need review08:32
pstolowskipedronis: yep, thank you, i'm working on the ensure timings stuff08:32
mborzeckipedronis: thx08:33
mborzeckipedronis: 6821 is the first one in your batch?08:33
pedronismborzecki: no it actually starts with 681008:33
* pedronis has 6 open PRs and more coming08:34
pedronismvo should review those, but they will need 2nd reviews08:34
=== Girt|Vacation is now known as Girtablulu
mupPR snapd#6824 closed: release: 2.39 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6824>09:15
zygamborzecki: yes09:22
zygamborzecki: the PKGBUILD change was insufficient?09:23
mborzeckizyga: pacman only issues a warning that the local permission bits are different09:23
* dot-tobias says hi09:41
mborzeckimvo: left some comments under 6825, played with this locally and i think handling this from Go will be super tricky09:41
zygamvo: offtopic-ish: I'd love to see snap run ltrace09:43
zygaperhaps doing per-tool hacks could be changed to a some sort of special hook (which could be a shell script) that allows us to add tools at ease?09:44
mvomborzecki: thanks, in a meeting right now - does that mean the approach is doomed?09:54
mborzeckimvo: i don't think it's doomed, we just need to figure out a way how to make gdb, inferion and snap run not fight for the terminal09:56
* mvo nods09:59
zygamborzecki, mvo: https://forum.snapcraft.io/t/gpu-support-proposal/1124710:51
zygaBrb10:53
* pstolowski lunch10:56
mborzeckipedronis_: answered some of your questions under https://github.com/snapcore/snapd/pull/6750 maybe we could have chat with mvo after the standup10:57
mupPR #6750: overlord/devicestate: update-gadget task handler with stubbed gadget callbacks <Gadget update> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6750>10:57
mupPR snapd#6830 opened: interfaces/dbus: fix unit tests when default snap mount dir is not /snap <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6830>11:12
mborzeckisuper simple PR ^^11:13
mupPR snapd#6765 closed: tests: add security-seccomp to verify seccomp with arg filtering <Created by jdstrand> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/6765>11:20
pedronismborzecki: yes, we should have a chat with mvo11:30
pedronismborzecki: this was fun btw:  https://github.com/snapcore/snapd/pull/6828/commits/88b5794137a15266c7751ef865272402b26a8dd8 :)11:31
mupPR #6828: many: use a fake assertion model in the device contexts for tests <Created by pedronis> <https://github.com/snapcore/snapd/pull/6828>11:31
mborzeckipedronis: nice11:34
mborzeckipedronis: mvo: after standup then?11:42
pedronismborzecki: could work if it's not too long, we have a meeting after11:43
mborzeckipedronis: ok, otherwise tomorror morning maybe?11:43
pedronisyes11:43
mborzeckiack11:45
mborzeckioff to pick up the kids12:02
jdstrand_mborzecki: thanks for keeping an eye on that PR12:04
=== jdstrand_ is now known as jdstrand
=== ricab is now known as ricab|lunch
mupPR snapd#6830 closed: interfaces/dbus: fix unit tests when default snap mount dir is not /snap <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6830>12:51
pedronispstolowski: thanks for looking at my PRs12:52
pstolowskinp12:57
zygadrat, the forum does not support SVG images13:52
roadmr:(13:59
mborzeckizyga: github does (kind of), maybe if you link to it?14:07
zygaI will link to a repo with the .dot files, for now the image is enough14:07
zygamborzecki: fyi https://forum.snapcraft.io/t/hello-world-cuda-analysis/1125014:07
zygamborzecki: isn't that image nice? :)14:08
mborzeckizyga: that's from strace logs?14:08
zygamborzecki: yep14:08
zygamborzecki: + some tooling14:08
zygamborzecki: + love :)14:09
mborzeckizyga: nice!14:09
zygamborzecki: I have much more, just finally nailed how I want the FS access to look like14:09
=== ricab|lunch is now known as ricab
* zyga updated https://forum.snapcraft.io/t/hello-world-cuda-analysis/11250 and goes for lunch14:50
zygahey ijohnson15:05
ijohnsonhey zyga15:05
zygaijohnson: I've added https://forum.snapcraft.io/t/hello-world-cuda-analysis/11250 and I will soon make a post like that about openGL (which will be much much longer as there is far more data and complexity there)15:06
ijohnsonzyga: nice, I saw your post there! BTW, not sure if you're aware but I also created a snap with cuda samples from the SDK that bundles libcuda inside the snap, not sure if that would be useful to you or not15:07
zygaijohnson: I think I saw that a while ago, the snap itself is interesting but I followed a simple cuda tutorial on the nvidia website, I mainly itererated on the tooling and analysis of what is going on at runtime so that I can form some kind of vision about how to support GPUs in snapd better15:08
zygaijohnson: I have 4 GPUs on my desk and I've been experimenting with various drivers for a few days15:09
ijohnsonzyga: I may be mistaken, but using CUDA with multi-GPU setups may use different accesses (not libraries but like /dev) - if you're able it might be worth trying to setup your machine with multiple nvidia GPUs that are compatible (I think as long as your GPUs aren't more than 5 years old they should work) with multi-GPU CUDA and then you can try to run the multi-GPU samples from my snap15:11
zygaijohnson: there are more /dev/nvidia{1,2,3} entries for sure, I only have one quadro card but your remark is spot on. I will look for a few more cards to buy before Lyon15:12
ijohnsonI have a discrete GPU in my desktop and another discrete in my laptop but unfortunately haven't been able to get ahold of 2 discrete cards I can plug into my desktop15:13
zygaijohnson: the magic of olx.pl (like craigslist, I guess) and my mobo-on-desk setup  :)15:13
ijohnsonnice :)15:16
* cachio lunch15:33
=== msalvatore_ is now known as msalvatore
albertosottileHi guys, what are usually the times needed for a classic confinement approval request?15:41
=== pstolowski is now known as pstolowski|afk
zygaI'll EOD now16:36
zygaalbertosottile: hey, it  usually takes a few days, sometimes longer when holidays or a longer backlog intervene16:36
albertosottilezyga: thanks, we have been waiting for 5 days but there was a weekend in between, so it might be that16:37
mupPR snapcraft#2555 opened: extensions: block direct use of private extensions <Created by cmatsuoka> <https://github.com/snapcore/snapcraft/pull/2555>16:44
zygajdstrand: FYI https://forum.snapcraft.io/t/hello-world-cuda-analysis/1125016:46
jdstrandzyga: nice writeup17:27
AlexPortableCan someone help me creating a snap for a wine application?17:57
AlexPortableI used this https://github.com/mmtrt/notepad3 as a basis, but i'm stuck at the copying of the file, it says can't find the file (in the original script it uses wget)17:58
AlexPortableshould I start over from scratch?17:58
mupPR snapd#6810 closed: many: do without device state/assertions accessors based on state only outside of devicestate/tests <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/6810>18:00
pedronisI rebased on #6817 on master, it's ready for reviews (it's not too big)18:04
mupPR #6817: overlord,overlord/devicestate: do without GadgetInfo/KernelInfo in devicestate <Created by pedronis> <https://github.com/snapcore/snapd/pull/6817>18:04
mupPR pc-amd64-gadget#10 closed: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>18:57
mupPR pc-amd64-gadget#11 closed: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>18:57
mupPR pc-amd64-gadget#10 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/10>18:58
mupPR pc-amd64-gadget#11 opened: Add mmx64.efi (MokManager) to support mokutil <Created by tsunghanliu> <https://github.com/snapcore/pc-amd64-gadget/pull/11>18:58
=== joedborg_ is now known as joedborg
=== jamespage_ is now known as jamespage
=== stoopkid_ is now known as stoopkid
mupPR snapd#6831 opened: tests: retry govendor sync to minimize the number of connection errors on prepare <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6831>21:37
mupPR snapcraft#2556 opened: cli: snapcraft promote <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2556>22:45
mupPR snapcraft#2557 opened: ci: remove dependency on LXD from travis tests <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2557>23:00
=== msalvatore_ is now known as msalvatore

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