=== guiverc2 is now known as guiverc [02:10] juliank, mkukri: Looking at grub2/debian/grub-common.service. Is there any reason in particular this file embeds shell code and uses ExecStartPre, ExecStart, and ExecStartPost? Or is it acceptable to put all that into a script of some sort and have it called by ExecStart? [02:11] Asking because I feel cramming the code to detect when grubenv is on the ESP into those lines is... decidedly non-ideal. I mean it's doable, but it will look like a disaster. [04:13] At any rate, I have most of the code written (with some review help from mmikowski, thank you!) to enable putting grubenv on the ESP when running on an EFI system where grubenv wouldn't usually be writable. The last thing to fix is the grub-common.service. Anyway, going to go afk for probably the rest of the night, will catch up in the morning and see what needs done. [07:53] anyone else running noble and a thinkpad, and like to scroll with the middle-button pressed and using the nipple up/down, left/right? I'm seeing an infuriating issue where it send an extra middle-click when you stop scrolling, which means pasting whatever is on the buffer or opening new tabs in tbird or closing tabs on ffox.. [08:00] arraybolt3: did you take into consideration the case where multiple ESPs exist? [08:01] for example when they are synced across two disks of a raid. i believe that could cause problems because you dont know which one you booted from and which one contains the up to date grubenv [08:32] my scrolling issue seems to only happen with a thinkpad usb keyboard, not a real system, and it can be "fixed" for a while by unplugging the keyboard. but it comes back after some time.. and this started after upgrading to noble. dunno who to blame, kernel/libinput/gnome [08:32] "real system = thinkpad laptop" [10:23] or maybe it's just going bad, so sad.. an older model is working fine === sem2peie- is now known as sem2peie [12:01] @pitot in [12:01] @pilot in === 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: bdrung === sem2peie- is now known as sem2peie === sem2peie- is now known as sem2peie === sem2peie- is now known as sem2peie [14:58] \o [15:00] xypron: ECHAN? [15:05] ginggs, yoga fits every chan 😛 === rkratky__ is now known as rkratky === cpete__ is now known as cpete [15:35] mkukri: I did not take that into account, thanks for mentioning that! I figured this was going to be edge-case prone and was actually thinking of other edgecases (complex multiboot, what if the user wants to write grub.cfg manually, potential for grubenv file format to change, what if GRUB is in EFI/BOOT rather than EFI/ubuntu, etc.). Hopefully by the time I have a debdiff out it'll be close [15:35] to usable. [15:35] arraybolt3 please file this as a git MP instead of debdiff [15:35] https://git.launchpad.net/~ubuntu-uefi-team/grub/+git/ubuntu [15:36] One note [15:36] We have a primary ESP, mounted to /boot/efi. We can record the uuid of that [15:36] then in the grub.cfg you can search --fs-uuid= [15:36] to then find the grubenv in that [15:37] If your primary ESP fails, you lose the environment but merh [15:37] yep, that's what I'm doing [15:37] juliank: oh, awesome [15:37] mkukri: thanks for the git link, I wondered if one of those existed [15:37] also, about grub-common.service - any reason to not yank that logic into its own script and just call that? [15:37] there is also a repo under ~ubuntu-core-dev which is technically the official one, but for reviews that one is fine [15:37] that will let me add the detection logic for when grubenv is on the ESP [15:38] (There's already a script under /etc/init.d/grub-common that looks to do the same job, but that's apparently not being called by systemd since when I modified it, nothing happened in my test environment) [15:38] i guess you can put a script in /usr/lib/grub/grub-your-script and call that [15:38] kk [15:39] I think we removed /etc/init.d/grub-common [15:40] I thought we had removed it, anyway [15:41] it exists on my noble vm, not 100% what package puts it there... [15:41] i guess grub-common, but i think only the sd service works [16:04] can anyone please mark LP: #1970521 as affecting Jammy [16:04] -ubottu:#ubuntu-devel- Launchpad bug 1970521 in boinc (Ubuntu) "boinc-client crashes when started with core dump on Xubuntu 22.04" [Undecided, Confirmed] https://launchpad.net/bugs/1970521 [16:05] * sudip requested in #ubuntu-bugs yesterday but.. :( [16:06] mkukri, juliank: running this idea by you - in the event of a multiboot scenario with multiple Ubuntu versions sharing the same ESP, every time one of the installed Ubuntu versions "takes over" the ESP, it will change the GRUB version there but *not* the grubenv file. That could potentially result in grubenv being too old or too new for the installed GRUB. The easiest way I can think of to [16:06] get around this is to simply nuke and recreate grubenv on every update-grub event (which I assume will happen on every GRUB installation event, though I guess it might not, so perhaps the nuke-and-recreate has to be done in GRUB's postinstall too?). [16:06] sudip: happens on Noble and Jammy? [16:06] nope, just Jammy please [16:07] sudip: . [16:07] thanks arraybolt3 [16:07] glad to help :) [16:10] @pilot out === 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 [16:59] @pilot in === 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: kanashiro [17:21] mkukri: well I think my patch is finished, *but* I can't get GRUB to build because of a Python unit test failure in test_grub_sort_version.py where grub-sort-version errors out with "ModuleNotFoundError: No module named 'apt_pkg'". [17:21] smells like something transition-related to me, not exactly sure. [17:24] arraybolt3 ah crap it's not, that repo has unpublished changes, and that's a bug not caught on my box, please add python3-apt to the build-depends in d/control and it should built (it's already in regular depends but in needs to be in both with those tests) [17:25] aha, that makes sense (I didn't spot it because it was in Depends). [17:27] * mkukri has some hacky "speed up grub build" chroots that has the depends and build-depends preinstalled [17:28] oooh nice, I'm over here just using plain-ol sbuild [17:28] though I do make use of shm overlays [17:28] it's a regular sbuild chroot that i just schroot into and preinstall stuff for re-running sbuild [17:29] oooh nice [18:06] sudip: I'm really enjoying your SRU verifications [18:06] in a sea of ambiguous verifications that we see many times, yours are very precise === jkkm_ is now known as jkkm === eichin_ is now known as eichin [18:42] It looks like my patch is working! [19:21] ahasenack: :) [19:22] * sudip still has some pending, which is in my weekend's todo list [19:23] and sagemath is still pending.. :( [19:23] * sudip wonders if waveform will want to enjoy another round of sagemath [19:33] mkukri, juliank: https://code.launchpad.net/~arraybolt3/grub/+git/grub/+merge/462445 [20:10] does anyone know how to edit a PPA's dependencies to include -proposed? I can see --ppa-dependencies but that seem to be only for dependencies to other PPAs [20:10] bryceh: ^ [20:13] adrien: https://ibb.co/S6k2NvD [20:13] arraybolt3: I'd like to do that from ppa-dev-tools instead [20:14] ah, sorry [20:14] looking at the code, it doesn't seem possible but I'm not familiar with the code [20:19] @pilot out === 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