/srv/irclogs.ubuntu.com/2019/03/18/#snappy.txt

zygaGood morning05:52
mborzeckimorning06:05
mupPR snapd#6611 closed: interfaces/builtin: add add exec "/" to docker-support (for 2.38) <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6611>06:58
zygaHey mborzecki07:08
mborzeckizyga:  hey07:08
zygahttps://github.com/systemd/systemd/issues/1201807:09
mvohey zyga and mborzecki07:10
zygaHey mvo :-)07:10
mborzeckizyga: interesting bug report07:11
zygaSystemd ran into the same parsing issue07:15
zygaIn that bug report it would really clobber a tmp-foo.mount unit07:16
zygaback in the office07:34
* zyga focuses on https://github.com/snapcore/snapd/pull/657507:35
mupPR #6575: cmd/snap-confine: pass sc_invocation instead of numerous args around <Created by zyga> <https://github.com/snapcore/snapd/pull/6575>07:35
mborzeckimvo: when you have a break from backporting systemd patches, could you take a look at https://github.com/snapcore/snapd/pull/6609 ?07:35
mupPR #6609: snap/gadget: introduce volume update info <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6609>07:35
zygamborzecki: did you see my question about case sensitivity?07:38
mborzeckizyga: yeah, we could probably warn when there's a volume which is case insensitive and more than one 'version' of file is listed in the path07:40
zygamborzecki: I think we should not warn, we should use case-insensitive matching07:47
zygado the right thing07:47
zygamborzecki: and it should be invalid to specifcy case-clashing entries07:48
=== pstolowski|afk is now known as pstolowski
pstolowskimorning08:05
mvohey pstolowski - good morning08:08
mborzeckipstolowski: hey08:28
Chipacakjackal, zyga: I stopped using OVH over this "we'll call it ubuntu but use a random kernel we found down a ginnel" nonsense09:14
mborzeckidamn, that error with removing of snap data directory is annoying09:15
Chipacamborzecki: and i can't reproduce it on its own :-(09:17
mborzeckiChipaca: since it's so well randomly reproducible, i'm actually thinging about adding a list of files in snap data dir in the error message09:17
Chipacamborzecki: sgtm09:18
Chipacamborzecki: find -ls in a debug section?09:18
mborzeckihm or that09:18
mborzeckilet me open a PR09:19
mupPR snapd#6615 opened: spread: some debug info to catch /var/snap/.. not being empty <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6615>09:22
mborzeckiChipaca: it's not really reproducing locally either, 40+ loop iterations of install/remove of 2 snaps and still nothing09:26
Chipacamborzecki: what turns on SPREAD_DEBUG_EACH?09:27
mborzecki-debug-each ?09:27
Chipacaah, found it09:27
Chipaca    SPREAD_DEBUG_EACH: "$(HOST: echo ${SPREAD_DEBUG_EACH:-1})"09:28
Chipacayou can't turn it on, but you can turn it off :-)09:28
mborzeckiheh09:29
zygaChipaca: you can turn it off09:53
zygaI use it all the time09:53
zygaSPREAD_DEBUG_EACH=009:53
zygahello sir :)09:54
Chipacazyga: that's what i said innit?09:54
zygaah09:54
zygaI read that backwards, sorry09:54
zygait's good I got my coffe :)09:55
zygaChipaca: can you please look at the commit message in https://github.com/snapcore/snapd/pull/661409:56
mupPR #6614: cmd/snap-confine: use fixed private tmp directory <Created by zyga> <https://github.com/snapcore/snapd/pull/6614>09:56
zygaChipaca: if this lands, I'd like to start removing per-snap /tmp data09:56
zygaChipaca: when we remove a snap09:56
zygaChipaca: just FYI09:56
Chipacazyga: i reviewed the whole thing, friday09:57
Chipacaspent some time remembering the semantics of mkdir and mkdirat to make sure it was ok wrt symlink attack09:58
Chipacazyga: but i then got distracted and didn't +1 or anything09:58
Chipacazyga: but09:59
Chipacazyga: what happens if somebody mkdir's the expected directory, and then mkdir's tmp inside it to not be 01777?10:00
zygaChipaca: we fix it on startup10:00
=== cpaelzer__ is now known as cpaelzer
Chipacaah, there10:01
* Chipaca found it10:01
zygaChipaca: we don't fix it if you break it after taht10:03
zyga*that10:03
zygabut that was  true before10:03
zygaand it wasn't hidden, just obfuscated10:03
zygaif you are root you can break it10:03
zygabut this is also true now10:03
Chipacazyga: right, root can do w/e10:03
Chipacazyga: but i didn't want a random user to mkdir and then have fun deleting other user's stuff10:04
Chipacabut that's fine10:04
zygayeah, that's prevented now10:04
zygaI have one more aspect of that to fix but this is an unrelated bug related to /tmp10:04
mborzeckiChipaca: https://api.travis-ci.org/v3/job/507758121/log.txt10:05
Chipacawait what10:06
* zyga looks at the same one10:06
Chipacathat is very much unexpected10:06
ChipacaI expected a random directory10:06
Chipacanot the current symlink!10:07
Chipacawtf10:07
mborzeckiyup10:07
Chipaca- Remove security profile for snap "test-snapd-tools_instance" (6) (cannot find installed snap "test-snapd-tools_instance" at revision 6: missing file /snap/test-snapd-tools_instance/6/meta/snap.yaml)10:07
Chipacamborzecki: ^ some fuckery going on10:07
zygaChipaca: I love our test suite10:08
zygaperfect job security10:08
Chipacawaaaaait10:10
Chipacamborzecki: quick check with you10:10
Chipaca- Remove data for snap "test-snapd-tools_instance" (5) (failed to remove snap "test-snapd-tools" base directory: remove /var/snap/test-snapd-tools: directory not empty)10:10
Chipacamborzecki: why is test-snapd-tools_instance removal removing /var/snap/test-snapd-tools ?10:10
zygaChipaca: ooh10:13
zygafeels like incorrect use of snap name vs instance name?10:13
Chipacazyga: or incorrect determination of hasOtherInstances10:14
mborzeckiChipaca: seen it happen without any extra _instance entries too10:14
Chipacamborzecki: what does hasOtherInstances() return if you have two instances installed, and remove them both in the same change?10:22
* Chipaca ponders10:22
* zyga is in a ethernet cable bonanza10:35
zygaI can finally fix my messy office wiring10:35
Chipacazyga: is this the part of bonanza where everything is on fire and you ride away into the sunset?10:37
zygaChipaca: that is after I plug them :)10:38
ogragiven the time it is probably rather the part where the cook comes out and calls for lunch10:38
mborzeckiChipaca: so you're sayng a scenario where both snaps are removed, and at the time hasOtherInstances is run, it returns true for both, but then the directory is left behind?11:02
* zyga small break to install new network cables11:03
mborzeckicables? :P11:03
zygamborzecki: wifi runs on cables :)"11:03
zygayou don't want to see how it looks like now11:03
zyga1/3 there,11:14
zyganow the longest one11:14
zygamborzecki: I'm mainly using ethernet because NAS over wifi is not as fast11:15
zygamborzecki: my NAS would be noticeably faster if I got the 10Gbit network update now11:15
zygamborzecki: wifi here is also very crowded and noisy11:15
zygapstolowski: https://www.apple.com/us/shop/ <- roll your 8ball what the updates are11:23
pstolowskizyga: interesting11:23
zygapstolowski: that's apple talk for "new products today"11:24
pstolowskiuhm11:25
mvopedronis: any concerns if I chery-pick 6598 into 2.38? I think we talked about it and it was fine but I may misremember (the "set a header when auto-refreshing" change from john11:36
pedronismvo: it's fine11:36
Chipacamborzecki: or conversely, where it returns false to both11:37
Son_Gokumborzecki, can we get all the selinux stuff to land for 2.38?11:38
mborzeckiSon_Goku: 2.3911:38
Son_Gokuarrrgh11:38
Son_Gokuyou're killing me here :P11:38
mborzeckiSon_Goku: sorry :)11:38
Son_GokuI was hoping to get this in with F30 devel so that the majority of people would be doing reboot upgrades no matter what11:39
zygamvo: possible spam edit on https://bugs.launchpad.net/arduino-debug/+bug/179169111:51
mupBug #1791691: PATH broken in systemd units <Arduino Debugging Tool:Fix Released> <snapd (Ubuntu):Fix Released> <snapd (Ubuntu Bionic):In Progress> <snapd (Ubuntu Cosmic):Fix Released> <https://launchpad.net/bugs/1791691>11:51
* Chipaca disappears in a cloud of lunch11:58
MattJYum11:59
mupPR # closed: snapd#5644, snapd#5822, snapd#5915, snapd#6108, snapd#6177, snapd#6238, snapd#6258, snapd#6325, snapd#6327, snapd#6329, snapd#6341, snapd#6347, snapd#6360, snapd#6367, snapd#6404, snapd#6410, snapd#6418, snapd#6436, snapd#6485, snapd#6491, snapd#6502, snapd#6541, snapd#6559,12:02
mupsnapd#6564, snapd#6575, snapd#6577, snapd#6583, snapd#6588, snapd#6591, snapd#6594, snapd#6595, snapd#6597, snapd#6599, snapd#6602, snapd#6603, snapd#6604, snapd#6605, snapd#6606, snapd#6607, snapd#6608, snapd#6609, snapd#6610, snapd#6612, snapd#6613, snapd#6614, snapd#661512:02
mupPR # opened: snapd#5644, snapd#5822, snapd#5915, snapd#6108, snapd#6177, snapd#6238, snapd#6258, snapd#6325, snapd#6327, snapd#6329, snapd#6341, snapd#6347, snapd#6360, snapd#6367, snapd#6404, snapd#6410, snapd#6418, snapd#6436, snapd#6485, snapd#6491, snapd#6502, snapd#6541, snapd#6559,12:03
mupsnapd#6564, snapd#6575, snapd#6577, snapd#6583, snapd#6588, snapd#6591, snapd#6594, snapd#6595, snapd#6597, snapd#6599, snapd#6602, snapd#6603, snapd#6604, snapd#6605, snapd#6606, snapd#6607, snapd#6608, snapd#6609, snapd#6610, snapd#6612, snapd#6613, snapd#6614, snapd#661512:03
* zyga breaks12:03
pstolowskiwow @mup12:03
mborzeckifinishing up with an update to the yocto layer12:10
mborzeckihm things were a bit behind12:11
zygamborzecki: "a bit"12:12
zygamborzecki: any chance you can use snapd.mK/12:12
mborzeckizyga: maybe, although the main problem was handling of go in poky, which is fine to 'just' go packages, but little funky when there's go and something else12:14
zygammm12:14
zygare12:26
mborzeckiChipaca: restarted the travis job in #6615, want to get another sample13:01
mupPR #6615: spread: some debug info to catch /var/snap/.. not being empty <⛔ Blocked> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6615>13:01
mborzeckioff to pick up the kids13:02
=== ricab is now known as ricab|lunch
zygabrb, daughter is hungry13:48
mvomborzecki, Chipaca we might be a bit late, meeting overrunning14:01
zygajdstrand: some low hanging fruit: https://github.com/snapcore/snapd/pull/660714:39
mupPR #6607: cmd: typedef mountinfo structures <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/6607>14:39
jdstrandzyga: yes it is on my list14:39
zygathanks!14:39
zygait's boring, there are some more interesting ones in the pipe :)14:39
=== epod is now known as luk3yx
=== ricab|lunch is now known as ricab
mupPR snapd#6616 opened: [RFC] boot: add flag file "force-kernel-extraction" <Created by mvo5> <https://github.com/snapcore/snapd/pull/6616>15:55
pedronispstolowski: I did a pass over the timings PR15:57
pstolowskipedronis: k, thanks16:10
pstolowskimvo, pedronis, Chipaca I think my fix for error handling of non-nummeric snapshot IDs in snap snapshots commands broke 'snap saved' (2.37.4 is ok) :(16:21
mvopstolowski: ok, so we need this for 2.38?16:22
pstolowskimvo: when was 2.38 branched away?16:23
pstolowskimy change landed the week after the sprint. let me check16:24
mvopstolowski: ok16:25
mvopstolowski: about 2 weeks ago it was branched16:25
pstolowskimvo: ok, confirmed, 2.38 requires a fix16:26
mvopstolowski: ta16:28
mvopstolowski: I will wait for 2.38-final then16:28
mvopstolowski: until that is available16:28
Saviqcachio: hey, could you redo the rawhide image? it's cut to version 30 now so GPG is failing https://travis-ci.org/MirServer/mir/jobs/507765669#L152916:33
cachioSaviq, hi, sure16:33
Saviqthanks :)16:33
cachioI'll ping you when it is ready16:33
Saviqalan_g: FYI ↑16:33
cachioSaviq, np16:33
mupPR snapd#6617 opened: cmd/snap: fix regression of snap saved command <⚠ Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6617>17:13
pstolowskimvo: ^ this fix for master17:13
=== pstolowski is now known as pstolowski|afk
cachioniemeyer, hey, https://github.com/snapcore/spread/pull/75 readu17:20
mupPR spread#75: Make spread tests for spread project run on google backend <Created by sergiocazzolato> <https://github.com/snapcore/spread/pull/75>17:20
cachioready17:20
mupPR snapcraft#2504 opened: cli: validate plugin schema before provider <Created by cmatsuoka> <https://github.com/snapcore/snapcraft/pull/2504>17:31
mupPR snapcraft#2503 closed: cli: disable raven if not running from package <Created by cmatsuoka> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2503>17:40
zygare17:43
cachioSaviq, the image is ready18:12
cachio Saviq please tell me if it works for you18:12
* cachio afk19:47
mupPR snapcraft#2505 opened: Test store <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2505>23:53

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