/srv/irclogs.ubuntu.com/2018/08/14/#ubuntu-devel.txt

=== freyes_ is now known as freyes
=== Nafallo_ is now known as Nafallo
sil2100abeato: hey! I'll try to review  your PR today :)09:14
abeatosil2100, cool, thanks :)09:18
dokotsimonq2: https://launchpad.net/ubuntu/+source/metview/5.1.1-1/+build/15233178  version mismatch with Debian?10:54
dokojamespage, coreycb: openstack related MIRs needed: http://people.canonical.com/~ubuntu-archive/component-mismatches-proposed.svg11:01
jamespagedoko: ta - on those this week11:02
dokoxnox: finalrd: why do we need to handle lib64?11:21
dokoFAIL: misc/tst-preadvwritev212:25
dokoFAIL: misc/tst-preadvwritev64v212:25
dokoinfinity: ^^^ glibc autopkg test failures triggered by binutils branch update. could you have a look?12:26
ricotzdoko, regarding "gdb 8.1-0ubuntu6" there seems to be source packages which build-dep on gdb, but build-conflict with gdb-minimal12:38
ricotzjuliank, hi, https://bugs.launchpad.net/ubuntu/+source/gpgme1.0/+bug/176238412:47
ubottuLaunchpad bug 1762384 in gpgme1.0 (Ubuntu) "libgpgme-dev installs libgpgme-pthread.so in /usr/lib/${DEB_HOST_MULTIARCH}, literally" [Undecided,Confirmed]12:47
juliankricotz: ack12:48
juliankmaybe MoM stripped an x bit or something12:49
juliankricotz: hmm, libgmpg11.links is executable for me12:50
juliankso I wonder why it's not working12:50
ricotzjuliank, this effects bionic too12:50
ricotzjuliank, thanks for looking12:51
juliankAh no12:51
juliankI looked at the wrong file12:51
julianklibgpgme-dev.links is missing the executable bit12:51
ricotzjuliank, is this link actually needed?12:52
juliankIf something passes -lgpgme-pthread12:53
ricotzwhile this is suppose to fix some kde build failures? this wouldn't worked so far?12:53
juliankI don't know if it fixes anything or not12:54
juliankI fixed cosmic now12:54
juliankwill do bionic shortly12:55
ricotzthanks12:55
juliankricotz: this unfortunately does not show up in debdiffs :(12:56
juliankneed to enhance debdiff!12:56
dokoricotz: ?12:59
ricotzdoko, meaning while gdb provides gdb-minimal, such source packages will fail to build and will require an ubuntu-delta13:01
ricotzjust ran in to debian's rustc which does have those gdb build-deps/conflicts13:02
dokothen file a bug report against rustc13:03
ricotzafaics a real empty arch-all package would not cause such an issue13:03
dokothere's no reason for that conflict13:03
ricotzrustc won't be synced, jfyi that this might cause problems13:04
dokochrisccoulson: ^^^ please fix rustc13:12
juliankricotz: unfortunately ftbfs /bin/bash: line 1: /usr/bin/python3.7: No such file or directory13:26
juliankit only has a python3-dev dep, but needs python3-all-dev ugh13:27
tsimonq2doko: ack, will fix later unless you want to JFDI.13:36
psusisil2100: I thought you were going to simply change grub-install to switch to grub-pc instead of grub-efi in the case of no ESPs, but instead, if I am reading this correctly, you made the installer simply refuse to offer to do a side-by-side install with a bios mode install but booted in EFI mode?14:40
psusiif so that seems like bad ux; they should be able to do a side by side install and simply have it work.14:42
sil2100psusi: where did you read that?14:43
psusiohh, right... re-use means re-use the existing partition with no partition table changes and replace the existing OS there14:44
psusias opposed to side-by-side... I think I see now.. bug @176694514:44
sil2100psusi: yes, that's the only case that's not being offered as it would require doing partition changes in an option which, by definition, shouldn't do any partition changes14:45
psusiwait... this still doesn't sound right... side-by-side creates an ESP, causing the computer to switch to booting in EFI mode, then that break's the existing bios booting install14:45
sil2100As re-use partition means: 'use the very exact partition and install ubuntu on it', as it would result in no ESP and not being able to boot into the system in the current mode14:45
sil2100It shouldn't break BIOS booting, the ESP partition is simply appended to the partition table14:46
psusiand of course, creating an ESP on an MBR disk that also already has an existing OS in it is going to be a twisted mess what with the 4 primary partition limit14:47
psusiyes, but if grub-efi takes over the boot process, you can not chainload the existing bios mode OS14:47
sil2100Did you you just reproduce such an issue?14:48
psusino14:48
juliankIsn't grub capable of chainloading bios files in EFI as long as the compat thingy is enabled in EFI14:48
juliank?14:48
psusiI don't think son14:49
psusionce the computer starts in EFI mode, there is no BIOS14:49
psusior at least... you can't count on it being there... maybe current implementations don't bother getting rid of it?14:49
psusibut I'm pretty sure the last time I looked at the grub code, grub-efi's chainload command is expecting to load a .efi program14:50
juliankok14:54
psusisil2100: did you test a side by side install with freedos or Windows?  Because I'm pretty sure those will fail... with another bios mode install of Ubuntu it is fine because grub-efi doesn't chainload grub-pc; grub-efi just imports the menu entries to load the other install's kernel15:22
sil2100psusi: I personally didn't test that case, but I think jibel did as part of some point-release related testing15:30
sil2100jibel: ^15:30
psusiI'm not sure if Windows still puts its EFI loader on the disk when installed in bios mode ( what release of Windows even supported EFI?  Windows 7?  I guess XP is too old to worry about )... but I'll bet dollars to doughnuts that you won't be able to boot FreeDOS after doing this15:33
psusithough I suppose that may be a small enough of a concern to not worry about too... who really uses freedos?15:34
sil2100If that's the case then it's certainly a bug worth filling in15:34
psusiwhere is the windows efi boot loader?  isn't it c:\BCD\something?15:35
psusiahh, here we go... EFI/MICROSOFT/BOOT/bootmgfw.efi15:37
psusiso yea, looks like it is on the ESP, which you don;'t have if installed in bios mode, so a side-by-side mode install with windows already in bios mode will break it15:37
psusiohh, look at that... I just searched this bios mode windows system and it has a copy under C:\Windows\Boot\EFI... so maybe you could chainload that and get it to boot, but I don't think that's where grub-probe currently looks for it15:41
tewardanyone know whether there's a way to delay a systemd unit from starting until after both IPv4 and IPv6 networking are 'up' and 'configured' on a system?  got an nginx bug that looks like a race condition between nginx starting and network being 'up', and it's being problematic as a result...16:37
tewardso i'm trying to see if there's a way to alter the systemd service/unit to wait until v4 and v6 are up16:37
teward(even if it's just local/link-only v6)16:38
cyphermoxpsusi: side-by-side install would create a new ESP, but only if the system was previously booting in BIOS and now booted EFI -- that's already a tiny minority of cases. Furthermore, grub will still run os-prober and detect the other Linux installs, and should be able to boot them still, up until we enforce that kernels are signed16:46
cyphermoxas for Windows, any recent windows will already have an EFI bootloader16:46
cyphermoxold Windows do chainload fine16:46
cyphermoxand the new Windows would, too16:47
psusicyphermox: it is not a tiny minority of cases.. we get hundreds of apport crash reports every month of people doing just that.  You can not chain load bios booting OS from EFI grub16:48
cyphermox(windows already gets chainloaded by grub using bootmgfw.efi, and that validates because the right keys are in firmware)16:48
psusionly if bootmgfw.efi is found on the ESP... if it was a bios mode install of Windows, it won't be16:49
cyphermoxyou can't chain load, but you absolutely can load the kernels for linux installs, up until we disable fallback to unsigned.16:49
psusiyes.. linux installs.. but not freedos or windows16:49
cyphermoxand the issue you're refering to for Windows is an os-prober bug16:49
cyphermoxthere's nothing stopping os-prober from detecting bootmgfw.efi from elsewhere than /EFI/Microsoft/whatever16:50
psusiyea, if os-prober was smart enough it probably could find the copy of the windows EFI boot loader and chainload it even if there is no ESP and that *probably* will work16:50
cyphermoxfreedos would chainload just as fine.16:50
psusino it won't... you can not chainload a bios OS from grub-efi16:50
cyphermoxpsusi: you're free to disable Secure Boot.16:51
psusiI'm not even talking about secure boot16:51
cyphermoxpsusi: of course unsigned things don't load if you expect Secure Boot to be enforced, but chainloading is chainloading16:51
cyphermoxmaybe there's a bug, I don't know16:51
psusino... chainloading in grub-efi means load and execute another PE EFI image in EFI mode16:52
psusigrub-efi can not chainload a bios MBR16:52
cyphermoxpsusi: there's no way around the fact that it's possible for some things to break if people are changing their firmwares16:53
psusithey don't *want* to change their firmware... they don't even know the difference16:53
JanCI wonder: is that a GRUB limitation or a UEFI limitation?16:53
psusithey just have a working bios mode install and accidentally booted the ubuntu installer in EFI mode16:53
cyphermoxpsusi: how do you accidentally boot the ubuntu installer in EFI mode?16:54
psusiJanC: UEFI... if you boot in UEFI mode, there is no bios, you can't switch back to real mode and make interrupt calls16:54
psusicyphermox: because they don't know the difference?  they just hit whatever it takes to get the cd to boot16:54
psusiand in most firmwares, it is not clear which mode yuo are booting in16:54
cyphermoxpsusi: to qualify this; how do you do so and then be completely unable to boot back in BIOS?16:54
psusiunless you know the subtle little difference to look for... like the fact that it actually calls it "ubnuntu" in efi mode, isntead of just "boot from usb"16:55
cyphermoxyes. you'll get varying things in a boot menu. that means you'll still be able to boot your device in "legacy" mode should you choose to.16:55
psusithey could figure out how to force the machine to boot in bios mode maybe, but by default, we will configure it to boot in EFI mode, and it will do so.. and once grub-efi is booted, it can no longer chainload back into bios mode16:55
cyphermoxbut we should also take care to help users transition from legacy to UEFI, which is what sil2100's changes are doing.16:56
psusiexcept that the transition doesn't really work for them unless we can manage to have a working grub menu entry that still boots their old os16:57
cyphermoxpsusi: my point is, if you accidentally booting in UEFI; you can also accidentally boot in legacy mode, and grub installs both to a MBR and to ESP; if one fails they will try another one16:57
psusiyou can't really accidentally boot in MBR mode from your hard disk... once the EFI variables are in place to boot in EFI mode, that's what the system is going to do.. it's only when people are trying to boot from install media that they can get the mode wrong16:58
psusithen if we install in efi mode they won't get a grub entry to boot windows any more16:59
psusiand will have to figure out how to go into their firmware and demand that it boot in legacy mode to get into windows16:59
psusiheck, if we also install grub to the MBR even that won't work17:00
psusisince our grub.cfg won't have a chainloader +1 stanza because that is only generated if os-prober is run not in EFI mode17:00
cyphermoxpsusi: you're missing the fact that if they managed to have both the legacy and UEFI options, their firmware is UEFI pretending to be BIOS. There's only so much we can do; being able to install to MBR and ESP simultaneously is about as much as you can do, and then deal with those who don't understand, did it wrong, and tell them how to switch back to legacy (if necessary)17:01
psusiwell as things stand now the only thing they will be able to do to get back into their windows is to boot the windows install cd ( if they even have one ), and run FIXMBR to dig grub out of the MBR and put the MS loader back17:02
cyphermoxwe're not actively trying to break anyone's computer; mistakes happen, but most things already understand EFI, and some will in fact insist on it (hello Windows)17:02
cyphermoxpsusi: I suggest you file a bug, and possibly include a patch to let os-prober detect the Microsoft bootloader from its alternate location?17:03
cyphermoxthat would at least deal with that BCD copy for Windows 10.17:04
psusiyea... but the only way to deal with freedos is to not force the machine to efi mode and just install grub-pc17:04
cyphermoxtough luck for freedos I guess, for one thing there's nothing really stopping them from supporting EFI17:05
psusisure there is... it's DOS..17:05
psusiit kind of runs in real mode with bios by definition17:05
cyphermoxand their kernel can't emulate interrupts?17:06
psusiwell now you are talking about just running dosemu under linux with freedos installed in the emulator17:07
psusiof course one of the reasons people use freedos on bare metal is to be able to run bios update utilities that many vendors still only support from dos17:07
psusiat least they did the last time I looked17:08
psusimaybe they have finally all gotten with the times, I dunno...17:08
cyphermoxnot all manufacturers have, but some never will, that doesn't mean freedos can't ever do its thing by booting in EFI and say, remaining in BootServices.17:09
psusiit would have to actually run in protected mode then use v86 mode to emulate bios to run the applications17:10
cyphermoxin any case, you can still boot with CSM to load legacy things.17:14
psusiyea, but if we also installed grub-pc, then you still get grub with no windows menu entry17:16
cyphermoxwe install grub-pc, if people manage to start grub-pc, then they will get grub-pc, and a windows with no EFI loader will work.17:18
psusitheir grub.cfg won't have a windows option in it17:22
psusiunless they boot ubuntu in bios mode and run update-grub17:22
psusiso I guess that's a way out... force firmware to boot in legacy mode... load ubuntu, run update-grub, then you can reboot and get into either17:23
psusibut why are we making them go through all of that instead of just sticking with grub-pc only?17:23
cyphermoxbecause the installer booted in UEFI, and you can't know whether it's an error or intended, so we install both bootloaders, and users will decide via what way they boot the devices17:26
cyphermoxif it so happens that they boot everything with CSM enabled, but somehow their firmware can only do UEFI for USB keys or CDROM, then things will keep working.17:27
cyphermoxwe don't need to actively break the installer, fail the install, or write a cryptic message telling the user that "this might not work". They're installing Ubuntu, we're doing our best to give them an installation of Ubuntu that works, and doing our best to keep all the other things working too.17:28
psusiof course not... that message needed to go... but we should just assume that they don't want us to change their boot mode and stick with grub-pc17:29
psusisince you know that will boot both operating systems correctly17:29
cyphermoxno, it does not. It's actively going against people who genuinely decide to boot in UEFI and install in UEFI.17:31
psusianyone who actually wants to switch should format the drive and do a clean install of Windows *before* installing Ubuntu17:31
psusinot install Ubuntu and then no longer be able to boot their Windows17:32
slangasekinfinity: hi, are you running the TB meeting?19:01
sarnoldUnit193: congratulations on getting privileges I assumed you already had :D22:53
Unit193sarnold: Hah, thank you very much!23:05
Unit193sarnold: FYI, I'm not a DD (yet) either. :>23:13
sarnoldUnit193: that's is *also* a surprise :)23:13
Unit193In process of, though.23:13
sarnoldeven though I think I've been told both of these things before23:13
sarnoldalso did you realize it's august?23:13
Unit193My sister's birthday was the 1st, I did realize.  Not sure what context I'm supposed to realize it in though. >_>23:14
rbasakIs your sister Unit192 or Unit194? :-P23:16
Unit193Paha.23:16
Unit193Arguably 192, but I usually claim to have superseded prior versions.23:17
sarnoldwell I meant  in the general "things that surprise me but don't surprise other people" sense :)23:19
sarnoldbut good on you for re3mmebering your sister's birthday :D23:19
Unit193(I don't know when the other's is.)  Ah!  Well I nearly missed the DMB meeting, only saw it because of the factoid use here.  I was busy dealing with spam. :P23:20
sarnold:(23:56

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