/srv/irclogs.ubuntu.com/2019/08/27/#ubuntu-meeting.txt

=== slashd- is now known as slashd
=== mIk3_09 is now known as mIk3_08
cpaelzer_didrocks: hi I answered on zsys11:54
cpaelzer_lets discuss and get a group ack here later on by the Team that will hopefully be here11:55
cpaelzer_didrocks: what do you need from me on the Lintian issues?11:55
didrockscpaelzer_: hey, thanks! On Lintian, I really can't reproduce, (the end of the text should explain more) do you just run lintian on it?12:04
didrocksI gave an example even with --pendatic on eoan, and no copyright issue12:05
cpaelzer_hmm, I ran on Bionic didrocks12:05
cpaelzer_if you have a pedantic more or less happy then I'm fine12:05
didrockscpaelzer_: more than happy, I have 0 warnings :)12:06
cpaelzer_ok then12:07
didrockscpaelzer_: see "I'm not seeing those on an up to date eoan machine"  on https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1839271/comments/212:07
ubottuLaunchpad bug 1839271 in zsys (Ubuntu) "[MIR] zsys" [Undecided,New]12:07
didrockscpaelzer_: /!\ the comments are really long (longer than launchpad will show inline), you need to download it12:08
cpaelzer_lol12:08
cpaelzer_yeah that is why I only have read half of it I gues12:08
cpaelzer_s12:08
didrockssorry, you will have even more to read :) (and also tell me if the .service change is fine for you)12:08
cpaelzer_reading now12:09
cpaelzer_didrocks: ok what remains before our discussion here later on are two things then12:13
cpaelzer_a) the simple one - the lack of ducomentation12:14
cpaelzer_you said that it will not have user-visible features12:14
cpaelzer_I'm torn on this, can't you somehow easily convert the blogs into a md file or so that could ship as a documentation?12:14
cpaelzer_or a basic summar with rferences to the blog post series12:15
cpaelzer_that way the series can grow with more details as the project lives and evolves12:15
didrockscpaelzer_: what about linking them (or copying) in the upstream github wiki page?12:15
cpaelzer_didrocks: ^^ ?12:15
didrocks(actually, they are already markdown)12:15
didrocksthat way, it's easy to get them evolving over time12:15
cpaelzer_ack12:15
cpaelzer_not perfect, but there jsut isn't more we could add right now12:15
cpaelzer_considering you do this lets get to (b) my complains about the usability in a container12:16
didrocksyeah, I'm currently downloading a lxc (trying to find eoan image)12:16
didrocksand see what can be done12:16
didrocksI wonder though how useful this could be in a container12:16
cpaelzer_I'm not sure what in the postinst breaks12:17
didrocksbut that's your server side talking I think ;)12:17
cpaelzer_if it is just the service it is trivial12:17
didrocksI think it's starting the systemctl service12:17
didrocksif you don't have the zfs module loaded12:17
didrocksor if you have pre-0.812:17
cpaelzer_let me fetch some examples as suggestion12:17
didrocksthe generated postinst only has the systemd stuff12:18
didrockswhile the image is downloading, let me check if there is an arg to tell "don't fail if the service can't start"12:19
didrocksI implemented it in debian long ago, don't remember if this was merged or not12:19
didrocks(in dh_systemd)12:19
cpaelzer_didrocks: ConditionVirtualization=!continer12:19
cpaelzer_as I'd think it never would make sens in a container right?12:20
didrocksah, directly in the service, preventing it for starting, that makes sense12:20
didrocksbecause right now, I don't see a use of zsys in the container, indeed12:20
didrocksand it's too dependant on the host kernel module12:20
didrocksok, let's go that way, adding it12:20
didrocksthanks for the link :)12:20
cpaelzer_other commonly used options are ConditionCapability=12:20
didrockson debian/watch, I guess I'm going to remove it (see the ref on the lintian warning)12:21
cpaelzer_if you strictly depend on some caps to be able to work12:21
cpaelzer_e.g. ConditionCapability=CAP_SYS_TIME12:21
cpaelzer_ok for watch12:21
didrockslet me check man capabilities to see if one fits12:21
cpaelzer_if you want to go hardcore you can even limit it down to known syscallfilters12:23
cpaelzer_example12:23
cpaelzer_SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap12:23
cpaelzer_didrocks: ^^12:23
cpaelzer_not required, but while you are at it this is a great way to really limit exploitability12:23
didrockscpaelzer_: right, I would go wide at first, and restrict little by little, especially once we have the client/service logic12:23
didrocksthere, limiting the prividledged service as much as possible will help12:24
didrockspriviledged*12:24
cpaelzer_yep12:24
cpaelzer_since everything new is in the focus having it a bit more encapsulated can't hurt12:24
didrocksmaybe, let's go with !container at first, and once we are closer to 1.0 with the new model, the second security review, go that way12:24
didrocksyes12:24
cpaelzer_didrocks: I think we are fine waiting for you to bring it up with the group later then12:25
didrockssure!12:25
didrocksthanks again for the review cpaelzer_ :)12:25
cpaelzer_I only want to help, not being a pedantic roadblock12:26
cpaelzer_although sometimes for MIR reviews that is just what we have to be :-)12:26
didrocksheh, ofc12:27
didrockscpaelzer_: interesting, so the postinst doesn't fail in the container, you meant it did? the postinst has || true.12:48
didrocksyou have the following message though, as the service can't start:12:48
didrocksJob for zsys-commit.service failed because the control process exited with error code.12:48
didrocksSee "systemctl status zsys-commit.service" and "journalctl -xe" for details.12:48
didrocks(but RC is 0, and the dpkg transaction isn't broken)12:48
didrockshowever, in lxc, "ConditionVirtualization=!container" doesn't work, I'll try on dock12:49
didrocksdocker*12:49
didrockscpaelzer_: FYI, the condition works on docker (not started), so it's still a plus.12:53
cpaelzer_hmm12:56
cpaelzer_it should work on lxd12:56
cpaelzer_is is the same as systemd-detect-virt12:57
didrockssystemd-detect-virt12:58
didrockslxc12:58
didrocksso, not "container"12:58
didrockslet me launch it on docker12:58
cpaelzer_no there is a --container or so12:58
cpaelzer_which summarizes all the containers into one check12:58
didrocks--container (which seems to be what it is, indeed), returns "lxc" as well12:59
didrocksit does return "docker" anyway, even with --container in docker12:59
cpaelzer_didrocks: it returns true13:00
cpaelzer_that is the point13:00
cpaelzer_systemd-detect-virt --container13:00
cpaelzer_it returns the "type" e.g. lxc13:01
cpaelzer_print = type13:01
cpaelzer_RC = 1/0 depending on what it is13:01
didrocksah, so, it's only the exit code, let me check13:01
cpaelzer_yep13:01
cpaelzer_systemd-detect-virt --container is RC=0 in containers13:01
cpaelzer_and 1 everywhere else13:01
cpaelzer_and that is what the check in the .service is based on13:01
didrocksyep, wondering why it started on lxc then, let me recheck13:02
didrocksstill the same, hum13:02
didrocksand definitively working on docker13:02
didrocks(working as "not starting")13:02
didrocksah, my fault I guess, one min13:03
didrocksok good now :)13:04
cyphermoxhrm13:05
didrocksshould we start the meeting?13:05
cpaelzer_lets ping the rest13:05
cpaelzer_cyphermox: is already here13:05
cpaelzer_doko: jamespage: jdstrand: ping for MIR meeting13:05
cpaelzer_didrocks: it seems it is just cyphermox me and you13:16
didrockshum, should we still discuss zsys if doko/jamespage/jdstrand are away?13:16
didrocksyep :)13:16
cpaelzer_yeah, you need a way to go on13:16
cpaelzer_and cyphermox is a MIR-pro :-)13:16
cyphermoxhuh?13:16
didrocksso, for cyphermox, the background is that zsys (a zfs userspace handler that the desktop team is writting) is an experimental feature announced for eoan13:17
cpaelzer_cyphermox: we were wondering about the MIR on zsys13:17
cpaelzer_didrocks: will explain13:17
didrockscurrent version is 0.113:17
didrocksit's a go binary (not user-visible, only doing some background work)13:17
didrocksas for ubuntu-report, snapd, juju, it vendors the deps13:17
didrocksfor some context, on ubuntu-report, I tried to avoid vendoring13:18
cyphermoxyeah. as long as security is okay with the vendored deps... but I thought we were supposed to crack down on that13:18
didrockswhich was then reverted to "let's vendor, easier and better for our use-case"13:18
cyphermoxI mean, it's definitely not great, but it also looks kinda unavoidable in some cases13:18
didrocksI guess the vendor vs not vendor should be dealt at distro level, but for all binaries vendoring (including snapd, juju, …)13:18
didrocksmaybe a goal for a cycle?13:19
didrocks(unsure if LTS cycle would be the best though)13:19
cyphermoxmaybe13:19
didrocksmaybe it will be the time to ask about go module & proxy handling13:19
cyphermoxis zsys in the archive now?13:19
didrocksyes13:19
didrocks(universe)13:19
cyphermoxwell.. the issue is also that go transitions are terrible13:19
cyphermoxso ifg you need new deps on a released distro it's teh worst.13:19
didrocksah, in that sense, well, same than with any other language, if you need a newer version of a lib (or go itself…)13:20
cyphermoxokay, so I guess archive admins already complained about zsys vendoring deps, and we're all good on that side?13:20
didrocksdidn't complain because we went that road on ubuntu-report (without vendoring, and then, had to go back on vendoring), so they were aware13:20
cyphermoxah ok13:21
didrocks(they == seb FTR)13:21
cyphermoxwell, as long as the security team is aware, because that imposes some burden on them because of the vendored dependency13:21
didrocksyes, anyway, we are pending on the security review13:21
cyphermoxok13:21
cyphermoxwell I don't see any issue with the MIR otherwise13:22
cpaelzer_all that cyphermox is the same I already said(glad about that)  - I think the critical point here is the very early 0.113:22
cpaelzer_I mena we don't re-evaluate SW anyway13:22
cyphermoxno, but it's written by Canonical13:22
cpaelzer_so when we ack on v5 of something we silently assume v7 will still be fine13:22
didrockswhich is a bigger issue IMHO, I have seen some stuff being MIRed being very different some months/years after13:22
didrocks(starting with unity for instance)13:23
cpaelzer_cyphermox: yeah that here canonical is the upstream was my argument as well why it might be ok13:23
cyphermoxthings generally don't regress over time to get less MIR-worthy13:23
didrocksand as said, I'm more on the safe side: once we migrate to the service/client model, I will require a security background check to ensure I didn't open any hole13:23
cpaelzer_ok, it seems we are fine with your 0.1 then didrocks - under the constraint that security is ok with is as well13:23
* didrocks doesn't like things running as root and won't declare himself an expert :)13:23
cyphermoxyou MIR the software that makes sense to have in main, that we really need, etc. as long as the quality is acceptable and we can reasonably expect the software not to become trash because we "trust" the maintainers13:24
didrocksindeed13:24
=== cpaelzer_ is now known as cpaelzer
cyphermoxwell, I don't like it much either... does it really need to run as root?13:24
didrockscyphermox: it needs to interacts with zfs module kernel13:24
cyphermoxok13:24
cyphermoxit's some kind of fuse driver?13:25
didrocksright now, for some of the action, only root is allowed13:25
didrocksno, it's tagging/handling/snapshoting zfs datasets13:25
didrockssnapshotting*13:25
cyphermoxok13:25
cpaelzerdidrocks: take a not on the syscall filters and such  - that will help you to be a rather safe root process13:25
cpaelzerbut I think after our discussion that already is on your lists somewhere13:25
didrockscpaelzer: definitively note down13:25
cyphermoxwell, it wouldn't be the first thing anyway. we have other things that do similar work13:25
didrocksyes13:25
cyphermoxudisks?13:25
didrocksright13:25
cyphermoxalso, probably a pretty good example of something in main with horrendous code ;)13:26
didrockshoping zsys won't go the same way :) at least, it has a big testsuite :p13:26
cyphermoxhehe13:26
cyphermoxgreat13:26
didrockscpaelzer: do you mind giving the official +1 (pending security ofc) on the bug so that I'm not the one writing it? (don't want to be the requester and acker)? (maybe with some of the reasoning and linking this discussion?)13:27
cpaelzeryes13:28
cpaelzerdoing so now ...13:28
didrocksthx cpaelzer & cyphermox :)13:29

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