/srv/irclogs.ubuntu.com/2024/03/13/#ubuntu-devel.txt

=== bastif_ is now known as bastif
schopin@pilot in07:54
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Feature Freeze | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: schopin
schopinOh well. The sponsoring reports are down, so I'll return to my regularly scheduled program.08:18
schopinThe error seems to situated between keyboard and chair. Thanks ginggs :)08:23
ginggs"something loose in cockpit"08:24
schopinIt's a bird, it's a plane, it's human error.08:25
=== flag is now known as ppisati
=== JanC is now known as Guest1062
nteodosI was installing a base-files from Jammy in my Mantic installation, at the end Apt failed with some message about rm not being found (sorry, should have saved that full error) and then no command would be found. Rebooted and now get kernel panic, can't find /sbin/init though inspecting the disk from another OS proves it's there, as is everything else. Chroot also fails with ‘/bin/bash’: No such file or directory.10:08
cjwatsonnteodos: installing a base-files from jammy on mantic sounds thoroughly unsupported to begin with - why?10:19
cjwatsonnteodos: my guess would be that you've done something horrible with respect to the /usr move10:19
nteodoscjwatson, that was just to test front-ends to Ubuntu Pro as they are only interesting in LTS. I did it many times before without issue...10:21
cjwatsonnteodos: regarding /sbin/init, it should be a symlink to "../lib/systemd/systemd" I think, so check that /lib/systemd/systemd exists; or that error might also indicate that some of its dynamically-linked libraries are missing10:21
nteodosIt is a symlink to that, yes.10:21
nteodosWhich exists.10:22
cjwatsonnteodos: in future I would recommend just temporarily tweaking /usr/lib/os-release if you just want it to present as a different version for testing purposes.  base-files does a bunch of other stuff10:22
nteodosThanks, after a kernel panic I'll sure stick to your suggestion.10:23
cjwatsonnteodos: pretty certain that you have a missing library somewhere.  /bin/bash is an easier place to start since it has simpler linkage - it needs /lib64/ld-linux-x86-64.so.2, /lib/x86_64-linux-gnu/libc.so.6, and /lib/x86_64-linux-gnu/libtinfo.so.610:23
cjwatson(this is from noble, but I think that should be true on mantic too)10:23
nteodos But if nothing was uninstalled during the operation why would libraries suddenly go missing?10:24
cjwatsonI could speculate about various possibilities but I prefer not to do that before knowing exactly what's missing10:24
cjwatsonand without the apt output it's also pretty difficult10:25
nteodosIn the chroot I can't find /lib6410:27
cjwatsonlrwxrwxrwx   1 root   root      9 Mar 12 07:43 lib64 -> usr/lib6410:27
cjwatsonSo maybe just put that in place and try again10:28
nteodosAha! Chroot works now.10:28
nteodosThanks a lot Colin, let me see if I get past the kernel panic now.10:28
cjwatsonI don't see why a base-files downgrade would have done that; perhaps apt also did something else10:28
cjwatsonyou might find evidence in /var/log/apt/term.log10:28
cjwatsonand yes, not having the system dynamic linker will mean just about nothing works :)10:30
nteodosSo this is term.log: https://termbin.com/2vbl10:32
nteodos:)10:32
cjwatsonnteodos: 13ubuntu7 is in noble.  you said you were running mantic10:34
cjwatsonnteodos: so did you install noble's base-files first and then jammy's?10:34
nteodosUgh my bad I was indeed on Noble10:34
cjwatsonnteodos: in that case that's due to the /usr move, indeed10:34
cjwatsonthere's stuff in /var/lib/dpkg/info/base-files.postrm related to this which I am not very much inclined to spend time unpicking given how unsupported this is in the first place10:35
cjwatsondowngrading past noble's base-files is dangerous and mustn't be done10:36
nteodosWell lesson learned :P Thanks again, will reboot to Ubuntu now, hopefully with success.10:36
cjwatsonthough it's interesting that base-files has a postrm in Ubuntu but not in Debian10:39
cjwatsonah, because https://bugs.debian.org/1064459 hasn't landed yet10:41
-ubottu:#ubuntu-devel- Debian bug 1064459 in base-files "base-files: install aliasing symlinks for merged-/usr DEP17" [Normal, Open]10:41
nteodosiocjwatson, can confirm, lib64 was all that was needed10:41
cjwatsonthough when I took the latest Debian patch there, built Debian's base-files with it, and upgraded then downgraded a scratch container, things seemed fine - no missing symlinks10:46
cjwatsonso that's probably about as much time as I have to root-cause this, sorry10:46
nteodosioI might have lost some messages during reboot but I'll check in the log later.10:48
cjwatsonjust me saying "though it's interesting that base-files has a postrm in Ubuntu but not in Debian"10:48
cjwatsonbut then I got further10:48
bastifI don't know if this was missed, could anyone look at this RFS please? https://bugs.launchpad.net/ubuntu/+source/google-android-installers/+bug/205608011:43
-ubottu:#ubuntu-devel- Launchpad bug 2056080 in google-android-installers (Ubuntu) "Update version in noble to 1707406511ubuntu2" [Undecided, New]11:43
schopin@pilot off12:46
ubottu(pilot <in|out>) -- Set yourself as in or out of patch pilot.12:46
schopin@pilot out12:47
=== ChanServ changed the topic of #ubuntu-devel to: Archive: Feature Freeze | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: N/A
blucaheads up on https://bugs.launchpad.net/ubuntu/+source/linux-meta-azure-6.5/+bug/2038777 - as open source projects start to use KVM on Github Actions CI jobs (it was made available last month), they'll hit that crash due to a missing bugfix in the jammy azure kernel image14:40
-ubottu:#ubuntu-devel- Launchpad bug 2038777 in linux-meta-azure-6.5 (Ubuntu Jammy) "UBSAN: array-index-out-of-bounds (drivers/net/hyperv/netvsc.c)" [Undecided, Confirmed]14:40
blucaso that's likely going to get hotter14:40
blucawe just hit that in the systemd CI on github14:40
=== JanC_ is now known as JanC
bandalifossfreedom_, alrighty i'll add that to my list16:40
fossfreedom_bandali: many thanks.  Hope that the debdiff on that issue is useful for you.17:50
philrocherbasak: As SRU team member on duty - would you be able to have a look at focal livecd-rootfs v 2.664.53 @ https://launchpad.net/ubuntu/focal/+queue?queue_state=1&queue_text=livecd-rootfs ?18:22
bandalifossfreedom_, cheers, and thanks to you :) i'm sure it will be18:23
rbasakphilroche: sorry I'm beyond EOD now.18:43
rbasakwaveform: FYI, bug 1833322. I'm not sure what package that should belong to.18:43
-ubottu:#ubuntu-devel- Bug 1833322 in cloud-images "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" [Undecided, New] https://launchpad.net/bugs/183332218:43
rbasakSorry, wrong bug. Bug 2057822 is what I meant.18:44
-ubottu:#ubuntu-devel- Bug 2057822 in ubuntu-meta (Ubuntu) "Removing irqbalance disables power button on Raspberry Pi 5" [Undecided, New] https://launchpad.net/bugs/205782218:44
jbicharbasak: I was thinking the ubuntu-server-raspi & ubuntu-desktop-raspi metapackages unless the issue can be fixed in the kernel or something18:48
jbichaEickmeyer: cc ^18:48
tjaaltonmoving to tbird snap broke openpgp, claims it can't find the private key19:00
kenyonI've been trying to mirror ddebs.ubuntu.com <https://wiki.ubuntu.com/Debug%20Symbol%20Packages> with apt-mirror, and discovered that it basically doesn't work at all due to severe rate-limiting on ddebs.ubuntu.com. any way we can get that rate limiting config changed, or document what the rate limiting config is so that we can work around it?19:02
jbichatjaalton: could you file a bug on Launchpad with details?19:04
tjaaltonjbicha: against the deb?19:04
jbichatjaalton: so that it shows up at https://bugs.launchpad.net/ubuntu/+source/thunderbird/19:05
tjaaltonok19:05
tjaalton205783519:08
jbichatjaalton: there is a snap permission turned off by default named gpg-keys. Is that turned on for you? You can enable it in GNOME Settings > Apps > Thunderbird Mail19:19
tjaaltonjbicha: ok, didn't fix it though19:21
jbichatjaalton: are you using a smart card or other device to store your gpg keys?19:22
tjaaltonno19:22
jbichacould you add those notes to the bug report? :)19:22
tjaaltondone19:25
tjaaltonnot a huge deal for me atm, but the popups are annoying :)19:25
jbichaI don't know anything about that, I use Evolution :)19:26
jbichaactually I use Gmail but sometimes I use Evolution19:26
rbasakjbicha: sure. I guess it depends on the root cause which isn't obvious to me.19:29
rbasakIt seems like a bug to me that it doesn't work without irqbalance. Maybe a firmware/kernel/dtb thing?19:30
Eickmeyerjbicha: I don't see why it can't be fixed in the metas. FWIW, I can't test, my case doesn't have a power button.19:37
Eickmeyerjbicha, rbasak: I can see a use case for not having irqbalance on server, but for desktop I can see a use case. But on the other hand, a kernel bug perhaps? Something seems off about needing it.19:39
EickmeyerNot that it matters for rpi as it's out-of-scope, but (Studio hat on) irqbalance can mess with lowlatency processes. But (Edubuntu hat on) it doesn't really matter, but is it necessary? Maybe a stopgap until a kernel bug is fixed?19:40
* Eickmeyer is thinking out-loud19:41
rbasakEickmeyer: have you seen bug 1833322? There's extensive discussion on pros/cons of irqbalance there.19:42
-ubottu:#ubuntu-devel- Bug 1833322 in cloud-images "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" [Undecided, New] https://launchpad.net/bugs/183332219:42
Eickmeyerrbasak: I'll admit, I skimmed it. I definitely need to read it more in-depth.19:42
Eickmeyerrbasak, jbicha: Reading all of that and reading bug 2057822 through that lens, I'm highly skeptical of irqbalance being the culpret, more likely coincidental with a kernel bug. I will have to test for the same kernel message here.20:01
-ubottu:#ubuntu-devel- Bug 2057822 in ubuntu-meta (Ubuntu) "Removing irqbalance disables power button on Raspberry Pi 5" [Undecided, New] https://launchpad.net/bugs/205782220:01
vorlonjbicha, Eickmeyer: anyway, reassigning to ubuntu-raspi-settings, which is seeded in both Ubuntu and Edubuntu20:45
Eickmeyervorlon: I might be reassigning it to linux if I can't reproduce.20:46
vorlonno20:46
Eickmeyerrbasak, jbicha, vorlon: Unable to reproduce: https://bugs.launchpad.net/ubuntu/+source/ubuntu-raspi-settings/+bug/2057822/comments/121:15
-ubottu:#ubuntu-devel- Launchpad bug 2057822 in ubuntu-raspi-settings (Ubuntu) "Removing irqbalance disables power button on Raspberry Pi 5" [Undecided, Incomplete]21:15
rbasakEickmeyer: thank you for investigating!21:35
Eickmeyerrbasak: My pleasure. :)21:35
arraybolt3Who is the person who most frequently works on GRUB? I just ran into a bug that I think is pretty severe that only occurs when /boot is on BTRFS that I would like to address (will be filing a bug report soon).21:45
arraybolt3TL;DR: GRUB_TIMEOUT in /etc/default/grub is ignored and the timeout is always set to 30 if /boot is on BTRFS and the system is UEFI-based.21:45
arraybolt3Meaning the user always sees a boot menu on every single boot.21:46
arraybolt3This has been happening for a long time, but only just now is it something I'm pursuing fixing because it is about to affect an OEM I work with (KFocus).21:46
arraybolt3anyway, if there's someone I can ping about this, please let me know.21:47
Eickmeyerarraybolt3: I think you might want juliank, if not he can point you in the right direction.21:49
vorlonarraybolt3: juliank and mkukri.  But the issue there is that grub doesn't have read-write support for btrfs, therefore it cannot save state to a grub env file, therefore we cannot guarantee that the user will ever be able to get to the boot menu in the case of a problem unless we always display it with a timeout21:49
arraybolt3ahh21:50
vorlonwe should respect timeout /values/, but we should not let grub get into a state where the menu is not displayed21:50
vorlonbecause UEFI can't detect a shift key being held down21:51
arraybolt3UEFI can detect a rapid press of Esc during bootup though?21:51
arraybolt3That's how I usually get to the GRUB menu.21:51
vorlonit's racy21:51
mkukriarraybolt3 i believe the issue is detecting modified keys specifically21:51
arraybolt3as in a code bug, or just "it's hard to hit"?21:51
Eickmeyervorlon: ime, it doesn't display *at all* unless a) there's another OS installed, or 2) it didn't complete a previous boot.21:52
vorlon"it's hard to hit"21:52
vorlonEickmeyer: when /boot is on a filesystem we can write to, yes21:52
mkukrii think it's hard to hit. also sometimes you hit it at the wrong time and you get the console instead of the menu21:52
mkukriand there is like a 100ms window21:52
arraybolt3that makes sense. You do have to hit it immediately after the firmware screen vanishes.21:52
vorlonEickmeyer: but if it's btrfs there's no way to detect "it didn't complete a previous boot"21:52
EickmeyerI see.21:52
arraybolt3Also it only drops to a console if you mash Esc over and over.21:52
arraybolt3If you tap it once at just the right time, it works. It took some training before I figured out how to get it to work though.21:53
mkukrii dont think "grub training" should be a requirement for using ubuntu :)21:53
arraybolt3agreed21:53
juliankWe have bug reports for this and they're closed won't fix I believe21:53
mkukrii guess if someone really cares maybe we could use the uefi varstore for storing this information instead of the grubenv?21:54
vorlonis there support for that currently in grub?21:55
vorlonI do like the idea21:55
arraybolt3There's also the possibility of putting the GRUB environment file on the ESP perhaps?21:56
mkukrii dont think there is but grub surprising me wouldnt be the first time21:56
arraybolt3not sure how practical that is but it might be a thought21:56
arraybolt3I bet I can test it here, is there any immediately obvious reason why that would not work?21:58
vorlonI don't remember if there was a reason we previously ruled that out22:00
arraybolt3I'll see what I can make happen here, and maybe provide a merge proposal.22:03
kenyonany possibility of getting ddebs.ubuntu.com available over rsync like archive.ubuntu.com is? this would avoid the rate limit problem on http22:11
arraybolt3vorlon, mkukri, juliank: got it working23:37
arraybolt3I just patched the recordfail save line back into grub.cfg and then added some stuff for finding the ESP, grabbing the path to the grubenv that I had saved under EFI/ubuntu/grubenv, and then using the --file switch on all load_env and save_env calls to point to the right file.23:38
arraybolt3I now have working recordfail on a BTRFS-on-/boot system.23:38
arraybolt3Now, valid question, will the bootloader always be under EFI/ubuntu? There's a chance that the user might have a buggy machine and reconfigure it so that GRUB is saved straight to EFI/BOOT, and that will probably need special casing. But, the general proof-of-concept functions right.23:39
arraybolt3so now I have to find the right repo to submit an MP to, and write the real code as opposed to hacking grub.cfg directly23:39
arraybolt3er, ahem, correction - it *almost* works. Somehow recordfail isn't ever becoming unset, and I can't actually see where the ext4-based code ever unsets recordfail either.23:44
arraybolt3is the unsetting of recordfail done after the boot process? It sort of looks like it.23:46
arraybolt3ah, indeed it is.23:48
arraybolt3alright, now I actually have it working.23:58

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