/srv/irclogs.ubuntu.com/2016/03/29/#ubuntu-installer.txt

superm1cyphermox: but doesn't the kernel need to read this variable to be able to make use of it?00:02
superm1if shim isn't updated by the time 16.04 is cut how will the variable be available?00:02
cyphermoxnah, the kernel should be fine with MokSB at it currently is, shouldn't need the mirror copy00:03
superm1cyphermox: is this the series that will be used for enforcing secure boot in the kernel in Ubuntu? http://www.spinics.net/linux/fedora/linux-security-module/msg15999.html  I didn't notice any mentions of enforcement based upon MokSB, it seemed to me that it actually mirrored secure boot being turned on in the firmware03:41
superm1i don't see that patch series applied to xenial's kernel though, presumably nothing is enforcing right now03:55
cyphermoxright, that's more or less the patch series (more or less becauseI pointed apw to the actual repo for fedora kernel packages)05:03
cyphermoxindeed it's not currently applied, they need to do it05:04
cyphermoxas for the variables themselves, the patches deal with SecureBoot and SetupMode, which is nice for whether secureBoot is enabled in firmware but doesn't tell you what's up with Mok/shim05:05
cyphermoxwe want to deal with a different variable at the shim level because you can't change SecureBoot or SetupMode from not in firmware05:05
cyphermoxso mokutil sets MokSB, which modifies MokSBState when shim next runs, etc. etc. to disable validation at the shim level05:06
cyphermoxthe kernel needs to watch MokSBState to keep track of whether it needs to enforce module sigs (or really, how to treat a success at validating signature from shim); which already exists, and my commit adds MokSBStateRT which should only be needed in userland (ie. mokutil)05:18
cyphermoxsince the kernel gets to be in BS as well as RT, we don't absolutely need MokSBStateRT there for things to work05:20
cyphermox(also, MokSBStateRT can actually be modified after boot)05:21
cyphermoxsuperm1: I'm still kind of new at all the EFI stuff, so I might be getting some of it wrong, but that's the jist of it05:21
cyphermoxand now, I had already gone to bed and only meant to spend two minutes looking at something, and looking into this I had to put on my old pair of glasses, now I'm nauseated, so I'm going back to bed ;)05:23
superm1cyphermox: ah okay thanks that clears it up much better for me.  so what you're referring to is http://pkgs.fedoraproject.org/cgit/rpms/kernel.git/tree/efi-Disable-secure-boot-if-shim-is-in-insecure-mode.patch to control based on MokSBState.12:49
=== FourDollars_ is now known as FourDollars
nilsjhi20:09
nilsjI'm trying to netboot the latest ubuntu, but since 2 hours I get "anna[5511]: WARNING **: no packages matching running kernel 4.4.0-16-generic in archive" .. any ideas how I can debug this?20:15
nilsjI'm using http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/20:16
cyphermoxnilsj: when did you download that netboot image?20:42
cyphermoxI guess you may have been unlucky with the timing since 4.4.0-16.32 and the latest image got in about 3 hours ago, maybe you started this while things were not quite settled yet, especially if you're using a country mirror20:44
nilsjcyphermox: Now it's working. There was a windows of around 2-3 hours where it was broken..20:45
cyphermoxright20:46
nilsjI always downloading the latest netboot image. Using https://github.com/jhaals/waitron with pixiecore. Pretty nice solution for netboot.20:46
cyphermoxpossibly time for stuff to settle on mirrors, I don't know20:47
nilsjCould this happen again when LTS is released?20:47
nilsjin case of kernel upgrade?20:47
cyphermoxI suppose, if you try to install the image a very very short time after it's released20:47
cyphermoxwhat mirror do you use?20:48
nilsjUsually de20:48
xnoxnilsj, well when lts is released xenial/ download will be frozen. But instead you may see such transient issue with e.g. xenial-updates netboot images.21:03
nilsjokay, thanks.21:10
xnoxin theory both kernel and d-i images publish simultaniously, but i'm guessing that pool/ & d-i images are syncing, without apt metadata updated yet.21:11
xnoxand then d-i images are there, but hitting old metadata, waiting for pool/ to sync, cause only after pool/ the metadata is updated.21:12
xnoxand then things are all good.21:12
infinityThere is a short window in mirror sync where d-i images can be newer than package indexes, yes, but it's not long.21:26
infinitynilsj: If you want to make sure you're downloading an image that is synced, "apt-get update && apt-cache policy debian-installer | awk '/^  Candidate/ {print $2}'" and grab the netboot directory version that matches, instead of current/21:28
infinitynilsj: But that's just paranoia to avoid the few-minute window where it might be out of sync.21:28
nilsjHopefully I don't have to re-install all the bare-metal servers soon.. ;)21:29
nilsjBut it's automated.. but seriously, the debian installer and preseed with raid, md, lvm is pita.21:30
xnoxnilsj, it's ugly any way one approaches. e.g. MAAS uses curtin installer, and then "recipe" for partitioning is defined in Yaml, but one also needs to specify all layers.21:33
xnoxdrives, block devices, raids, vgs, lvs, filesystems, mountpoints, in an ordered list of things with back references.21:34
nilsjI'll took a look into curtin some weeks ago, but didn't find useful documentation at this time.. the good thing is, now everything is working. :)21:37

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