/srv/irclogs.ubuntu.com/2017/12/13/#ubuntu-devel.txt

rbasakbdmurray, xnox, klebers: I don't understand why we're SRUing bug 1734908. It seems to have no user impact?08:44
ubottubug 1734908 in systemd (Ubuntu Artful) "systemd-rfkill service times out when a new rfkill device is added" [High,Fix committed] https://launchpad.net/bugs/173490808:44
rbasakAdditionally the Regression Potential and SRU verification process seems to have made no consideration for how to test or verify that rfkill hasn't otherwise regressed by this patch.08:44
rbasakSo I'm reluctant to release it.08:44
klebersrbasak, hi. Sorry, I mentioned the network-manager testcase issue but didn't state what would be the issue for a user. The user impact is that network-manager can report the wrong status of the rfkill device.08:56
klebersrbasak, regarding regression with rfkill, the rfkill doesn't have debian autopkgtests, but it's used on the same network-manager testcase so it's indirectly tested, at least on that scenario08:57
rbasakklebers: thanks. That sounds like it should be SRU'd then. Can we verify that part of the fix though then please? That network-manager now does report the correct status of the rfkill device? Or is the autopkgtest already covering that?08:58
rbasakklebers: and in your opinion then, are the autopkgtests sufficient to test general regressions in the area of rfkill, or is further manual testing needed?08:59
klebersrbasak, that network-manager autopkgtest already covers these tests and I verified that with that fix it now reports the correct status.09:03
klebersrbasak, regarding rfkill coverage, it has four commands: event, list, block and unblock. The last three are covered by that testcase, only event is not. I can run some manual tests to check if the behavior of this command is affected.09:04
rbasakklebers: thanks. I'm happy to trust your judgement on whether that is needed in relation to this particular patch. But I'd prefer that your judgement be documented so that it's clear that the testing that is and isn't performed is an informed decision rather than an omission. That's what the Regression Potential section is for.09:06
klebersrbasak, I will run some more manual tests and add all these additional information to the bug report. Thanks for the thorough review.09:10
xnoxrbasak, i was not at all involved in that sru. /me is out09:40
klebersrbasak, I have run some manual tests with rfkill and added the information we discussed here to the bug description. Please let me know if anything else is needed.11:51
rbasakklebers: thanks! That looks good and I'm satisfied with SRU verification. There are some autopkgtest failure still, including systemd amd64 which seems quite important as it's worked in the past. I've just retried that one.12:12
klebersrbasak, thanks!12:13
dokomwhudson: tracking the golang-defaults induced autopkg test failures?12:15
dokojamespage: ujson needs a MIR (ceilometer)12:16
jamespagedoko: on my list12:16
jamespagejust digging into why ovs fails on i386 for artful and bionic...12:17
mdeslaurcpaelzer: are you planning on merging virt-manager soon? Can I do it?12:22
cpaelzermdeslaur: you can do if you need, but due to the need to build against latter libvirt (which takes some more time) I planned to do it after libvirt12:24
cpaelzermdeslaur: but if you do a merge now you certainly will lower the amount of diff I have to cross when I get to it in ~Feb12:24
mdeslaurcpaelzer: oh! I'll wait then, thanks12:29
cpaelzermdeslaur: if your only concern is "have it updated in 18.04" let it be mine12:29
mdeslaurcpaelzer: I have a bug fix I want to SRU into artful...so either I merge bionic, or add the bugfix to bionic12:30
mdeslaurcpaelzer: but now I'm confused...it requires a newer libvirt?12:30
cpaelzermdeslaur: ok, then add the bugfix for now if that is ok12:30
mdeslaurcpaelzer: ok, thanks12:30
cpaelzermdeslaur: being not C but python it isn't that hard, but better to do the rebuild12:31
=== alan_g is now known as alan_g|lunch
=== mhcerri_ is now known as mhcerri
rbasakinfinity: missing SRU paperwork for bug 1730627, but also, do we really need to SRU this? Is being able to debootstrap Bionic from Trusty important?13:30
ubottubug 1730627 in dpkg (Ubuntu Trusty) "xz compressed control.tar files not supported" [Medium,Confirmed] https://launchpad.net/bugs/173062713:30
rbasakWe don't support an upgrade from Trusty to Bionic directly, so why do we need to support a debootstrap?13:31
=== alan_g|lunch is now known as alan_g
jamespagedoko: https://bugs.launchpad.net/ubuntu/+source/ujson/+bug/173798914:39
ubottuLaunchpad bug 1737989 in ujson (Ubuntu) "[MIR] ujson" [Undecided,New]14:39
xnoxrbasak, oh yes we do need that; because we do have clients/deployments that use trusty in production still, and do need/want to create/debootstrap bionic based chroots and docker images.14:45
xnoxrbasak, kernel-wise, these trusty machines that do that, most often run the xenial-lts kernel; which also is expected to be able to execute things in bionic chroots after those have been debootstrapped.14:47
rbasakOK14:56
rbasakThat should be in the SRU paperwork14:56
rbasakUnrelated: what's the canonical Ubuntu way to detect the currently running init system?14:56
rbasakroaksoax: in bug 1732703, I'm not sure that test for systemd is reliable. For example immediately after an upgrade from Trusty to Xenial, before a reboot, /sbin/init will be systemd but the running init system will be upstart.15:15
ubottubug 1732703 in MAAS 1.9 "MAAS does not detect properly if Ubuntu is using upstart/systemd" [Critical,In progress] https://launchpad.net/bugs/173270315:15
rbasakroaksoax: AFAICT, the "correct" way to test for systemd is its process name or something, but I can't find a good reference.15:16
rbasakroaksoax: so I'm not really sure what is correct. I'll happily accept whatever a systemd-type person here says.15:16
cjwatsonThere should be something in one of the init script layers15:16
cjwatson/lib/lsb/init-functions.d/40-systemd15:17
cjwatsonif [ -d /run/systemd/system ]; then15:17
rbasakAh15:17
cjwatsonI believe that's the canonical method15:17
rbasakI recalled something about something in /run but was unable to find it.15:17
rbasakThanks15:18
cjwatsonrbasak: Found the documentation for that - sd_booted(3)15:18
cjwatsonunder NOTES15:19
rbasakPerfect!15:19
roaksoaxrbasak: i dont understand why upgrading from trusty to xenial in the said patch matters ?15:29
roaksoaxrbasak: the path is for 1.9, not for xenial15:29
roaksoaxrbasak: the path is for 1.9, which does not run in xenial15:29
roaksoaxand maas 2.x, in xenial, always uses systemd15:30
roaksoaxrbasak: that code path no longer exists in 2.x15:30
roaksoaxthat said, MAAS currently checks for "/run/systemd/system", but that's proven not to be effective15:34
roaksoaxhence, the bug report15:34
colinlhello folks :)15:54
colinlI'm dropping by to make sure I did everything correctly, regarding a patch I'd like to see backported to Ubuntu : https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/171451815:55
ubottuLaunchpad bug 1714518 in gtk+3.0 (Ubuntu) "GTK+3 doesn't show FUSE/GVFS, smb (SMB/CIFS), sftp (SFTP/SSH) network shares in file chooser" [Low,In progress]15:55
colinl(last comment)15:55
LocutusOfBorgjbicha, ^^ :)15:58
colinl(ping seb128, IIRC you were interested in that bug)15:59
colinlhi LocutusOfBorg and thanks :)15:59
seb128colinl, I'm adding it to my queue but I'm currently busy with something else, going to have a look later16:08
=== maclin1 is now known as maclin
rbasakroaksoax: sorry, I didn't realise that you were already testing that16:15
rbasakDoes that mean there's a bug in init-system-helpers because it uses the same test?16:15
colinlthanks seb128 :)16:20
colinlseb128: if/when it goes in, I'll submit one for 16.04 :)16:22
cjwatsonI question why testing for /run/systemd/system wouldn't be effective; I've never heard of that existing when systemd isn't the running init system, and I think any such occurrence deserves to be tracked down quite vigorously16:25
* rbasak is trying to reproduce16:25
jbichacolinl: you need to backport to the newer Ubuntu releases (17.10 and 17.04) at the same time or before16:25
colinljbicha: will do, then :)16:25
rbasakInstalling snapd on Trusty does indeed create /run/systemd/system/16:26
cjwatsonis this possibly a snapd bug then?16:26
rbasakIt looks that way. I see snapd.postinst gating on the existence of the directory though, so I don't yet know where it is getting created.16:27
cjwatsonSince this is the documented method for testing whether systemd is running, I think there's a compelling case for leaving MAAS (and init-system-helpers) the way it is and fixing whatever's breaking it.16:28
cjwatsonIt shouldn't be particularly widespread breakage.16:29
rbasakcjwatson: snapd depends on systemd. Installing systemd on Trusty when upstart is running starts a "/lib/systemd/systemd --system" (looks like upstart manages that) and that creates /run/systemd/system.16:35
rbasakIs it a bug that snapd depends on systemd?16:35
rbasakThe systemd package on Trusty ships a /etc/init/systemd.conf16:36
rbasakdescription "run systemd deputy init"16:36
rbasakpre-start exec mkdir -p /run/systemd/system16:36
cjwatsonHm.  I'm not sure of the documented semantics for the weird deputy systemd thing in trusty16:36
cjwatsonFoundations may need to work something out there and figure out how it aligns with all the stuff that's following the systemd documentation ...16:37
cjwatsonI wonder if it's possible to configure the deputy systemd to use some other /run subdirectory (but that may have other problems)16:38
cjwatsonThere are variant "dsystemd" paths used for cgroups16:38
rbasakIt looks like snapd is using the deputy systemd to manage its daemons16:39
cjwatsonxnox: ^-16:39
cjwatsonYeah, the deputy systemd was introduced specifically for snapd16:39
cjwatsonhttps://bugs.launchpad.net/ubuntu/trusty/+source/systemd/+bug/165628016:39
ubottuLaunchpad bug 1656280 in systemd (Ubuntu Trusty) "Support installing subordinate systemd on Ubuntu Desktop 14.04.5" [High,Fix released]16:39
seb128jbicha, colinl, I wouldn't bother SRUing to zesty at this point16:39
cjwatsonI think this discovery about its /run/systemd/system behaviour demonstrates that some of the claims in that bug report don't quite hold up16:40
xnoxrbasak, yes that is all true; one can run snapd and snaps on trusty; with systemd package; and lts-xenial kernel installed; there is a branch for that.16:40
xnoxcjwatson, rbasak - i believe on trusty we do not create /run/systemd/system and have it patched to use alternative path names.16:41
rbasakxnox: that's not true AFAICT. See the upstart snippets I pasted above.16:41
xnoxditto on trusty it does _not_ use /lib/systemd/system nor /etc/systemd/system16:41
xnoxhaha16:41
xnoxwell16:41
rbasak/etc/init/systemd.conf explicitly creates /run/systemd/system16:41
xnoxI inherited that code.16:41
rbasakWhat's the right way to fix this?16:42
xnoxi guess we must create that, as things launched by snapd must detect/think that it is running under systemd as pid 1, but not really.16:42
rbasakDo we treat it as a bug in systemd in Trusty, and not in maas then?16:42
jbichaseb128: I guess that depends on who on the SRU Team is doing the review :/16:42
cjwatsonIt looks to me like we've patched some of the paths to be different, but not that one16:42
seb128jbicha, the requirement to SRU to non-LTS-non-current to upload a fix to the LTS is boggus imho16:43
cjwatsonIf we change maas, I think the change should be confined to trusty rather than leaking to later releases (which don't have this deputy systemd stuff); but hopefully there's some way to change systemd instead to avoid the problem ...16:44
jbichaseb128: interestingly, it is not mentioned at https://wiki.ubuntu.com/StableReleaseUpdates as far as I can see16:44
xnoxrbasak, my hunch is that said path should have been patched; or at least be created in a namespace not visible in the general system. But i fear we cannot use mount namespaces due to classic confiment snaps.16:44
xnoxrbasak, please open the bug report, and or point me to an existing one, to hack on it. I cannot commit to deliver it before end of year; as I'm end of year on friday.16:47
xnoxrbasak, cjwatson - the maas check; for the purposes that it needs it for; as indicated in the merge proposal; is adequate.16:50
rbasakxnox: thanks. It's bug 1732703. I'll add a systemd task.16:50
ubottubug 1732703 in MAAS 1.9 "MAAS does not detect properly if Ubuntu is using upstart/systemd" [Critical,In progress] https://launchpad.net/bugs/173270316:50
xnoxrbasak, commented on the bug report.16:58
xnoxrbasak, i'd rather see maas ship the proposed fix in https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/334930 or e.g. compile maas on trusty in such a way that does not introduce systemd management code at all.16:59
xnoxrbasak, e.g. when cloud-init was getting backports, it was excluding systemd support as a compile time / configure option.17:00
slangasekcjwatson, xnox, rbasak: I recall that we *did* evaluate moving /run/systemd/system to a different path as part of that SRU, and concluded that it wasn't a viable approach17:07
xnoxack, thanks. I have limited history about that thing.17:08
slangasekyeah unfortunately that's as much detail as I remember off the top of my head.  If folks think we should be changing the path, I can try to dig into history17:09
rbasakxnox: it feels to me that the MAAS fix in the queue is the worst of both worlds right now.17:18
rbasakHardcoding for upstart would be one way, which is essentially what you say.17:19
rbasakThat would be less error prone I think, as any further disruption to systemd in Trusty wouldn't be able to affect anything.17:19
rbasakI think that we need to decide what the "official" way of detecting systemd is. And make that work. Or accept that Trusty is broken. But there should be a general answer for Trusty least, and then MAAS should do that.17:20
rbasakIf the general answer is "there's no reliable way; always assume upstart on Trusty" then we can hardcode MAAS to do that.17:20
xnoxrbasak, i think hard-coding to use upstart on trusty is the right way forward; trusty is messed up in many ways with like systemd-services and the deputy systemd as we like migrated to logind but not the rest of it.17:21
xnoxrbasak, and on things later than trusty, the canonical check is to check for /run/systemd/system directory presense.17:22
rbasakxnox: this may have broken tools like puppet on Trusty too :-/17:55
mwhudsondoko: yes18:58
dokoLocutusOfBorg: was there a specific reason that you dropped the new b-d's for graphviz instead of proposing main inclusion of these packages?22:14
bdmurraymdeslaur: IIRC you wanted me to look at some debdiffs in bug 1574670. Is there any chance you could submit a bionic MP so it'd be easier to comment on?22:37
ubottubug 1574670 in update-manager (Ubuntu Artful) "ubuntu-support-status returns inaccurate information" [High,Confirmed] https://launchpad.net/bugs/157467022:37
bdmurraymdeslaur: ah, nevermind22:40

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