@adamw@fosstodon.org avatar

adamw

@adamw@fosstodon.org

Fedora QA team lead. If Fedora isn't working, it's probably my fault! he/him/his

This profile is from a federated server and may be incomplete. Browse more on the original instance.

adamw, to random
@adamw@fosstodon.org avatar

today's embarrassing workflow confession: I just now switched to using git remote add instead of manually editing .git/config, which I've been doing for I think about a decade at this point

qlp, (edited ) to linux
@qlp@linh.social avatar

With a little of spare time this morning, I was able to (finally) install Fedora 39 on my Microsoft Surface Pro 3 with Secure Boot enabled using a bootable USB stick with an older version of BOOTX64.EFI. [1]

I had to temporarily disable TPM in order for the system to boot after the install. Resetting the Secure Boot keys to Microsoft and Third-Party keys and re-enabling TPM [2] after installing the latest updates allowed me to boot back into Fedora with both TPM and Secure Boot enabled.

Since I still wanted a computer that ran KDE Plasma, I went with the KDE spin.

The Surface is definitely a bit tired and slow, but still very usable for browsing the web and editing documents.

Links:
1: https://discussion.fedoraproject.org/t/install-media-dont-boot-in-uefi-mode-on-certain-motherboards/71376

2: https://discussion.fedoraproject.org/t/gnome-software-update-boot-error-grub-core-commands-efi-tmp-c-unknown-tpm-error/75009

adamw,
@adamw@fosstodon.org avatar

@qlp we're hoping this stupid boot bug will finally be fixed in the final release of f40, but it depends on secure boot signing timeframes...

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

if you have your current git branch in your shell prompt, what do you use to set it up?

so far I know about

adamw,
@adamw@fosstodon.org avatar

@gnomon @b0rk i did not realize this was a stealth poll! add one to built-in, then. :P

sprocket, to fedora
@sprocket@fosstodon.org avatar

I didn't realize that does not ship with OOTB.

Nothing wrong with that, just an observation.

adamw,
@adamw@fosstodon.org avatar

@sprocket there's an interesting kinda nexus with default apps on silverblue: the team doesn't want to ship too many things "baked in" as RPMs, I think, in case you don't want them, or want to use a flatpak instead (it's a bit awkward to override a baked-in RPM with a flatpak). but with current policies they can only include Fedora Flatpaks as default flatpak apps, and I don't think we have a Fedora Flatpak build of LO. IMBW, but I think that's the crux...

leochavez, to fedora
@leochavez@mastodon.social avatar

Omg, , slow down, I just did this yesterday! I'm trying to enjoy Plasma 6 in peace! 😂

adamw,
@adamw@fosstodon.org avatar

@leochavez rawhide is going to be like that pretty much every day, I'm afraid. it's a development version, it's where we do...development. :D

in a few days you'll get an update to nearly every installed package because of the mass rebuild, so look forward to that!

fedora, to fedora
@fedora@fosstodon.org avatar

The Community Platform Engineering team is considering some changes to dist-git - the git used to organize Fedora Linux itself!

Take a look: https://www.youtube.com/watch?v=96JaNOn05Zg

adamw,
@adamw@fosstodon.org avatar

@fedora for anyone who prefers text to video, or needs it:

https://fedora-arc.readthedocs.io/en/latest/dist-git-move/index.html

dhry, to fedora
@dhry@mastodon.social avatar

Ok, for real? Might have to give a hard pass here.

adamw,
@adamw@fosstodon.org avatar

@dhry uh. where did you get this fedora environment from? edit: is it silverblue?

adamw,
@adamw@fosstodon.org avatar

@dhry ah. then the intended way to install extensions is via extensions.gnome.org using the pre-installed firefox, I believe. there's also a couple of flatpaks you could install that claim to do extension management, I've no idea if those work.

if you really have to overlay packages on silverblue, https://docs.fedoraproject.org/en-US/iot/add-layered/ is the way to do it. I don't know if overlaying gnome-shell-extensions works, I've never tried it.

adamw,
@adamw@fosstodon.org avatar

@dhry flatpak names are usually something like org.gnome.Extensions , they don't look like package names.

adamw,
@adamw@fosstodon.org avatar

@dhry in general, using an atomic env like 'properly' is a bit different from using a traditional packaged distro, it takes a minute to read up on docs or forums and get used to the differences. if it seems like too big of a leap you might just want to try Workstation for now?

adamw, to random
@adamw@fosstodon.org avatar

today:

  • spent the entire day down a vast rabbit hole of ancient Fedora/EL release perl packaging stuff, trying to help a project which really didn't care to be helped. I should've taken a hint and quit sooner, but I am bad at stopping in the middle of things. Oh, well
  • emerged, at least, with https://src.fedoraproject.org/rpms/inxi/pull-request/1 to fix downstream problems

In case anyone was reading along at home with popcorn, here's how that test matrix turned out...

adamw,
@adamw@fosstodon.org avatar

(yes, I did manage to get a CentOS 6 system installed, on a network, and configured with working yum repos for the base system and EPEL. I was surprised too!)

smxi, to fedora
@smxi@fosstodon.org avatar

More / CPU issues, it looks like / have changed a default standard path in /sys for unknown reasons, thus breaking inxi cpu speed collection. This tripped need to do more refactors, this time to the fake cpu data debugger logic, it was not complete.

Also, a new codeberg issue pointed out that in many I can get basic RAM/RAM array data from udevadm, which appears to dump some dmi data into itself, available to user.

Still tracking down root causes.

adamw,
@adamw@fosstodon.org avatar

@smxi
So what other modules do you have workarounds for? I'm trying to see if there is something practical I can do in current fedora to improve any issues.

adamw,
@adamw@fosstodon.org avatar

@smxi OK, thanks. File::Find and File::Copy are both required by perl currently - https://src.fedoraproject.org/rpms/perl/blob/rawhide/f/perl.spec#_285 and line 287 . they have both been there since at least F38, the oldest current release - https://src.fedoraproject.org/rpms/perl/blob/f38/f/perl.spec#_269 .

File::Spec::Functions is not there, I'll see if I can find out why not.

edit: that was incorrect, File::Spec::Functions is required by perl, see followup.

adamw,
@adamw@fosstodon.org avatar

@smxi @Perl @mjgardner oh, I see, so you're saying you'd prefer for all the core modules to be in a single package rather than split into subpackages and required by perl?

I think the main reason they aren't - if I understand this 'dual life' thing correctly - is that we want to ship the newer versions from CPAN. I might be getting that wrong, though.

adamw,
@adamw@fosstodon.org avatar

@smxi I don't 'have' to defend anything here, i'm not on work time. :P I just look for places where folks are having trouble to see if there is something we can improve. I am trying to understand if there is something we can change in fedora now that would help.

As I linked further upthread, AIUI, the current intent in Fedora is that all core modules should be required by the 'perl' package. if there are any that aren't, I will look into that. if there is something else, I'd like to hear it.

adamw,
@adamw@fosstodon.org avatar

@smxi @mjgardner okay, so looking across RHEL and Fedora: the last remaining not-EOL thing which has the old setup - where 'perl' did not require core modules, but 'perl-core' did - is RHEL 7. RHEL 7 is EOL in June 2024. Fedora since 27 and RHEL since 8 have had the 'perl' package require the core modules. So, again IIUC, we did in fact "stop this stupid behavior". is there still some remaining stupid behavior that I am missing?

adamw,
@adamw@fosstodon.org avatar

@smxi @mjgardner I meant that RHEL has that overall design now - I didn't look into exactly the modules you listed on every branch yet, sorry, it's honestly kinda tiresome to do for RHEL since I don't really work on RHEL much. I'll keep digging.

adamw,
@adamw@fosstodon.org avatar

@smxi @mjgardner I just checked EL 8 (using centos stream because I don't have RHEL entitlements set up...)

as in Fedora, File::Spec::Functions is part of perl-PathTools, and perl-PathTools is required by perl. so just doing dnf install perl and then running inxi should work.

I did dnf install perl and then perl -e 'require File::Spec::Functions;' and it worked fine.

adamw,
@adamw@fosstodon.org avatar

@mjgardner
My point is that he never had to make changes even for the older Fedora releases, at least in the concrete cases I can see here in the inxi source and Fedora history. He was adding upstream workarounds for dependencies the Fedora packager left out of the Fedora inxi package, basically.
@smxi

adamw,
@adamw@fosstodon.org avatar

@mjgardner @smxi that's exactly what I'm saying he could do.

let's get in the Magic Git Time Machine and I'll show you what I mean!

the workaround I'm looking at is:
https://github.com/smxi/inxi/blob/master/inxi#L1591
it was added in 5234e390 in December 2020.

it seems smxi was fixing things a bit behind, because perl-File-Find was added as a dep in Fedora in April 2020:
https://src.fedoraproject.org/rpms/inxi/c/24b618a

but before that, the fedora looked like this:
https://src.fedoraproject.org/rpms/inxi/blob/745c1f6c9cc545213a840b79b25987c8ef71600f/f/inxi.spec

adamw,
@adamw@fosstodon.org avatar

@mjgardner @smxi but he does care about Fedora! he's specifically adding workarounds upstream for it, and then complaining about how he had to do that.

I'm saying that he doesn't have to. He can just write inxi the way he wants to: by assuming that all perl core modules will always be available, and not adding any workarounds to consider the possibility that they won't. if that causes any problems on fedora, he should tell fedora to fix it, because it's our problem.

adamw,
@adamw@fosstodon.org avatar

@mjgardner @smxi I am fixing the problems in the Fedora inxi package, and writing a PR for inxi upstream which dumps all the onerous workarounds intended to accommodate core modules not being present on a Fedora system that's trying to run inxi, because that simply is not a thing upstream should ever need to worry about.

i'm currently at the stage of building a package with those changes in it and installing it on a completely stock f39 VM to check it works as intended.

adamw,
@adamw@fosstodon.org avatar

@smxi @mjgardner @Perl that use case is fine. As I said, if you want to run inxi standalone on Fedora or EL, it seems reasonable to expect you to run "dnf install perl" first. If you do that, on EL 8 and later or Fedora 28 and later, it will work fine (but I am going to test it with my PR to double check this). If someone doesn't run "dnf install perl" before trying to run a perl program, that seems like that person's problem and nobody else's. :)

adamw,
@adamw@fosstodon.org avatar

@smxi @mjgardner @Perl the only potentially tricky case is EL 7, which still had the old setup where "dnf install perl" doesn't get you the perl core modules. I can add some code that handles that specific situation and tells the user what to do (dnf install perl-core).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • modclub
  • normalnudes
  • ngwrru68w68
  • magazineikmin
  • Durango
  • ethstaker
  • Youngstown
  • rosin
  • slotface
  • InstantRegret
  • everett
  • JUstTest
  • thenastyranch
  • osvaldo12
  • Leos
  • cubers
  • tacticalgear
  • khanakhh
  • mdbf
  • GTA5RPClips
  • anitta
  • provamag3
  • cisconetworking
  • tester
  • lostlight
  • All magazines