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

mupIssue core18#128 opened: Having issues installing core18 <Created by D3faIt> <https://github.com/snapcore/core18/issue/128>02:26
mupIssue core18#128 closed: Having issues installing core18 <Created by D3faIt> <Closed by D3faIt> <https://github.com/snapcore/core18/issue/128>03:03
zygaHello05:23
mborzeckimorning05:23
zygahey mborzecki05:50
* zyga tries to wrap up propagation bug05:50
mborzeckizyga: hey05:50
zygatests now pass, I'm still adding some more checks though05:50
zygaand I have a lot of unit tests to adjust for extra calls05:51
mborzeckizyga: i poked a bit around /etc/nsswitch.conf on fedora, vanilla 29 image starts with a symlink, but after dnf upgrade /etc/nsswitch.conf becomes a file, probably some scriptlet broke it05:53
zygamborzecki: ah, I wonder if it's a design or bug05:53
zygamborzecki: perhaps worth reporting a bug to ask the question05:54
mborzeckizyga: looks like a bug/issue about authselect which is not installed in cloud images, so never gets to run and update nsswitch.conf to be a symlink05:59
mborzeckizyga: found this: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G564T2VXADHS557BOT5L5K42SSF4QSIE/ and https://bugzilla.redhat.com/show_bug.cgi?id=1622272#c806:00
mborzeckilooks like some monkey business to me06:00
zygayeah06:00
mborzeckihttps://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PNKKVG3K6WAU42CCPVIEV6LZY7PWUG4P/06:02
mborzeckimeh, installed authselect, ran authselect select --force sssd and it errors out :/06:04
mborzeckinvm, looks like this is fixed in f30, f29 will eol in a couple of months anyway06:05
zygayeah, at least that's good06:15
zygathanks for chasing this06:15
* zyga writes docs for test tool helper06:15
mborzeckione more tweak for selinux policy for f3006:27
mborzeckiguess i'll never stop finding search on dir class confusing :/06:27
zygamborzecki: you should do talks on selinux06:33
mborzeckizyga: i'm far from competent in this06:33
zygabreakfast06:53
=== pstolowski|afk is now known as pstolowski
pstolowskimornings06:59
zygahey pawel07:01
mupPR snapd#6881 opened: data/selinux: allow snap-confine to do search on snappy_var_t directories <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6881>07:01
mborzeckipstolowski: hey07:02
zygamborzecki: last bit in this tool is renumbering for deterministic test07:11
zygamborzecki: some heavy lifting from that old tool07:11
zygaok, I think the tool is ready now08:00
zygamborzecki: mountinfo-tool https://www.irccloud.com/pastebin/N5yQNZPX/08:09
mupPR snapd#6803 closed: daemon, o/snapstate, store: support for installing from cohorts <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/6803>08:11
mupPR snapd#6703 closed: tests: add deferred actions <⛔ Blocked> <Created by zyga> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/6703>08:12
Chipacabongiorno, principesse e principi!08:12
* Chipaca wonders if italian has "inclusive language" for plurals08:13
mvohey Chipaca08:16
Chipacamvo: 'sup08:16
pedronismborzecki: #6874 was merged but at least jdstrand should have looked at it08:18
mupPR #6874: cmd/snap-confine: do not mount over non files/directories <Created by bboozzoo> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6874>08:18
pedronismvo: ^08:19
mborzeckipedronis: looks like cachio merged it yesterday, i'll ping jdstrand to have a look still08:19
mvopedronis: good morning! I was looking over the spike trello cards this morning08:19
mvopedronis: yeah, we need to ask jamie to double check it08:19
mvopedronis: and tried to flesh things out a little bit08:19
pedronismvo: maybe we need to tell cachio not to merge snap-confine/snap-update-ns stuff08:20
mvopedronis: while doing so I was stumbling on snap-verify and poked around a bit, it seems like we need something like assertstate.Batch just without the ties to the state, does that sound right? or do you have something else in mind for that?08:20
mvopedronis: yeah, I think that is a good idea08:20
mborzeckimy bad, should have added a blocked label or sth08:21
pedronisit's a judgement call, just don't think he is worth having everybody be able to do that08:21
pedronismvo: yes, Batch could be useful, it depends what the api is though08:23
mvopedronis: yeah, it requires refactor because assertstate only exposes a RODatabase so we have to have a custom save function at least. anyway, I can poke around a bit but if you have a firm plan already I can also leave it alone, it seems nice and tracktable though :)08:25
pedronismvo: please leave it alone,  I don't think is a good use of your time, and a script that does exit 0 should unblock you08:25
mvopedronis: heh, I can do that08:26
pedronismvo: yes, Batch is in assertstate, I don't think we need that, a Fetcher is enough08:26
pedronisbut anyway08:27
mvook08:27
pedronismvo: I think we need to understand what we should verify, before writing the tool08:28
pedroniswith relates more to the rest of the initramfs08:28
pedroniss/with/which/08:28
* mvo nods08:29
pedronismvo: my biggest worry is that we will need to verify the kernel also on the run path08:31
pedronisI mean worry related to the tool08:31
mvopedronis: verify the running kernel?08:32
pedronismaybe08:32
pedronismaybe not, we need to think08:32
mvopedronis: hm, interessting. you need to tell me more when we have high bandwidth time in a HO08:33
* zyga -> quick coffee08:50
mupPR snapd#6882 opened: cmd: add snap-verify stub binary (UC20) <Created by mvo5> <https://github.com/snapcore/snapd/pull/6882>08:54
Chipacapedronis: where is this meeting?09:01
pedronisChipaca: added a HO now09:01
Chipacapedronis: https://forum.snapcraft.io/t/downloading-snaps-via-snapd/1144909:35
Chipacapedronis: maybe point igor at that (dunno his nick)09:35
zygamvo: reviewed 688209:50
mvota09:51
zygaok, *really* time for that coffee10:14
mborzeckipstolowski: can you take a quick look at https://github.com/snapcore/snapd/pull/6881 ?10:45
mupPR #6881: data/selinux: allow snap-confine to do search on snappy_var_t directories <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6881>10:45
mupPR snapd#6881 closed: data/selinux: allow snap-confine to do search on snappy_var_t directories <Created by bboozzoo> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6881>11:00
mborzeckipstolowski: thanks!11:01
pstolowskinp11:01
cachiopstolowski, hey, #6859 is ready I think11:15
mupPR #6859: tests: new hotplug test executed on ubuntu core  <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6859>11:15
cachiopstolowski, hold on, I just read the comments you did11:16
pstolowskicachio: great! does it pass on both cores?11:16
* zyga runs spread for propagation test!11:16
zyga(so so so close now)11:16
cachiopstolowski, yes11:16
pstolowskicachio: awesome! thank you11:17
cachiopstolowski, for a following PR I'll reuse the tests parts11:17
cachiopstolowski, but I would keep it working first so then I can work on sharing test code11:17
pstolowskicachio: yes, sounds good, let's land it and do a followup11:17
cachiobetween tets11:17
cachiopstolowski, nice11:18
pstolowskicachio: i'll take a look today11:18
ackkhi, is there any way to have snapcraft pull in a deb from a specific URL as stage-packages ?11:26
ackk(or have it pulled from a repo)11:28
Chipacapedronis: my changes to the 'snap info' will probably conflict with the pr that depends on it (that i'd made to depend to avoid conflicts.... augh) but i think it's a lot nicer now11:29
sergiusensmorning, question about 2.39, when is it out?11:43
pedronissergiusens: should go out today , cc mvo11:53
mvopedronis, sergiusens correct12:02
* zyga afk for errand 12:04
pedronisChipaca: #6816 needs master merged, and has some conflicts right now12:08
mupPR #6816: daemon, overlord: support for cohort-key in refresh and switch <Created by chipaca> <https://github.com/snapcore/snapd/pull/6816>12:08
Chipacapedronis: will do12:16
* Chipaca finishing lunch12:16
pedronisthx12:16
zygare12:38
pedronisnot sure, don't know what they scheduled over the standup12:41
=== ricab is now known as ricab|lunch
zygamborzecki: snapd tests now pass :-)12:51
zygamborzecki: also in spread12:51
zygaI will run them on more systems and start to trim crap out of that branch for proposal12:51
mupIssue core18#129 opened: Multiarch isn't working <Created by xordspar0> <https://github.com/snapcore/core18/issue/129>12:57
pedronisChipaca: did a pass over #656412:59
mupPR #6564: cmd/snap, tests: refactor info to unify handling of 'direct' snaps <Created by chipaca> <https://github.com/snapcore/snapd/pull/6564>12:59
Chipacapedronis: thx13:00
zygais the standup over?13:31
mborzeckizyga: yes13:31
zygaok13:31
mupIssue # closed: core18#56, core18#86, core18#89, core18#117, core18#12913:35
mupPR # closed: core18#43, core18#72, core18#90, core18#98, core18#122, core18#126, core18#12713:35
mupIssue # opened: core18#56, core18#86, core18#89, core18#117, core18#12913:36
mupPR # opened: core18#43, core18#72, core18#90, core18#98, core18#122, core18#126, core18#12713:36
mupPR snapd#6867 closed: gadget: offset-write: fix validation, calculate absolute position <Gadget update> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6867>13:37
* zyga lunch break13:38
zygastarving!13:38
zygamborzecki: lol, the branch has fixed one known test that just shows how layouts are broken in one case :)13:39
cachiomborzecki, m13:45
cachiohttps://travis-ci.org/snapcore/snapd/jobs/53524090113:45
cachiothanks for the help on that one13:45
mborzeckicachio: yay!13:46
mborzeckicachio: land it while it's green :)13:46
cachiomborzecki, done14:02
mupPR snapd#6860 closed: tests: running tests on fedora 30 <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6860>14:02
=== harrisj_ is now known as harrisj
=== ^arcade_droid is now known as zarcade_droid
=== ricab_ is now known as ricab
mvokenvandine: I updated bug 1825883 - its in 2.3914:36
mupBug #1825883: stale copy of plug and slot attributes is kept in connection state <snapd:In Progress by zyga> <https://launchpad.net/bugs/1825883>14:36
kenvandinemvo: great, thanks!14:37
pedronisChipaca: oops, I was almost forgetting, this is my PR that changes the signatures of the users methods: https://github.com/snapcore/snapd/pull/683414:49
mupPR #6834: daemon: pass the model to the create known user helpers (instead of full Overlord) <Remodel :train:> <Created by pedronis> <https://github.com/snapcore/snapd/pull/6834>14:49
pedronisChipaca: as I said maybe it's easier if you just incorporate that change in the refactor14:49
pedronisyour are doing14:49
Chipacalooks like it :-|14:50
Chipacaneed to wrap up the info one :)14:50
mupPR snapcraft#2568 opened: docs: consolidate on a simple HACKING.md <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2568>14:51
pedronisChipaca: no hurry, it's orthogonal to my other open PRs, I'm not blocked on it (I think)14:52
zygasnap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks14:54
zygahmmm14:54
=== alan_g is now known as alan_g_
zygamvo: found a small bug in core1814:59
zygamvo: there's no profile for /usr/lib/snapd/snap-confine14:59
zygalook at this plese14:59
zyga*please14:59
zygahttps://www.irccloud.com/pastebin/MnHLkuvk/14:59
zygaI think we don't notice because spread tests run as root15:00
mvozyga: ok, after the meeting (we have now)15:00
zygaoh15:00
zygajoining15:00
pedronisthat should be written by snapd, no?15:01
pedronisit shouldn't be in the core18 itself15:01
=== jdstrand_ is now known as jdstrand
mupPR snapd#6859 closed: tests: new hotplug test executed on ubuntu core  <Created by sergiocazzolato> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6859>15:20
* cachio lunch15:22
pstolowskicachio: i've merged your nested tests PR15:24
mupPR # closed: snapd#5644, snapd#5822, snapd#5915, snapd#6108, snapd#6258, snapd#6325, snapd#6327, snapd#6341, snapd#6347, snapd#6360, snapd#6367, snapd#6404, snapd#6436, snapd#6541, snapd#6564, snapd#6588, snapd#6648, snapd#6666, snapd#6680, snapd#6681, snapd#6691, snapd#6695, snapd#6697,15:25
mupsnapd#6705, snapd#6708, snapd#6714, snapd#6721, snapd#6734, snapd#6750, snapd#6759, snapd#6760, snapd#6767, snapd#6804, snapd#6805, snapd#6816, snapd#6825, snapd#6834, snapd#6835,15:25
mupsnapd#6836, snapd#6838, snapd#6839, snapd#6841, snapd#6848, snapd#6855, snapd#6870, snapd#6871, snapd#6875, snapd#6876, snapd#6878, snapd#6879, snapd#6880, snapd#688215:25
mupPR # opened: snapd#5644, snapd#5822, snapd#5915, snapd#6108, snapd#6258, snapd#6325, snapd#6327, snapd#6341, snapd#6347, snapd#6360, snapd#6367, snapd#6404, snapd#6436, snapd#6541, snapd#6564, snapd#6588, snapd#6648, snapd#6666, snapd#6680, snapd#6681, snapd#6691, snapd#6695, snapd#6697,15:26
mupsnapd#6705, snapd#6708, snapd#6714, snapd#6721, snapd#6734, snapd#6750, snapd#6759, snapd#6760, snapd#6767, snapd#6804, snapd#6805, snapd#6816, snapd#6825, snapd#6834, snapd#6835,15:26
mupsnapd#6836, snapd#6838, snapd#6839, snapd#6841, snapd#6848, snapd#6855, snapd#6870, snapd#6871, snapd#6875, snapd#6876, snapd#6878, snapd#6879, snapd#6880, snapd#688215:26
=== cjwatson_ is now known as cjwatson
pstolowskipedronis_: your suggestion re RemoveFlags & flags.go on https://github.com/snapcore/snapd/pull/6870 was to simply move RemoveFlags there (or to extend Flags and not introduce RemoveFlags)?15:33
mupPR #6870: cmd/snap, api, snapstate: implement "snap remove --purge" <Created by stolowski> <https://github.com/snapcore/snapd/pull/6870>15:33
pstolowskidegville: hey, any thoughts on https://github.com/snapcore/snapd/pull/6870#discussion_r285659028 ?15:36
mupPR #6870: cmd/snap, api, snapstate: implement "snap remove --purge" <Created by stolowski> <https://github.com/snapcore/snapd/pull/6870>15:36
pedronispstolowski: to move it there, but as I said I would like Chipaca's input on some of my remarks15:38
pstolowskiack15:43
pedronisChipaca: I asked your 2nd opinion on a couple of things in #6870 from pstolowski15:54
mupPR #6870: cmd/snap, api, snapstate: implement "snap remove --purge" <Created by stolowski> <https://github.com/snapcore/snapd/pull/6870>15:54
* Chipaca looks15:54
degvillepstolowski: looking...15:55
pedronisChipaca: made a small comment about the building of infoWriter discussion in 656415:58
Chipacahah, degville just snuck in as i was writing it :-D16:02
Chipacadegville: wdyt of the 'save' comment (now sitting below yours)?16:02
degvilleChipaca: It's a really good point. I think you're right.16:03
degville(about saving. I like the idea of using consistent verbs too).16:04
pstolowskiChipaca, degville thanks for comments; Chipaca, are you suggesting to simply reuse Flags (rather than just move RemoveFlags?)16:04
Chipacapstolowski: yes16:06
pstolowskik16:07
Chipacapstolowski: dunno if pedronis agrees tho :-)16:07
pedronisChipaca: pstolowski: I don't16:08
pedroniswhat other flags do they share?16:08
pedronisif it needed to go into SnapSetup there would be a point, but that's not the case afaiu16:10
pstolowskinone. Flags seems to install related16:10
Chipacainstlal/refresh/etc16:10
ChipacaI don't mind if it's separate :)16:11
Chipaca(there is ForSnapSetup that zeros out unwanted flags for snap setup fwiw)16:11
pedronisI know16:11
pedronisthough is often forgotten16:11
Chipacayes :-|16:11
pedronispstolowski: my feeling right now is to keep it but move close to the function16:11
pedronisright now is miles away16:11
pedronisafair16:12
pstolowskipedronis: done16:13
pedronispstolowski: thx16:15
=== ErichEickmeyer is now known as Eickmeyer
Chipacahah, finding bugs by writing tests16:19
Chipacaa novel endeavour16:19
pedronisChipaca: where? :)16:19
Chipacapedronis: maybePrintStandaloneVersion16:19
Chipacawhen no version in the snap file16:19
Chipacawould produce bad yaml16:20
pedronisah16:20
Chipacanot an easy path to hit as a versionless snap is invalid16:20
Chipacabut, hey :)16:20
pedronis:)16:20
pedronisrobustness in depth16:20
pedronisor something16:20
mvopedronis, cmatsuoka, zyga I updated the gadget PR with most^Wsome^Wmost(?) things we discussed16:31
zygamvo: ack, thank you!16:31
=== pstolowski is now known as pstolowski|afk
Chipacapedronis: so many unit tests it's almost embarrassing17:15
* Chipaca EODs17:15
Chipacamvo: silly and low priority reminder about sprint approvals (just so they don't pile up on you :-p)17:16
* Chipaca again pretends to EOD17:16
mupIssue core18#129 closed: Multiarch isn't working <Created by xordspar0> <Closed by xordspar0> <https://github.com/snapcore/core18/issue/129>17:27
mupPR snapd#6883 opened: tests: fix how strings are matched on auto-refresh-retry test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6883>17:46
* zyga is back home :-)18:36
zygatomorrow morning will be busy :)18:39
mupPR snapd#6870 closed: cmd/snap, api, snapstate: implement "snap remove --purge" <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6870>19:11
* cachio afk21:11
mupPR snapcraft#2569 opened: lifecycle: warn about bases <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2569>21:46

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