News for hackers. Stuff that matters.
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @04:38AM (#29286715)
> Guix System is an advanced distribution of the GNU operating system. It uses the Linux-libre kernel

It's worth pointing out that the linux-libre kernel is developed under the FSF doctrine that "binary blobs are bad unless you can't see them". This has been taken to its logical extreme here, where this Linux fork actively removes security warnings informing users that they need to update their CPU microcode, because microcode in ROM is fine but dynamically loaded microcode updates are not, in this school of thought.

https://lists.gnu.org/archive/html/info-gnu/2018-04/msg00002...

I have no interest in software that uses arbitrary religious dogma (that doesn't help users' freedom, as those users' CPUs have proprietary microcode whether they know about it or not) to justify censoring critical security vulnerability notifications for users. I regard this as actively evil anti-user behavior.

Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Saturday November 20, 2021 @09:04AM (#29288153)
Lobbing a charge like "Arbitrary religious dogma" is pretty much the opposite of a reasoned look at what the goals are here.

I find the approach interesting. The goal of the Free Software folk was never primarily to "provide the best information to the end user," it is to "preserve software freedom." Guix looks like a possible technical path to do that. Will it work? Will it cause harm? I don't know yet.

Either way, the law-slash-tech has always come before "ensuring that it's public-understood and ready" as it should.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @01:53PM (#29290768)
There is no freedom without information. Freedom requires being informed so you can take decisions that you believe are best for you. Lack of knowledge restricts your ability to make the right choices, and thus your freedom.

"Freedom" through lack of information is the kind of tactic that repressive regimes use to control their populace. It has no place in an organization claiming to further and support true freedom.

Re:I Love Arch, but GNU Guix Is My New Distro by nextos on Saturday November 20, 2021 @02:02PM (#29290836)
I don't fully agree with some of these decisions, but in the defense of Guix I must say as a user replacing linux-libre by the linux kernel is trivial if you are using guix tooling.
Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Saturday November 20, 2021 @05:34PM (#29292446)
And exactly when did Guix or the FSF censor anything?

I'm not speaking for them, but I'm pretty sure they would say something in the realm of "the information provided by your updates is a false sense of security, so why WOULD we pass that on?"

Re:I Love Arch, but GNU Guix Is My New Distro by smoldesu on Saturday November 20, 2021 @02:05PM (#29290855)
Reading this from the guy who's trying to put Linux on a black-box has a certain flavor of irony, to me.
Re:I Love Arch, but GNU Guix Is My New Distro by dralley on Saturday November 20, 2021 @09:22AM (#29288291)
Yes, but how does static proprietary firmware blobs burned into ROM "preserve user freedom" vs. dynamic loading, even if the user has complete control? It doesn't, and that's why it's arbitrary.
Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Saturday November 20, 2021 @09:29AM (#29288360)
Those two things are WILDLY DIFFERENT in real life. Broadly, "firmware blobs" are usually put there by companies and other entities that you can much better track (and sue if you have to). Dynamic loading stuff can come from any-darn-where. Apologies, but this should be really obvious.
Re:I Love Arch, but GNU Guix Is My New Distro by dralley on Saturday November 20, 2021 @09:41AM (#29288460)
Yes, that is obvious. It is in fact one of the benefits dynamic loading provides for people who care about free software. The blob can often be reverse engineered and replaced with free software.

And literally everyone signs their firmware.

Re:I Love Arch, but GNU Guix Is My New Distro by ckastner on Saturday November 20, 2021 @09:39AM (#29288444)
The OP referenced CPUs and for at least AMD and Intel CPUs, firmware blobs need to be signed.
Re:I Love Arch, but GNU Guix Is My New Distro by KingMachiavelli on Saturday November 20, 2021 @01:39PM (#29290660)
In theory a government could force AMD or Intel to sign a malicious firmware. That could be distributed as the normal firmware or used to target a specific person.

Firmware that ships with the actual CPU is a bit 'safer' because it has a lot more users and eyes looking at it (sort of). Depends on what your attack vector is.

Another aspect is that while this policy is worse for Linux-libre users, it is sort of a protest against needing these binary blobs. The hope is certainly that adoption of Linux-libre would result in AMD/Intel not having these non-free software requirements.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @01:59PM (#29290816)
Nobody is looking at Intel's microcode mask ROM. It's in ROM. You can't even look at it.

Microcode is a bad example because the updates are encrypted too, but for the vast majority of the blobs that the FSF hates so much, at least you can look at them and audit them with a disassembler. Meanwhile, the devices with giant firmware ROMs that they openly endorse are not auditable, as you can't see the blob. This policy is making it easier for manufacturers to ship backdoors that will never be detected.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @02:46PM (#29291246)
so after so many posts this is the only one that expresses your point clearly. notice how it does not contain any FUD

to the said point, this is definitely a VALID security concern. FSF needs to make these concerns clear. you seem to be very invested in this matter. have you raised these concerns with them?

EDIT: having thought about it some more. doesnt isolating blobs to ROMs restrict the problems to ROMs? i mean non-RYF certified hardware already has this problem. the strategy might them be to focus efforts on opening up ROMs. note that this is simply a question. i am not an expert in this field but i am trying to form an informed opinion

Re:I Love Arch, but GNU Guix Is My New Distro by alexvoda on Sunday November 21, 2021 @07:52AM (#29295970)
People have raised these concerns. I have personally raised this concern directly to RMS at one of his conferences.

It gets ignored.

I believe it is for the same reason religions ignore issues.

The FSF totally acts as a religion. The church of his Gnusance St. Ignutiutus. And just like religions it pretends to hold an ethical position while making compromises for practical reasons.

Compare religions claiming:

- Killing is bad, unless it's about opponents in war. - Slavery is bad, unless it's outsiders who are slaves. - Blobs are bad, unless they are stored on chip flash.

The FSF gets criticized precisely for this hypocrisy. And just like religions ignore criticism about their inconsistencies so does the FSF.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Sunday November 21, 2021 @10:30AM (#29296851)
>The FSF totally acts as a religion. The church of his Gnusance St. Ignutiutus. And just like religions it pretends to hold an ethical position while making compromises for practical reasons.

so is FSF dogmatic or is it practical? surely they cant be both

Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Sunday November 21, 2021 @01:09PM (#29298299)
It's definitely both -- it's just that the dogma is broad, and they appear to very carefully and intelligently choose battles. The dogma is "long term software freedom." This includes occasionally accepting that there are battles not worth fighting (or better yet, fighting strategically.)

A really simple example is GPL violations. Pure dogma would require that they try to fight a whole lot of them, since they occur all the time and they're clearly in the legal right.

But they don't, and that's the MUCH SMARTER way to go.

Why this Guix thing strikes me as smart is that it's about "reinforcing modularity." They can't free up EVERYTHING, but they can make the software work different so that it's harder to pretend that everything is all the same.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Sunday November 21, 2021 @01:58PM (#29298728)
then you must disagree with alexvoda who said that FSF "pretends to hold an ethical position"?

to clarify my previous post, i was using the term dogmatic in the context of some people claiming that FSF is a cult

Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Sunday November 21, 2021 @11:14PM (#29302642)
To go big picture, I think all of this is rooted in the fact that "capitalism as practiced" has addled our brains into thinking that there can only be two kinds of organizations, companies that go for profit at all cost, and pure-of-heart non-profits that must be on some monk-like religious stuff.

What it can't conceive of is an organization with big picture goals that aren't "making a profit" that require strategy and even "real life experimentation." That's what's happening here; y'all are just confused because the FSF feels like "religion" because it's not going for profits, but somewhat acting like a for-profit, in that it's picking and choosing battles.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @03:10AM (#29304015)
i dont think FSF is a religion. actually i am arguing against this labeling
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:17PM (#29293895)
Lots of people have tried to raise concerns such as this one with them. They've stopped listening.
Re:I Love Arch, but GNU Guix Is My New Distro by LargoLasskhyfv on Saturday November 20, 2021 @09:46PM (#29293744)
Cited from the article:

To respect these principles the Guix project (and others) asks to not discuss non-free software, hardware support, or related matters on official channels. These questions and non-free packages are best left to any number of other venues. Guix does not actively hamper a user’s ability to load non-free software or firmware (see freedom 0), but will not support this in any official capacity. That said, the community is very nice and will not kick you from IRC if it comes up (more likely you’ll get some private messages directing you or helping you out), but better to remember their rules.

I think that says all.

"Hush, hush, and don't look under the rugs!"

Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Sunday November 21, 2021 @01:14PM (#29298334)
I don't think that's what is being "said" at all.

This is diplomacy. This is exactly the correct way to act when you are diametrically opposed to something that is widely used, popular, and prevalent -- when you hate something; but understand that other people don't and you're going to have win them over.

Re:I Love Arch, but GNU Guix Is My New Distro by kdtsh on Saturday November 20, 2021 @09:43PM (#29293728)
This is an enormous thread now - in case it hasn’t already been mentioned, Guix neither helps nor hinders users from using any kernel they like. There is a repository called nonguix, made available by community members, which includes the upstream, non-free kernel, as well as microcode updates for Intel processors.

The Guix project states clearly that it does not support these uses of the software, but that users are free to use it - because the software is released under the GPL.

So what exactly is the problem? The Guix maintainers consider their users to be competent and able to make decisions for themselves - the charge of ‘evil anti-user behaviour’ isn’t so inappropriate as it is laughable and immature.

Also, as other commenters have mentioned, I have never had a warning that I need to install new microcode from any distribution. As a matter of fact, it would not surprise me if other distributions were not to give me a choice in installing new microcode - if I’m running underpowered hardware (not uncommon for hobby Linux users, especially if the hardware is known to be well supported), and I don’t have much to lose on that hardware, having mitigations against things like Spectre/Meltdown is a calculated decision given the performance impact, so why shouldn’t I at least be able to choose? With Guix, this is a one-liner in your configuration.scm file.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @11:42PM (#29294233)
The problem is the endorsement of linux-libre, which goes beyond deblobbing into actively censoring messages.

I'm sure Guix allows users to choose (it has to, thanks to Freedom 0, as you say), but by choosing a kernel by default that chooses to withhold information from its users, it is encouraging decreasing user knowledge. That is something that people should be aware of, and honestly, something that should be considered a bug to fix. We can't allow the proliferation of schools of thought that promote not educating users about their options, justified by ideology.

For what it's worth, disabling microcode updates in other distros is just uninstalling a package (or not installing it in the first place; my distro of choice, Gentoo, does not install it by default).

Re:I Love Arch, but GNU Guix Is My New Distro by kdtsh on Sunday November 21, 2021 @05:44AM (#29295367)
This is completely obtuse. Why isn’t your anger at the Guix or Linux-libre maintainers’ supposed withholding of information (‘censorship’) directed instead at publishers of closed-source, unauditable binary blobs, which constitute a fundamentally greater security risk than any auditable code repository ever could? How does it even make sense for Linux-libre to publish notifications about available binary blobs of any kind, including microcode? Why doesn’t Intel just release the source so this can be put to bed?

There is an ideological battle here, and despite the way you frame it, it is between people who believe that users should be empowered to know what the software they run does, and people who don’t. Linux-libre sits in the camp of the former. I don’t know into which camp you fall, but your argument suggests the latter. I personally use the upstream Linux because it works easier for me and the hardware I have, but I have no bones about the fact that I am running non-free software, that that ideally I would have hardware which supported fully free software.

Also, as I said, the Guix maintainers believe that their users are competent. Guix users know what they’re getting into when they run Guix, at least when they get to the point when they would drive it daily or run it on a system they see as critical. We know that microcode isn’t included when we use Linux-libre, because it is non-free - and that’s just the way it is. Saying that the Guix project is withholding information from us is incredibly patronising. It’s not a big conspiracy - the project, along with the rest of GNU, is openly in favour of maintaining repositories of fully and solely free software, to the exclusion of all non-free software. And it goes without saying, it is not the job of people in the GNU Project to educate people about the perks of running non-free software - there already exists a wealth of resources about how people can go about doing this, and it does not align with the clearly stated goals of the GNU Project.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Sunday November 21, 2021 @11:52PM (#29302887)
You're ignoring the crux if the issue. This isn't about running proprietary microcode or not. All x86 Guix users are running proprietary microcode. Period. This is a fact, whether they know about it or not. It's not optional. Would it be great if they didn't have to? Sure. But that's not the world we live in.

This is about withholding information about an update to the proprietary microcode they are already running. There is absolutely no reason not to offer users this choice, given they're stuck running the ROM blob to begin with. The only reason the FSF and Linux-libre do this is because they want users to feel better by not knowing about the blob they're already running. There is no freedom gained, only the illusion of freedom. Users don't know what their ROM microcode does just as much as they don't know what the update does. The only thing we know is it fixes a bug.

I believe a world where all software, firmware, and hardware is free would be ideal. I also know that is not the world we live in, and so I believe in empowering users with the information about what options they have, what the security/freedom/privacy/etc tradeoffs are, and letting them make their own choices. The FSF's push for restricting information so people believe they are not running any nonfree code is diametrically opposed to my views for this reason. I believe having the illusion of freedom is harmful to the cause for software freedom, as it obfuscates the reality of the current state of affairs. Every single die-hard FSF fanboy needs to learn about the 27 blobs running in little ROMs inside their computer, so they stop believing they live in a fake freedom utopia and come to terms with the reality we live in. Maybe then we'll have even more people pushing for firmware freedom.

I'm not even saying Guix should ship the update. But actively censoring information about the existence of the update? That's just ridiculous. Your users are already running the blob. Stop trying to pretend they aren't and tell them it's broken already. How is it better when users are stuck running broken proprietary software when a fix is available because you refuse to inform them about it? That's completely irrational.

Incidentally, this is a falsehood:

> closed-source, unauditable binary blobs, which constitute a fundamentally greater security risk than any auditable code repository ever could

This kind of absolutist view is another problem with this school of thought. Blobs can be in a position where, by the nature of their access or lack thereof to the rest of the system, they pose minimal security risk even if presumed completely evil. This is evidently a much lower risk than, say, low quality open source code in a position of extreme privilege with a large attack surface. Auditability doesn't mean things get audited or all bugs fixed. I have no problem trusting that a blob in a harmless I/O microcontroller poses little to no security risk to me over, say, certain open source cryptography/key storage implementations I've seen which raise a million red flags. Context matters, and the FSF's refusal to consider any context or nuance is also hurting users by not empowering them to make the decisions that are the best for them.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @04:18AM (#29304448)
>Every single die-hard FSF fanboy needs to learn about the 27 blobs running in little ROMs inside their computer, so they stop believing they live in a fake freedom utopia and come to terms with the reality we live in. Maybe then we'll have even more people pushing for firmware freedom

who believes this? why are you constantly being insulting? a lot of linux fanboys think that if you run linux you can't get hacked. does that make linux dishonnest? of course not! there are misinformed people everywhere. having been in this exchange for about two daya i learned that FSF does a very good job to inform users about what using their products entails

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @05:30AM (#29304914)
https://ryf.fsf.org/products/TET-BT4

No mention of the half megabyte of proprietary Bluetooth stack firmware (with significant security and privacy implications) that's in that dongle which supposedly "Respects Your Freedom".

https://ryf.fsf.org/products/VikingsX200

No mention of:

* Proprietary CPU microcode ROM (full access to CPU/memory, security critical)

* Proprietary embedded controller firmware (H8S, connected LPC bus, full access to all memory, security critical, might be able to cause physical destruction / a fire with the right GPIO abuse)

* Proprietary TPM firmware (connected to LPC bus, full access to all memory, security critical)

* Proprietary USB camera firmware (connected to USB port, very large attack surface for OSes)

* Proprietary Bluetooth module firmware (connected to USB port, etc.)

* Proprietary USB card reader module firmware (connected to USB port, etc.)

* Proprietary SATA HDD firmware (can access/modify all user data, security critical if you don't use FDE + integrity)

And those are just the ones I could quickly pick out from the schematic; pretty sure there's at least a couple more major ones and even more minor ones. All the other laptops they endorse are in a similar situation.

How, exactly, are the FSF informing users about the devices they endorse?

Re:I Love Arch, but GNU Guix Is My New Distro by r283492 on Monday November 22, 2021 @05:26PM (#29312294)
And if free software existed for any of those chips, FSF would require it. If there is any room for consistency in the criteria, it would be to deal with the fact that some of the computers have less nonfree firmware than others. Eg: the raptor computer has far less than the x200.
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @06:01AM (#29305102)
their certification process as oitlined on https://ryf.fsf.org/about/criteristates:

BEGIN

> there is one exception for secondary embedded processors. The exception applies to software delivered inside auxiliary and low-level processors and FPGAs, within which software installation is not intended after the user obtains the product. This can include, for instance, microcode inside a processor, firmware built into an I/O device, or the gate pattern of an FPGA. The software in such secondary processors does not count as product software.

>We want users to be able to upgrade and control the software at as many levels as possible. If and when free software becomes available for use on a certain secondary processor, we will expect certified products to adopt it within a reasonable period of time. This can be done in the next model of the product, if there is a new model within a reasonable period of time. If this is not done, we will eventually withdraw the certification.

END

this explains their decisions in terms of their software freedom ideals, and its perfectly clear. i keep trying to explain to you that FSF is not about doing their best in terms of security. FSF is about doing what they believe is best for software freedom. althought it would be nice, i just dont see why they MUST inform their users about security entailments

of course, it is perfectly fine to point out security flaws in such an approach, but FSF is not selling security, and since the original topic is GNU Guix distro, GNU Guix does not market itself as a security-centric distro. why is this so hard for you to accept

alot of your argument rests on failure of their logic and bluring of a clear distinction between hardware and software. fine, it is a VALID point, but it is a corner case. FSF has taken an approach they believe deals best with such corner cases and explained their reasoning. they might be right in their approach, they might be wrong. you cannot satisfy everyone and not accepting that is just simply infantile

FSF is a pretty large organisation. for large organisations some form of bureocracy becomes necesary to achieve normal functioning. however, bureocracy will always entail some ilogical elements, esspecially in corner cases. that is just life, i believe

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @06:23AM (#29305219)
> doing what they believe is best for software freedom

It is quite self-evident that not being open about the existence of proprietary code is not the best for software freedom.

I know about their certification process; my entire argument is that their criteria are terrible and the lack of transparency about specific devices and what firmware they contain deceptive. You bringing up their criteria repeatedly isn't helping you counter that point. This silly loop of "The criteria suck. / These are the criteria." doesn't get us anywhere.

If the FSF believe in software freedom, why are they not informing their users about the nonfree software that exists in the devices they sell as "Respects your Freedom"? I'm not saying "why are they certified here"; fine, they have their rules. Why are they not documenting how these devices interact with those rules? Why are they obscuring all of this? What do they have to gain by keeping people in the dark?

To me it is just very clear that they're doing this because they are trying to build a narrative that is different from reality, and the only way that narrative works is if people don't discover the problems with it. Your opinion may differ, but everything I've seen about the FSF's behavior in recent years points towards that. If they wanted to be honest there would be no reason not to document those firmware blobs.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @06:53AM (#29305392)
arguing that FSF is some crazy sect or a religion is certainly not constructive to improving what they do

i think that how you framed your concern in this last point is valid from a security point of view. as someone who values knowing security implications i support the argument that they should improve their work on security matters. in saying that, to me FSF is certainly no worse (i would think alot better) than closed source vendors, including ms, apple, intel, nvidia etc as far as making their users aware of security problems is concerned. i actually think that every device should come with a cigarete packet style label that says "might include backdoor inside", not just FSF products. in fact, maybe if only FSF did this, it might create an impression that only their products have this issue

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @08:08AM (#29305938)
See, the funny thing is that Apple's M1 devices are less backdoorable than the FSF's "Respects your Freedom" laptops. That's because unlike those obsolete laptops, Apple's designs actually firewall off all the blobs and coprocessors using IOMMUs, and those IOMMU configurations are introspectable by system software so it can confirm they are correct and not granting too much access. That means if you boot Linux on an M1, and you check the IOMMU configs (most of which are not locked, but those which are are readable), you can say "yup, this isn't backdoored". There is also no nested virtualization support on those machines, and the design of ARM virtualization makes it impossible to "hide" a secret backdoor hypervisor. There is also no ME or any other hyper-privileged software. On top of that, the fact that Apple uses code signing for their entire boot stack means that only they can theoretically (though as I said, in practice detectably) backdoor your laptop - that's much better than the RYF laptops, which have no security and therefore anyone in the supply chain can backdoor them. Oh yeah, and all the post-boot blobs on M1s are stored in the filesystem or readable Flash memories, so you can actually audit them, unlike all those microcontrollers with LPC access to all system RAM on the RYF machines. That's just nasty, the perfect design for an invisible backdoor.

So yes, the FSF is actually worse than closed source vendors because they are promoting ancient laptops with poor isolation and no security mitigations, while Apple has spent the past 15 years building a secure platform. You may not like some of their reasons (e.g. locking down iPhones)... but in the end it results in significantly better end-user security than a "Respects your Freedom" device. And you can put Linux on those Macs and run a fully open source kernel and userspace - not very different from those laptops in the end. Think about that.

Of course, I am very happy to talk at length about the design of these machines with everyone, and I want all the users of my software to be aware of these things (yes, there are a ton of blobs here - the amount of damage they can do is less than the blobs in the RYF laptops, but they still exist), as well as the things we don't know (e.g. some of the IOMMU configs grant full access to a few hardware streams; we don't know whether those streams are actually controllable by a coprocessor in such a way that it would make it backdoorable, but we'd like to find out and if it is, that would be a firmware bug to report to Apple). I believe that in order to make an informed decision, users need to have all the information.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @09:58AM (#29306925)
>FSF is actually worse than closed source vendors because they are promoting ancient laptops with poor isolation and no security mitigations

but they are promoting such devices on ethical concerns, not on security concerns. they are not deceiving anyone

>Apple has spent the past 15 years building a secure platform. You may not like some of their reasons (e.g. locking down iPhones)... but in the end it results in significantly better end-user security than a "Respects your Freedom" device

you mentioned FSF fanboys before. there are way more Apple fanboys who are convinced that their Apple products respect their privacy and that their devices are impenetrable. what is worse, Apple markets itself based on this grotesque misperception!

if security and privacy is a vital concern for people, Apple devices are NOT products that should handle their security concerns! you promoting Apple as secure makes you guilty of the very thing you accuse FSF of actually

i would absolutely love it if there is a public non-profit organisation like FSF that is security/privacy focused - eg Secure Software Foundation - that would employ security experts to analyse and audit security and privacy of all software, free and non-free, and of course always open their findings immediately. moreover, i would definitely hope that such an organisation would be as autistic and unwavering toward open security and privacy as FSF is toward software freedom :)

the fact of the matter is, while you can support both free and secure software seperately, they are seperate matters. it is possible to come to a conflict of interest type scenario. secure-software and free-software, although often sharing the same concerns, are simply not the same thing

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @11:02AM (#29307836)
> if security and privacy is a vital concern for people, Apple devices are NOT products that should handle their security concerns! you promoting Apple as secure makes you guilty of the very thing you accuse FSF of actually

You're mixing up software and hardware. I have no strong opinion on the security of Apple's (macOS) software from a user perspective. It's a proprietary OS. It gets some things right and some things wrong. There have been privacy concerns (e.g. the CSAM mess). I use it for browsing the web sometimes, but I wouldn't make it my main OS.

But Apple deeply cares about platform security, and notoriously, iOS devices are some of the most secure consumer devices available. This isn't marketing bullshit - their designs are actually that good, which is something I can say as a security professional. You may or may not agree with their motivation, which ostensibly includes both customer security and keeping an iron grip on their iOS devices. But the end result is they have built excellent silicon designs with advanced security features and a very security-conscious architecture throughout. The same stuff that makes it hard to jailbreak iPhones. And so now that they stuck them in Macs and unlocked the bootloader, would I buy one? Of course. And put Linux on it. And so should you*, if you care about security. There really isn't anything else done nearly as well as these things, at least not at a performance level we'd consider decent in 2021.

Yes, it might surprise you coming from Apple, but it makes sense because they did this for their own benefit. It just so happens that their motives end up with a result that aligns with what I want. And so I'll take it, thanks.

I still won't use an iPhone, though.

* Okay, maybe wait until we're done porting things and it runs well.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @01:02PM (#29309569)
fair enough. i value your opinion on the matters of hardware security and i am definitely not going to pretend i am an expert. i know you know your stuff. my point is that fighting for free software and fighting for security (software or hardware) can diverge

i think FSF fights against non-free software because it considers it an evil for a society. i have no problems them fighting this fight, and i dont see any other candidates able to fight that fight on their level. i think that people who care about free software should at least respect them

on the other hand, i think security and privacy is a seperate fight, extremely important. if you form an organisation that defends security and privacy as much as FSF defends free software, i will definitely support it and you

Re:I Love Arch, but GNU Guix Is My New Distro by r283492 on Monday November 22, 2021 @11:22AM (#29308085)
> only they can theoretically (though as I said, in practice detectably) backdoor your laptop

No, no no. This is wrong. You don't need a nested hypervisor to make an undetectable backdoor. If you you audit all network traffic from a separate device, most backdoors are detectable, because a backdoor wants to have some effect that goes outside your system and that is the obvious route. But there are a hundred ways to create a backdoor which is very hard to detect and of course the proprietary bootloader Mac bootloader is a perfectly good vector for them.

So the M1 firmware is meant to be updated, right? Proprietary updates are the means by which a company exercises unacceptable control. The next update to the network card firmware could check the signature of the OS and stop working.

> some of the IOMMU configs grant full access to a few hardware streams; we don't know whether those streams are actually controllable by a coprocessor in such a way that it would make it backdoorable

Wait, so its all good because its protected by IOMMU configs, except where it isn't..., and you just hope its a bug that the IOMMU config was too open? Seems more likely that this whole theory of yours has a whole in it, that some firmware does have access to change important data.

Think of a keyboard. Now, imagine one that just has a simple chip that is not updatable. Well, it could have a backdoor in it. But it isn't a concern for your software freedom. Now, someone devises a keyboard where you load a proprietary firmware in it every time it gets plugged in, and you are dependent on the vendor for updates, but somehow it has better security properties. Well, you may argue that that is more important than software freedom. Ok, but, then that vendor can then make whatever terms and conditions it wants on those updates, and that includes breaking your security. So, one day, the vendor says: run our proprietary updating software, is every user going to reject it because they realize the security implications? No. And the vendor says: our firmware updates are only distributable through MacOS, so every time you update, you are going to have to install MacOS, then reinstall GNU/Linux. Sounds like a good way to kill GNU/Linux for 99% of users who don't got time for that. Wait, isn't that the situation for M1 laptop users? Riiight.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @12:11PM (#29308779)
> No, no no. This is wrong

Look, I'm not a fan of pulling on credentials, but I've literally spent the past year reverse engineering these devices. If you're going to tell me I'm wrong about my security analysis, I hope you've done your own.

> But there are a hundred ways to create a backdoor which is very hard to detect and of course the proprietary bootloader Mac bootloader is a perfectly good vector for them.

Not when you can literally flash these devices from scratch (DFU mode) using a public OS image from Apple. That guarantees any preinstalled backdoors go away, since it's a complete wipe (you can do this from a Linux machine, by the way - I just added support for the latest M1 devices and OS to idevicerestore a few days ago). All the runtime components that remain booted while the OS runs are not encrypted, and thus Apple can't hide a secret backdoor in them.

> The next update to the network card firmware could check the signature of the OS and stop working.

The network card is behind an IOMMU and sees exactly what the OS wants it to see. It has no way to check the signature of the OS.

This whole argument is moot anyway, because of course Apple could release a new OS/firmware version that removes the bootloader unlock tools. I've had this discussion a million times already. Apple spent a significant amount of time developing these tools and the infrastructure to allow these unlocks, and I do not believe they would ever do this, as it would be a massive 180 and incur a huge PR hit, nevermind expose them to legal action. If you believe otherwise, then don't buy these machines, or just never update the firmware once you get one. Also don't buy any Android phones, any x86 PCs with Boot Guard, etc., as they all suffer from the same hypothetical retroactive lockdown threat.

> Wait, so its all good because its protected by IOMMU configs, except where it isn't..., and you just hope its a bug that the IOMMU config was too open?

We are still reverse engineering these machines. It's not just the IOMMUs. There are other layers of address filtering. We don't know what those streams do, therefore we can't say whether they're evil or not. Given how carefully Apple has designed these things to prevent this, I have no doubt that if there's a path for one of these coprocessors to access all RAM, that's a bug, and if I can confirm that, that'll be an email to [email protected] with a 90 day disclosure deadline, and they'll fix it. It wouldn't be my first rodeo with Apple product security either. They're good, but they're human. They make mistakes.

But we can't say that right now because we literally don't know what's plugged into that port on the IOMMU. It could be a hardware block with an address filter or otherwise controlled by the main CPU anyway. Or it could be outright unused and a vestige of something they were doing on iOS. I can certainly tell you that the main IOMMU port used by the coprocessor subsystem in question does not have access to all RAM. They've been very careful to design the whole SoC like that. If there's a hole, it's a bug.

> Think of a keyboard. Now, imagine one that just has a simple chip that is not updatable. Well, it could have a backdoor in it. But it isn't a concern for your software freedom. Now, someone devises a keyboard where you load a proprietary firmware in it every time it gets plugged in, and you are dependent on the vendor for updates, but somehow it has better security properties.

You could just not apply the updates, and you'd be no worse off than with the non-updatable chip. The updatability gives you choice. It doesn't take anything away, certainly not any more of your freedom. In fact, most devices with the kind of little ROMs the FSF loves to ignore, like keyboards, would not use signed firmware if they had a RAM design instead. That means you absolutely gain freedom with the RAM version - the freedom to reverse engineer the proprietary firmware and write your own, or install an open version someone else has already made.

> Wait, isn't that the situation for M1 laptop users? Riiight.

I have a perfectly working installer that pulls the firmware updates from Apple's CDN and builds an OS container without installing macOS. You do need macOS for self-hosted system-level firmware updates, but only because we haven't built a process for Linux to invoke that updater yet. You can, however, already use DFU mode with another Linux machine running idevicerestore to apply these updates without wiping the whole system nor requiring a macOS install, if you really want to (though it's not the best method because it wipes some stuff that makes it not completely seamless, but it doesn't wipe your OS).

> so every time you update, you are going to have to install MacOS, then reinstall GNU/Linux.

Or you could just dual boot, which is how I expect 95% of our users to use the system. We recommend keeping a macOS install around at this point for various practical reasons. The machines natively support multi-boot and we take full advantage of that. Please learn more about the system architecture before making up FUD.

Re:I Love Arch, but GNU Guix Is My New Distro by r283492 on Monday November 22, 2021 @05:07PM (#29312101)
> Not when you can literally flash these devices from scratch (DFU mode) using a public OS image from Apple. That guarantees any preinstalled backdoors go away, since it's a complete wipe (you can do this from a Linux machine, by the way - I just added support for the latest M1 devices and OS to idevicerestore a few days ago). All the runtime components that remain booted while the OS runs are not encrypted, and thus Apple can't hide a secret backdoor in them.

You're saying that a backdoor can't be secret if it is in an unencrypted binary. That sounds wrong to me. Are you going to decompile and audit the entire OS to find a backdoor, I don't think so.

> I have a perfectly working installer that pulls the firmware updates from Apple's CDN and builds an OS container without installing macOS. You do need macOS for self-hosted system-level firmware updates, but only because we haven't built a process for Linux to invoke that updater yet.

Well, that is nice.

> You could just not apply the updates, and you'd be no worse off than with the non-updatable chip. The updatability gives you choice. It doesn't take anything away, certainly not any more of your freedom.

You "could". In practice, software vendors relies on the updates to abuse their users. For example intel microcode updates have a license that says: you agree not to reverse engineer it. Security updates for printers come with functionality to stop working with third party ink. Oh, you are a sophisticated user and handle it all. Fine. And of course, FSF certainly encourages reverse engineering: if you want to buy something for the purpose of reverse engineering, FSF does endorse that. For everyone else, think it's a perfectly fine position to simply say, we don't endorse opening yourself up to an abusive relationship.

Re:I Love Arch, but GNU Guix Is My New Distro by kdtsh on Monday November 22, 2021 @12:26AM (#29303077)
Leaving aside the fact that binary blobs already existing in x86 processors doesn’t mean much for users because they can’t help that - I mean, GNU existed before Linux, and only became a completely free operating system when Linux was released, so it’s not like the position of the GNU project was to completely rule out the possibility of running any software or hardware if there was a sniff of non-free software within a 5km radius …

No, you’re ignoring the crux of the issue, which is user freedom. Why are you so insistent that Guix wave the flag for Intel and allow its users’ freedoms to be even more flagrantly violated by shipping updated microcode? Why does the FSF not openly publishing certain kinds of information amount to censorship? - do you think that, if they were to remove certain blobs from the kernel but leave in these nebulous notifications that microcode updates are available, it wouldn’t be censorship?

Talk about a bad user experience by the way - what you suggest is for the maintainers of Linux-libre to say ‘oh, by the way, there are critical updates to microcode running on your processor, but we’re not going to give them to you.’ That’s antisocial nonsense. Should they tell users about updates to all the other drivers in the kernel which they don’t ship either? Give me a break.

I am currently, at this very moment, running updated Intel microcode on my Guix machine. Every Guix user who has used the distro for more then 5 minutes knows that a) you can track any channel you like containing packaged software, and b) there is a popular channel which contains some useful non-free software. They know this because it takes about 5 minutes to use a search engine for, say, ‘How do I get Nvidia drivers on my Guix System’, which will lead you to nonguix. What exactly is your problem? Do you think Guix users need to be babied?

> Auditability doesn't mean things get audited or all bugs fixed.

Correct! But it means that they can.

Why won’t you respond to the fact that Guix users simply don’t feel hurt by this? You have taken it upon yourself to speak on behalf of a community which is perfectly happy with the existing arrangement - that the default kernel is built on Linux-libre, and they are free to use any other compatible kernel they like, including the upstream.

If you don’t like Linux-libre, don’t use it. If you don’t like Guix, don’t use it. Your pearl-clutching about these projects’ violation of their users’ rights is unwarranted, unwanted, obtuse, and very annoying. If I didn’t know better, I’d think you had it out for FSF.

I’ll leave that as my final word on this because this conversation is fruitless and pointless. You are moralising on the behalf of a community that you are not a member of and that doesn’t care for much of what you have to say for them.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @04:07AM (#29304364)
very well said

>If I didn’t know better, I’d think you had it out for FSF

given the ammount of bad faith in the threads i think it definitely looks like a campaign

Re:I Love Arch, but GNU Guix Is My New Distro by kzhukov on Saturday November 20, 2021 @06:45AM (#29287241)
Well, for some people loading an arbitrary binary code without possibility to check what's inside it is a critical security issue as well.
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @07:00AM (#29287336)
Those people are already running arbitrary binary code without the possibility to check what's inside, it's just that it was loaded before purchase. If you don't trust Intel's updates, then you also can't trust their CPUs in the first place.
Re:I Love Arch, but GNU Guix Is My New Distro by Santosh83 on Saturday November 20, 2021 @07:17AM (#29287439)
There is a bit more nuance here though. There may be users who trust their old systems but no longer trust the current state of its manufacturer or their binary only updates. Proprietary blobs go against the core freedom as defined by FSF so I can understand why they block by default but IMO they should allow informed users to override. Simply censoring without allowing a user to bypass is not user (or freedom) respecting. The power to choose should be with the user, whom the FSF claims to represent.
Re:I Love Arch, but GNU Guix Is My New Distro by ajvs on Saturday November 20, 2021 @07:30AM (#29287513)
Just because some proprietary code exists doesn't mean you should leave the door open for them to add as much extra proprietary code as they wish.

You can regard it as two separate features: one that's needed for the CPU to function, and another that's the door for more code being added. In that perspective it's better to go with preventing additions.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @01:14PM (#29290418)
You can't add much to a CPU via microcode. The space of what updates can do is extremely limited, with a limited amount of patch RAM and patch registers. It's designed to fix bugs. You're arguing against fixing bugs in proprietary software you're already running.
Re:I Love Arch, but GNU Guix Is My New Distro by marcodiego on Saturday November 20, 2021 @01:21PM (#29290487)
So why don't CPU vendor open source their microcode? Secrets... ok, let's use the ones which have no secrets.
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @01:42PM (#29290681)
Good luck with that...
Re:I Love Arch, but GNU Guix Is My New Distro by georgyo on Saturday November 20, 2021 @07:36AM (#29287548)
This is a double edge sword.

If there are issues with what are initially released and you do not patch you do not get those fixes.

So they could add stuff but they definitely will fix stuff. Not updating could be more dangerous then updating.

Re:I Love Arch, but GNU Guix Is My New Distro by javert on Saturday November 20, 2021 @12:26PM (#29289996)
Intel hardware definitely cannot be trusted. Probably "good enough" for most people, but it's honestly garbage, security wise.
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @01:44PM (#29290697)
And yet that terrible security situation has approximately nothing to do with the FSF's "no visible blobs" rule. ME could be just as bad running off of ROM, and then it'd meet the FSF's "Respects your Freedom" requirements.
Re:I Love Arch, but GNU Guix Is My New Distro by grumbel on Saturday November 20, 2021 @09:08AM (#29288177)
The issue is that the FSF fine with that binary blobs as long as it's stored in ROM, but if it's in RAM, that's bad. To me that is completely backwards. If a driver loads firmware into RAM, that means I have easy access to the blob, can reverse engineer it, update it and change it. If it's ROM that's going to be a lot more difficult or impossible.

Sure it would be nice to have it all Free Software, but then we shouldn't treat hardware as a magic black box we don't care about.

Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Saturday November 20, 2021 @09:33AM (#29288398)
Your theory makes sense, but practice strikes me as the reverse: Long-term: Stuff in ROM is significantly easier to track because it happens slower, mostly by large trackable entities and processes. Stuff in RAM? Always changing and "under attack" all the time.
Re:I Love Arch, but GNU Guix Is My New Distro by mindslight on Saturday November 20, 2021 @11:15AM (#29289327)
Firmware in RAM is loaded from distribution packages, which also goes through a trackable process. There is a continuum here with frequent firmware updates being extremely dodgy (why can't they get it right and release a stable version), and infrequent updates (eg CPU microcode) being similar to shipping one image in "ROM".

Furthermore, I haven't seen any device that actually ships significant (ie non-bootloader) firmware in "ROM". It's usually in flash, meaning its contents are mutable but less legible to the Free system than if they were loaded every time by a Free driver.

Re:I Love Arch, but GNU Guix Is My New Distro by mastax on Saturday November 20, 2021 @02:24PM (#29291032)
> Stuff in ROM is significantly easier to track because it happens slower, mostly by large trackable entities and processes.

Assuming you're able to track it at all. If the hardware does not provide any way to read the blobs, then how do you track anything? Decap your CPU and stick it under an electron microscope? Much easier to inspect a file on my filesystem.

Re:I Love Arch, but GNU Guix Is My New Distro by jrm4 on Saturday November 20, 2021 @05:32PM (#29292432)
You're completely missing the fundamental point that all of this takes a proverbial village.

Free software isn't about each of us individually fixing the problems. Nearly exactly the opposite.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @06:56AM (#29287308)
exactly. and people promoting closed source security updates should print this risk out in most clear fashion. if we want to hold GNU to account for security then we should definitely do so with closed source vendors too
Re:I Love Arch, but GNU Guix Is My New Distro by raverbashing on Saturday November 20, 2021 @08:30AM (#29287885)
Yeah. Then these geniuses get bitten by Spectre/Meltdown because they were too scared of running the microcode update. For real.

I agree, if that's the position of Guix, I don't want it in my machine.

Re:I Love Arch, but GNU Guix Is My New Distro by y4mi on Saturday November 20, 2021 @09:08AM (#29288181)
I doubt that. While the attack was possible on large hosting providers, utilizing the same on workstations or hardmetal and actually get important data was basically impossible.

It had to be fixed, but your thesis that anyone was actually owned by these security issues because they didn't want to apply the mitigation rounds to at most 0.0% with an infinite amount of zeros before a 1.

Re:I Love Arch, but GNU Guix Is My New Distro by mbakke on Saturday November 20, 2021 @12:26PM (#29289986)
Guix will never prevent you from doing what you want with your hardware. Nor will it give you software that is not properly free (as in freedom).

The "nonguix" channel mentioned in the article does have Intel and AMD microcode for users who want it. This is similar to Debian, where you have to opt-in by enabling the "nonfree" repository and "apt install" the microcode package corresponding to your CPU.

Re:I Love Arch, but GNU Guix Is My New Distro by raverbashing on Saturday November 20, 2021 @12:51PM (#29290219)
Good to know, but still

> where this Linux fork actively removes security warnings informing users that they need to update their CPU microcode

Is not ok

Re:I Love Arch, but GNU Guix Is My New Distro by mbakke on Saturday November 20, 2021 @01:30PM (#29290586)
I believe that argument is based on the same FUD that I addressed here:

https://news.ycombinator.com/item?id=29290087

...at least, I don't see any such code in the actual deblobbing script: https://linux-libre.fsfla.org/pub/linux-libre/releases/5.15....

edit: since you called linux-libre a "fork", I feel compelled to point out that Linux-Libre is just the vanilla Linux kernel with that script applied. No more, no less.

Re:I Love Arch, but GNU Guix Is My New Distro by seoaeu on Saturday November 20, 2021 @01:45PM (#29290712)
I'm sorry, but this (and a bunch of other similar blocks) seem pretty intentional...

    # Do no recommend non-Free microcode update.
    announce X86_LOCAL_APIC - Undocumented
    clean_blob arch/x86/kernel/apic/apic.c
    clean_kconfig arch/x86/Kconfig X86_LOCAL_APIC
    clean_mk CONFIG_X86_LOCAL_APIC arch/x86/kernel/apic/Makefile
Re:I Love Arch, but GNU Guix Is My New Distro by pxc on Saturday November 20, 2021 @02:59PM (#29291353)
If the kernel can't load it without code changes and recompilation, due to the de-blobbing process, it doesn't make much sense to recommend to users that they load it.
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Sunday November 21, 2021 @02:38AM (#29294784)
You can often also update your microcode by updating your BIOS/firmware.
Re:I Love Arch, but GNU Guix Is My New Distro by pxc on Sunday November 21, 2021 @12:47PM (#29298119)
That's a good point! Adjusting the message to direct people down that route rather than simply removing it seems like a good idea.
Re:I Love Arch, but GNU Guix Is My New Distro by anthk on Saturday November 20, 2021 @09:57AM (#29288612)
Sorry, but you are wrong. GNU people won't run nonfree JS at all.

LibreJS is a good example in order to kill any potential Spectre/Meltdown attack. There is no attack when no code is being run.

Re:I Love Arch, but GNU Guix Is My New Distro by kaba0 on Saturday November 20, 2021 @10:25AM (#29288872)
At that point why just not power off their machines? That 3 websites that has “free js” is almost as useless as a brick. Also, free software in itself never protected against security vulnerabilities, many eyes is a fallacy.
Re:I Love Arch, but GNU Guix Is My New Distro by anthk on Saturday November 20, 2021 @12:42PM (#29290149)
You are really wrong, a lot of services (specially news) work either without JS or have a libre alternative, such as Twitter/Nitter, or Reddit/Teddit.
Re:I Love Arch, but GNU Guix Is My New Distro by beermonster on Sunday November 21, 2021 @03:53AM (#29295028)
I use NoScript and I find very few sites that are really broken if I don't enable JS.
Re:I Love Arch, but GNU Guix Is My New Distro by kaba0 on Sunday November 21, 2021 @06:04AM (#29295439)
Your and mine definition of very few sites must be different than.

Can you buy anything at all on the internet?

Re:I Love Arch, but GNU Guix Is My New Distro by anthk on Sunday November 21, 2021 @06:54AM (#29295712)
Amazon not so long ago worked without JS, or Ebay, I can't remember.
Re:I Love Arch, but GNU Guix Is My New Distro by XMPPwocky on Saturday November 20, 2021 @01:31PM (#29290595)
"LibreJS is a good example in order to kill any potential Spectre/Meltdown attack. There is no attack when no code is being run."

If attackers who cannot add a comment to their exploit are in your threat model.

Personally, I've been using a browser extension that blocks JS unless it has a comment reading

> This code is NOT evil or malicious!

at the top. Haven't been hacked yet!

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @11:54PM (#29294276)
> There is no attack when no code is being run.

https://9to5mac.com/2021/03/11/browser-based-attack-affects-...

Turns out you don't need Turing completeness to perform microarchitectural side channel attacks. This is yet another way in which the "all my software is free, therefore I am safe from attacks" fallacy breaks down.

Nevermind that, as pointed out by other replies, LibreJS provides zero security. It relies on scripts voluntarily declaring that they're freely licensed, and if they do, they're allowed to run. The extension doesn't care whether the script is malicious or not.

Re:I Love Arch, but GNU Guix Is My New Distro by anthk on Sunday November 21, 2021 @04:44PM (#29300053)
Dillo has a nice CSS-less rendering. Also, Links+.

I am still safe.

Re:I Love Arch, but GNU Guix Is My New Distro by kaba0 on Saturday November 20, 2021 @08:52AM (#29288054)
But that is simply not the logical decision.
Re:I Love Arch, but GNU Guix Is My New Distro by marcodiego on Saturday November 20, 2021 @09:30AM (#29288366)
> "removes security warnings informing users that they need to update their CPU microcode"

If you update your CPU microcode to something that can't be checked, you're already sacrificing security.

EDIT:

But yes, I understand people complaining that FSF rejects proprietary software but is OK with some forms of ROM which in turn may be very similar to "proprietary software you can't change".

Well, I never asked their reasons to someone from inside the FSF, so I my knowledge about it can improve. Nevertheless, I can see some points:

  - AFAIK, the form of accepted code is only for "secondary processors" and can't take over the system or compromise it,
  - having things in ROM forces manufacturers to maximally simplify it,
  - having things in ROM forces manufacturers to implement more features in software that can be checked and
  - having things in ROM forces manufacturers to be extra careful when implementing it.
I don't think FSF would consider IME acceptable if it was ROM.

But indeed, it would be very good if someone from FSF could better explain it.

Re:I Love Arch, but GNU Guix Is My New Distro by WastingMyTime89 on Saturday November 20, 2021 @09:35AM (#29288408)
Non sense. I trust my CPU provider or I wouldn’t have bought this CPU. I would much rather use an updated microcode than one known to be insecure. I wouldn’t check the microcode anyway and I don’t really trust the people who might more than the company providing my CPU.

Sure it might contain code making me vulnerable to a state actor but that’s not a threat profile I care about.

Re:I Love Arch, but GNU Guix Is My New Distro by marcodiego on Saturday November 20, 2021 @09:43AM (#29288487)
If you have enough trust in proprietary software distributors to not care to use software that can't be checked, then you're probably not part of this discussion.

I don't check all the software I use myself. But I use open-source software with the peace of mind of someone who knows that the incentives to abuse me are simply not there and the fact that right now that are hundreds of people/bots checking it.

> Sure it might contain code making me vulnerable to a state actor but that’s not a threat profile I care about.

State actors are not the only threat. Think about arbitrarily disabled features, DRM, programmed obsolescence or simply not allowing anybody to improve/fix it after the device is abandoned by the manufacturer.

Re:I Love Arch, but GNU Guix Is My New Distro by kaba0 on Saturday November 20, 2021 @10:35AM (#29288962)
> the fact that right now that are hundreds of people/bots checking it.

As has been shown plenty of times, “more eyes looking at the code” is a fallacy as those eyes are very much not looking to find security vulnerabilities. Also, the lack of security in userspace GNU/linux codebases is something really worrying, much much more so than hypothetical hardware attack when you can just append to the end of .bashrc from a goddamn npm install and basically do anything you want, including streaming every single keypress?

Re:I Love Arch, but GNU Guix Is My New Distro by marcodiego on Saturday November 20, 2021 @10:53AM (#29289127)
> As has been shown plenty of times, “more eyes looking at the code” is a fallacy as those eyes are very much not looking to find security vulnerabilities.

There are also automated scans of a long list of FLOSS. Google runs OSS-Fuzz, you can check LibreOffice to see lots of commits to fix defects detected by OSS-Fuzz, coverity and other static analyzers. Access to the code, at the least allows determined users to more easily find where or why the bug happens. And yes, people do it.

> hypothetical hardware attack when you can just append to the end of .bashrc from a goddamn npm install and basically do anything you want, including streaming every single keypress?

Yes, this is more serious. But would need a compromise on packagers side and an uninformed (or automated) update on my side. Considering an update with such a vulnerability would affect initially a small fraction of users before being discovered, it is very unlikely that this hypothetical would have a big impact.

Re:I Love Arch, but GNU Guix Is My New Distro by kaba0 on Saturday November 20, 2021 @11:04AM (#29289226)
It was just one example, but running everything under the user’s user is just terrible.

Also, your automatic checker examples are related to the project’s size and importance, not to FOSS alone. It is very welcome but your average one-person C project that is installed on everyone’s system doesn’t benefit from such tools.

Re:I Love Arch, but GNU Guix Is My New Distro by fsflover on Saturday November 20, 2021 @05:23PM (#29292382)
> As has been shown plenty of times, “more eyes looking at the code” is a fallacy

This is debatable: https://en.wikipedia.org/wiki/Comparison_of_open-source_and_.... Any links to your argument?

Re:I Love Arch, but GNU Guix Is My New Distro by kaba0 on Sunday November 21, 2021 @06:03AM (#29295435)
Your link says they are comparable, with another study claiming better quality for open source software. While I really don’t think that grouping together vastly different softwares based on this one quality is meaningful (is a proprietary CRUD app made in 5 months with an ad-hoc architecture comparable to an open source database with proper planning and domain-expert programmers working on it?), I also didn’t claim that they were worse off, just that more eyes won’t find more/all bugs, because in fact, they don’t actually look for them in the first place.

The fact remains, every type of software is ripe for bugs and security measures must be taken so those bugs won’t become exploitable.

Re:I Love Arch, but GNU Guix Is My New Distro by fsflover on Sunday November 21, 2021 @08:52AM (#29296219)
Re:I Love Arch, but GNU Guix Is My New Distro by fsflover on Saturday November 20, 2021 @09:53AM (#29288576)
I do not trust my CPU provider. Where do I find an alternative based exclusively on free software?
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:26PM (#29293941)
If you do not trust your CPU provider, your only option is a design that assumes an adversarial manufacturer. The only credible design I've seen for this scenario is Precursor, which works because generic backdoors for FPGAs (i.e. those that work with arbitrary randomized designs) are arguably impractical, since you'd need a huge amount of compute power to attempt to analyze the design and figure out how to backdoor it. It's likely even an unsolvable problem in the general case.

https://www.crowdsupply.com/sutajio-kosagi/precursor

Of course, then you get a RISC-V running at 100MHz. If you want something faster, you need to trust your CPU provider. There's no way around that; silicon is not end-user introspectable.

Re:I Love Arch, but GNU Guix Is My New Distro by marcodiego on Saturday November 20, 2021 @10:18AM (#29288813)
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:19PM (#29293906)
Every single laptop in the RYF list includes proprietary unauditable microcode. So do many of the other products there, e.g. that Bluetooth dongle which probably has about half a megabyte of proprietary firmware.
Re:I Love Arch, but GNU Guix Is My New Distro by nix23 on Saturday November 20, 2021 @10:17AM (#29288798)
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:29PM (#29293967)
There is no reason to trust IBM not to include a silicon backdoor in POWER9 more than Intel not to include a silicon or microcode backdoor in their x86 chips. TALOS is a lot freer than most designs, but you still need to trust every manufacturer whose silicon went into that motherboard.
Re:I Love Arch, but GNU Guix Is My New Distro by nix23 on Sunday November 21, 2021 @06:10AM (#29295481)
>There is no reason to trust IBM not to include a silicon backdoor

Yeah ok now we are in the religion side of things, since you cannot check the silicon...well i stop here, not worth my time.

BTW: The power microcode is opensource.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @12:23AM (#29303058)
You can backdoor silicon just as well as you can backdoor software or microcode. Why do you only care about trusting the latter?
Re:I Love Arch, but GNU Guix Is My New Distro by fsflover on Monday November 22, 2021 @10:00AM (#29306956)
Because the perfect is the enemy of the good: https://news.ycombinator.com/item?id=27897975.
Re:I Love Arch, but GNU Guix Is My New Distro by nix23 on Monday November 22, 2021 @03:33AM (#29304151)
>>since you cannot check the silicon...

READ.

The microcode is opensource..

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @09:38AM (#29306704)
The silicon - the rest of the logic that makes the CPU - isn't. There's more to CPUs than microcode. Besides, how can you audit that the open source microcode is what the manufacturer actually put into the CPU? Microcode is usually ROM-based with only runtime patches.

Open source microcode does not change the fact that you need to trust the CPU manufacturer not to backdoor your CPU. There is literally no way around that that does not involve using FPGAs and restricting yourself to 100MHz CPUs.

By the way, I googled POWER9 microcode and was not able to find any source or reference to it. The source code for the firmware running on various auxiliary cores is open source. However, the CPU cores do contain microcode for executing more complex instructions, and I am not finding any reference to this being open source.

Re:I Love Arch, but GNU Guix Is My New Distro by nix23 on Monday November 22, 2021 @03:46PM (#29311405)
I understand that you have problems reading so i repeat it for you the third time:

>>>since you cannot check the silicon...

And since you have problems using google too:

https://www.sbir.gov/node/1620879

>>A small business has already shown that a completely open source solution (to include CPU firmware, CPU Microcode, Baseboard Management Controller (BMC), BIOS boot code, power management, etc.) based on a high performance CPU is possible.

Imagine who that "small business" is?

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @10:29PM (#29314300)
Where's the link to the source?

FYI, IBM loves to use the term "microcode" to include side CPU firmware and such. This is different from Intel "microcode" which strictly refers to the instruction dispatch part. Is the instruction dispatch microcode in POWER9 open source or not?

None of these are it: https://wiki.raptorcs.com/wiki/OpenPOWER_Firmware

Re:I Love Arch, but GNU Guix Is My New Distro by nix23 on Tuesday November 23, 2021 @10:43AM (#29319113)
https://git.raptorcs.com/git/

>>CPU Internal Firmware

>>CPU External Firmware

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Tuesday November 23, 2021 @12:39PM (#29320668)
SBE, OCC, HCODE. Those are from the list I linked. None of them are the instruction dispatch microcode.

Maybe it's time for you to have the realization that POWER9 has proprietary microcode just like Intel. At least it seems they probably have less of it, and they do vaguely document it in the CPU manual (they have micro-op classes and counts) but it's there, and I don't see any real source code anywhere. They also have patch registers, so you can't even say it's not updatable. The POWER9 manual mentions six Instruction Mask Registers per core, but these registers are documented nowhere (I just spent a good 30 minutes digging through the giant register documentation PDFs and HCODE source, but I couldn't find anything).

Is this better than Intel? Yes. Is it "fully free"? No. Nothing's fully free. Which is why we need nuanced analysis, not the nonsense arbitrary lines the FSF draws in the sand.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @09:58AM (#29288619)
why is it nonsense? i think not trusting vendors that dont let you verify their product is quite sensible. note this is not paranoia to think that they are doing something malicious. its just as simple as dont trust strangers
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:32PM (#29293975)
There is no way to verify silicon. This applies to every single chip. If you are using off the shelf hard cores in silicon, you need to trust the vendor. That's just how it is. It's not practical for end users to take silicon chips into a SEM, delayer them, and verify that the design is what they expect. Verifiability aside, there aren't even any high performance CPUs with fully open RTL/netlists available.
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Sunday November 21, 2021 @02:47AM (#29294806)
> If you are using off the shelf hard cores in silicon, you need to trust the vendor

if i dont have options for alternatives, i think its completely rational to use something without trusting it. i would say that this should be a default attitude

Re:I Love Arch, but GNU Guix Is My New Distro by alexvoda on Sunday November 21, 2021 @07:22AM (#29295846)
Sandboxing and fencing off untrusted parts is fine. I find the approach of Librem 5 understandable.

However the distinction between blob on chip flash and blob on system storage is nonsensical to me. I would much rather have a sandboxed untrusted part I can update rather than a sandboxed untrusted part that I can not update.

Unfortunately I have not seen anyone actually give a reason why the line should be drawn there instead of closed source blobs are not ok period. Doesn't matter where they live. None of us are arguing in favour of blobs.

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Sunday November 21, 2021 @02:06PM (#29298781)
>Unfortunately I have not seen anyone actually give a reason why the line should be drawn there instead of closed source blobs are not ok period

this makes it sound like FSF supports these blobs. how i understood the situation is that they tolerate them until an alternative presents itself. this is a valid position to take and does not make them hypocrites/cult/religion etc

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @12:25AM (#29303072)
They are literally endorsing Bluetooth dongles with half a megabyte of proprietary ROM as "respecting your freedom". That goes a little beyond "tolerating", don't you think?
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Monday November 22, 2021 @03:06AM (#29303993)
'Respects Your Freedom' is a (trademarked?) label that comes with clear and readily available certification rules. according to FSF, these are products that are simply the best options available as far as FSF's free-software ethics are concerned. in this sense it is simmilar to 'fair trade' labels you find on products. since you guys love extreme examples, i could ask you if when you use an Apple computer do you expect to be able to eat it

actually since you work with macs, do you think Apple respects your freedom or do you think they are more ethical than FSF?

Re:I Love Arch, but GNU Guix Is My New Distro by alexvoda on Wednesday December 01, 2021 @08:44PM (#29411534)
I will answer your last question. Apple absolutely does not respect your freedom. They infringe on your freedom. Depending on the definition of ethical, they are vastly less ethical than the FSF.

But they also never claimed to be ethical. They never claimed to guard a moral ideal. They have claimed many things (protect privacy of users, guarantee security of users) which they did not act upon, and they have received flack for that. But they didn't claim to be ethical. Not even in a aspirational way like Googles "Don't be evil" moto.

The FSF, however, claims that ethics is it's prime driver. And by endorsing hardware with proprietary blobs (placed on chip flash instead of system storage) they display hypocrisy. They choose the very pragmatism they criticise others for choosing.

And that is something religions do aswell.

I have asked you why is the line there and you have not answered.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Monday November 22, 2021 @10:29AM (#29307377)
I think Apple are a corporation with interests that happen to result in them building secure, high performance, quite trustable hardware. Since they have the motive to do so, and since everything I've seen suggests they indeed are, and since their hardware officially allows me to run my own software on it, I would much rather use their hardware (with my own OS/software) than whatever the FSF labels as RYF, which is a label that, in my view, says nothing I care about, not even about my freedom.

Whether Apple is ethical or not is a different question. There is plenty of criticism to be fired at them for various issues. That's a personal call for people to make. I'm not saying you should go buy Apple hardware. I'm saying it's significantly more trustworthy from a security and privacy standpoint than x86 machines. Do they respect my software freedom? About as much as the RYF machines. They both let me run my own OS and they both rely on proprietary firmware for various things. The FSF's certification criteria do nothing for my software freedom (which has nothing to do with whether blobs are in ROM or RAM), they just hurt security, which is something else I care about.

We all have to make our own decisions about what to purchase based on the information available to us. That is why having such information is so important. If you value repairability more than anything, you should probably get a Framework. If you value security above all, you should get a Precursor device. If you want a trustable machine that's still high performance, you should get a Mac. If you want to run Windows games, you should get a gaming PC. If you value your freedom... there isn't anything truly free out there. RYF machines certainly aren't it, nor more free than many others by practical measures, nor transparent about their design.

Hence why I criticize the program. It's not achieving anything positive. It's just a feel good thing; the FSF says it respects my freedom so I can feel good about being Free™ while running more proprietary firmware than many other off the shelf machines.

Just to put things into perspective, I believe Google have done more for computing device freedom than the FSF, because the Chromebook team is notoriously pretty much the only large team which actually pushes for open source everything pretty hard, and they're important enough that some vendors listen, and they have the money to develop things themselves. For example, if you look for an open boot/OS stack for the Tegra X1, the closest you're going to get is the Chromebook Pixel's. Only the RAM training blob is closed source (and there is a reverse engineered replacement these days). Everything from the low level bootloader to the GPU drivers are open. This is no thanks to Nvidia - for pretty much all other customers they offer proprietary bootloaders. Also, I'm pretty sure some Chromebooks even have open source EC firmware, which those ThinkPads the FSF loves so much don't.

Re:I Love Arch, but GNU Guix Is My New Distro by Qwertious on Sunday November 21, 2021 @02:59AM (#29294852)
Hardware operates differently to software - it's impossible to verify hardware after it's been manufactured+shipped to you, so you need to trust the ENTIRE manufacturing and ownership chain of EVERY SINGLE COMPONENT. This is true of both open- and closed-source hardware.

Look, don't take my word for it - take the word (and more importantly, the reasoning) of the guys behind the Novena open laptop: https://www.bunniestudios.com/blog/?p=5706

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Sunday November 21, 2021 @03:17AM (#29294928)
understood. but does not restricting blobs to a place where verification is impossible isolate the problem? to me this approach still seems reasonable from a free software (as per FSF) point of view

also i am confused why this issue isnt being taken with the hardware manufacturers? if i purchased their product, and if their user license did not forbid me from using linux-libre, and if this update is absolutely vital for my safety, then it makes much more sense to take issue with the manufactures. they should open source the update in this case

Re:I Love Arch, but GNU Guix Is My New Distro by seoaeu on Saturday November 20, 2021 @01:13PM (#29290410)
The question is why proprietary microcode that ships with your CPU is fine, but microcode patches released later are non-free? According to the FSF, you should never apply a vendor's microcode patch and instead you should buy a newer processor from them which will ship with the microcode patch already burned in.

You can't even argue that it is a difference of being stored in ROM vs. RAM because the existence of patches means that microcode is upgradeable.

Re:I Love Arch, but GNU Guix Is My New Distro by pdpi on Saturday November 20, 2021 @09:55AM (#29288589)
> If you update your CPU microcode to something that can't be checked, you're already sacrificing security.

You're not sacrificing security, you're making a tradeoff.

If I update my CPU microcode to something I can't check myself, I'm explicitly choosing to trust my CPU provider, under the assumption that the risk of a microcode-based attack from my CPU provider is smaller than the risk of a cpu bug-based attack by an unknown attacker.

Re:I Love Arch, but GNU Guix Is My New Distro by Qwertious on Sunday November 21, 2021 @03:02AM (#29294866)
>You're not sacrificing security, you're making a tradeoff.

If you don't trust your CPU provider then you have zero security from them already. Even if the entire design of the CPU is open-source. https://www.bunniestudios.com/blog/?p=5706

Re:I Love Arch, but GNU Guix Is My New Distro by tzs on Saturday November 20, 2021 @10:19AM (#29288821)
> If you update your CPU microcode to something that can't be checked, you're already sacrificing security.

You are already running CPU microcode that can't be checked when you are running Guix on x86. That ship sailed when you decided to use x86.

Re:I Love Arch, but GNU Guix Is My New Distro by mindslight on Saturday November 20, 2021 @11:09AM (#29289284)
It's not productive to call it "arbitrary religious dogma". The FSF chose a criteria for what binary blobs are acceptable. Your and my opinions are that they set this criteria wrong, but if we hope to change their policy, then we have to discuss it rationally.

I personally think the correct criteria is that of security boundaries and change control. If I've got a graphics card with proprietary code (regardless of whether its in ROM or loaded into RAM), with a proper IOMMU, the attacks it can perform on me are limited (eg TEMPEST). The video card itself is not Free or secure, but it's unfortunately something I have to use to interface with my Free/secure computer, just like my keyboard with its proprietary firmware. And as long as I can load any version of firmware onto that video card, then I retain administrative control where the manufacturer can't revoke functionality after I've purchased it.

Disk drives with proprietary software (which is all of them) are not an attack vector, because a drive should only ever be seeing encrypted data to begin with (eg LUKS).

A network card is a bit more worrisome with its direct network access (ie backhaul), but a Free/secure design shouldn't be trusting the network either (unless you have Free/secure switches), so this does not meaningfully change your security properties.

Obviously the above assumes Free/secure drivers, because drivers are running inside the security boundary of the OS.

CPU masks and microcode run afoul of my strict criteria, but are practically inescapable. Proprietary masks/microcode are required for every amd64 system (correct me if I am wrong), so it makes sense to say you have a Free/secure amd64 modulo those proprietary bits (as say Libreboot already does). And with so few versions of CPU microcode, the question of whether to trust a given microcode update is equivalent to whether to trust a given newly released CPU, and shouldn't be viewed as a software Freedom issue.

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:15PM (#29293881)
The problem is that they have long given up on rationality; they and their devoted followers are an echo chamber of "blobs bad", "my software freedom", etc. They've stopped listening to rational discussion :(
Re:I Love Arch, but GNU Guix Is My New Distro by amelius on Saturday November 20, 2021 @05:30AM (#29286897)
Huh? I've never updated my CPU microcode in other distros, nor did I receive warnings about it.

Do you have a better example?

Re:I Love Arch, but GNU Guix Is My New Distro by detaro on Saturday November 20, 2021 @05:36AM (#29286911)
... yes, because your distro did the right thing and does provide updated packages and loads them for you (it's not persistent, but rather done on each boot), and thus you don't need to do anything and also don't see warnings about your distro failing to do so. Whereas linux-libre doesn't want you to know if your distro isn't loading updated microcode, because it's "better" (according to them) to run vulnerable non-updated microcode than letting you get tempted to use non-free updates to the non-free firmware in your CPU.
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @06:05AM (#29287039)
Yup, it's all about controlling users' access to hardware and software to fulfill some imaginary "freedom" ideal that doesn't actually have any relevance in reality.

Stallman personally refused to certify bunnie's Novena laptop (a fully open hardware and software laptop) as "Respects your Freedom" because there were no free drivers for the GPU, and although it wasn't going to ship with GPU acceleration (that's optional anyway), Stallman said users might be "tempted" to install the proprietary blob. Instead he suggested it might be possible to get the manufacturer to cripple the GPU (permanently fuse it off of existing chips that already have it), and then that could be RYF-certified.

bunnie gave up on that, but had he actually shipped a crippled FSF-approved version... a few years later, open drivers for that GPU were developed, so that would've made the regular version certifiable, and everyone who bought the "respects your freedom" version would've been left with needlessly crippled hardware. But the FSF insists this is the way to go.

Meanwhile, they're endorsing "Respects Your Freedom" Bluetooth dongles that have about half a megabyte of proprietary firmware in ROM.

Re:I Love Arch, but GNU Guix Is My New Distro by rightbyte on Saturday November 20, 2021 @07:28AM (#29287496)
> a few years later, open drivers for that GPU were developed

So ... FSF made the right call? What is the point of the certification of a device if there are no drivers for it.

Re:I Love Arch, but GNU Guix Is My New Distro by detuur on Saturday November 20, 2021 @08:11AM (#29287774)
The wrong call, because you can only reasonably develop drivers for uncrippled GPUs. The FSF was so caught up in maintaining a freedom from being _tempted_ to use proprietary software, that their solution would've taken away the freedom to develop your own free software.
Re:I Love Arch, but GNU Guix Is My New Distro by rightbyte on Saturday November 20, 2021 @09:23AM (#29288307)
I read the certification is some sort of consumer protection/advice. As a consumer, you would want to know the state of the device at purchase when you pay for the GPU. Not some maybe driver coming up in years.

It would be a kinda good idea to have a "rms would almost use this" sticker they could hand out, though.

Looking at: https://ryf.fsf.org/categories/laptops

There is a sorry collection of refurbished laptops.

Re:I Love Arch, but GNU Guix Is My New Distro by mbakke on Saturday November 20, 2021 @12:35PM (#29290087)
> linux-libre doesn't want you to know if your distro isn't loading updated microcode, because it's "better" (according to them) to run vulnerable non-updated microcode

This is FUD. The reason it's not possible to load microcode or other proprietary blobs from linux-libre is because of a limitation of the deblobbing process. From [0]:

Indeed, I became aware that some users have got the idea that blocking the loading of blobs is a feature. It's not; it's just a bug that's quite difficult to fix. The decision on whether or not to use a piece of software, be it Free or not, should belong to the users, and it's not our intent to make that difficult.

If you can make the deblobbing script leave an escape hatch for users to load their own blobs, at their option, I'm sure the pull request would be well-received.

[0] https://www.fsfla.org/ikiwiki/blogs/lxo/2013-11-08-linux-lib...

Re:I Love Arch, but GNU Guix Is My New Distro by detaro on Saturday November 20, 2021 @03:43PM (#29291668)
Then why is the reasoning in the linked email given as

> Another significant change in this release is that it was pointed out that there were error messages in Linux suggesting users to update x86 CPU microcode. Since such microcode is non-Free Software, such messages don't belong in GNU Linux-libre.

That reads very much as "we don't want to encourage users to consider updating microcode". Your argument also seems unlikely since distros ship the microcode as an extra package that gets picked up by the kernel, so clearly the ability to not upload microcode if the user doesn't provide it is there. (It makes sense that is that way and a different situation than the drivers your link discusses, since the device runs without a microcode update, whereas peripherals that need blobs often won't run at all without them)

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @10:11PM (#29293856)
The deblobbing script includes an explicit section that censors the microcode update messages.

http://linux-libre.fsfla.org/pub/linux-libre/releases/5.15.3...

Grep for "Do no recommend non-Free microcode update" [sic].

The actual censoring patterns are here:

http://linux-libre.fsfla.org/pub/linux-libre/releases/5.15.3...

Grep for "arch/x86/kernel/apic/apic.c" to find some of them.

Re:I Love Arch, but GNU Guix Is My New Distro by LeoPanthera on Saturday November 20, 2021 @05:34AM (#29286906)
You might have, without realising it. It's supplied as a package in nearly every distro.

Here's the Debian package for the Intel microcode, for example:

https://packages.debian.org/bullseye/intel-microcode

Debian hides it away in their "non-free" repo but it's in the default install in many other distros.

Re:I Love Arch, but GNU Guix Is My New Distro by input_sh on Saturday November 20, 2021 @06:01AM (#29287023)
To add, you can do:

    dmesg | grep "microcode updated early to"
To see when it was last updated.
Re:I Love Arch, but GNU Guix Is My New Distro by computer on Saturday November 20, 2021 @05:34AM (#29286905)
Yes you have, it's done automatically.
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @05:54AM (#29286988)
serious question: why is something that is updated without you knowing about it ok?
Re:I Love Arch, but GNU Guix Is My New Distro by detaro on Saturday November 20, 2021 @05:56AM (#29286992)
Same way that it's ok that if you update your distro it fetches newer drivers, a new kernel and patched versions of all the software you installed? Microcode is loaded at runtime, it's not permanently modifying your system.
Re:I Love Arch, but GNU Guix Is My New Distro by amelius on Saturday November 20, 2021 @09:05AM (#29288159)
The question is still: are "magic incantations" in packages ok, considering that they allow the issuer to control your hardware more than if the code was baked into firmware just once?

Also, these packages allow vendors to keep quiet about security issues, because they can silently fix them in the next update.

Re:I Love Arch, but GNU Guix Is My New Distro by seoaeu on Saturday November 20, 2021 @02:18PM (#29290967)
Is it any more of a "magic incantation" than the linux-image-XYZ package which controls which OS kernel is installed? Or the linux-firmware package which controls what firmware gets loaded on various devices?

If you want to see when Intel issues new microcode updates, it is all available on their GitHub: https://github.com/intel/Intel-Linux-Processor-Microcode-Dat...

Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @06:03AM (#29287030)
but i dont do that automatically, as the parent described. as far as i am aware i need to manually issue a comand to perform the update, which is ok as far as i have that control
Re:I Love Arch, but GNU Guix Is My New Distro by e12e on Saturday November 20, 2021 @06:07AM (#29287055)
Distros prompt you when upgrading packages, not binaries. You get a prompt to update Firefox package, not for replacing the actual binary on disk.

Typically packages including microcode behave the same way - prompt to update the package, no prompt to implement that update (replace individual files).

Re:I Love Arch, but GNU Guix Is My New Distro by detaro on Saturday November 20, 2021 @06:07AM (#29287048)
"automatically" as in "automatically when you update the rest of your distro", not an extra step as the poster above clearly seemed to expect. That context also was clearly from the other comments already.
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @06:17AM (#29287093)
i dont seem to be able to reply directly. my question was meant as a clarification because simply saying something is "automatic" is very ambiguous. "automatic" to me means giving up control. to me whats being described is not "automatic"
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @05:56AM (#29286996)
It's updated when you update all your other packages. It's no different from updating your shell or your desktop environment.
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @06:05AM (#29287040)
but i am aware when those updates happen and what they are. they are not automatic or hidden
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @06:13AM (#29287084)
It's just a package. It's not automatic nor hidden. If you've never noticed it being updated, then you probably haven't been paying enough attention to the package list when you did choose to issue a system-wide upgrade command.
Re:I Love Arch, but GNU Guix Is My New Distro by zx2c4 on Saturday November 20, 2021 @06:49AM (#29287263)
Worth noting that BIOS updates frequently ship with ucode updates that are applied at boot before UEFI executes the operating system. So if GP is diligent about keeping the BIOS up to date, it's conceivable that Linux's ucode update has never had any work to do. At the very least this seems to be the case with Thinkpads.
Re:I Love Arch, but GNU Guix Is My New Distro by elsjaako on Saturday November 20, 2021 @06:48AM (#29287253)
What is that package called? Is it the "linux-firmware" one?
Re:I Love Arch, but GNU Guix Is My New Distro by zx2c4 on Saturday November 20, 2021 @06:50AM (#29287277)
Re:I Love Arch, but GNU Guix Is My New Distro by Varriount on Saturday November 20, 2021 @06:27AM (#29287134)
The "updated microcode" package is installed on your system manually (like any other package). The "automatic" part comes in when your system boots up, after this package is installed. On boot, when the package is installed, your system will automatically use the installed package to update the processor's microcode.
Re:I Love Arch, but GNU Guix Is My New Distro by medo-bear on Saturday November 20, 2021 @06:24AM (#29287120)
if its not automatic or hidden then it is ok, as long as you have that control. to be clear i think GNU has every right to forbid non-free software just as anyone has the right to not use GNU software if they don't want to. what should be known about are consequences and responsibilities for either (any) decision. if GNU says we dont want to support this security update it needs to clearly state the risk their users face. if it does that then its ok as far as i am concerned
Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @06:42AM (#29287222)
They do not state anything like that; that's the entire problem with that linux-libre patch. It is removing a message that informs user that their computer is at risk without an update, because they don't want people to know, because if they did most people would choose to install the proprietary update to the proprietary microcode they are already running, and that would expose the existence of that microcode, and the FSF's utopia only exists in the minds of people who aren't aware of all the proprietary firmware they're running anyway.

It's all a big lie. There's proprietary firmware everywhere. The FSF just doesn't want users to know about it, so they can live happily in their blissful ignorance believing they are freer than everyone else.

Re:I Love Arch, but GNU Guix Is My New Distro by izacus on Saturday November 20, 2021 @06:20AM (#29287106)
So is the microcode package and the loader that loads it. What kind of difference are you trying to make here?
Re:I Love Arch, but GNU Guix Is My New Distro by wiz21c on Saturday November 20, 2021 @08:07AM (#29287742)
> arbitrary religious dogma

"arbitrary political view"

there's a difference, it matters.

Re:I Love Arch, but GNU Guix Is My New Distro by wheelerof4te on Saturday November 20, 2021 @08:25AM (#29287855)
It is a religion at this point.

Political views have parties and parties have supporters. FSF is more like a cult that has followers.

How else do you explain their rejection to include Debian as a fully free distro?

Re:I Love Arch, but GNU Guix Is My New Distro by mbakke on Saturday November 20, 2021 @12:55PM (#29290255)
Debian is rejected because it has an official, endorsed "non-free" repository. That does not fulfill the GNU FSDG:

https://www.gnu.org/distros/free-system-distribution-guideli...

Specifically, "A free system distribution must not steer users towards obtaining any nonfree information for practical use, or encourage them to do so."

This is a political stance based on rational arguments and has nothing to do with religion.

Re:I Love Arch, but GNU Guix Is My New Distro by rollcat on Saturday November 20, 2021 @04:10PM (#29291875)
And by Debian's definition, some of FSF's own packages are non-free (notably, the documentation), so you have to explicitly opt-in to installing that.

I wish both of them directed their efforts towards more pragmatic problems, like making their software more accessible. In the rest of the world, freedom is usually a function of accessibility.

Re:I Love Arch, but GNU Guix Is My New Distro by h2odragon on Saturday November 20, 2021 @11:09AM (#29289280)
Consistent application of principles doesn't make a "cult". Its just so rare you may be unfamiliar with the difference.

Make a fork of their code with your preferred changes. The world will be improved and people who agree with you will be happy.

Re:I Love Arch, but GNU Guix Is My New Distro by rlopezcc on Saturday November 20, 2021 @01:03PM (#29290307)
> Political views have parties [citation needed] Political views MAY have parties. I agree to some extent with the cult argument though.
Re:I Love Arch, but GNU Guix Is My New Distro by nine_k on Saturday November 20, 2021 @03:18PM (#29291497)
Guix the package manager can work on top of a different Linux installation, and can even manage other things than distro packages. This is one of the things I'm planning to do.

BTW same thing is with Nix: you may not like the choices of NixOS but still enjoy most of the advantages Nix has to offer.

Re:I Love Arch, but GNU Guix Is My New Distro by civodul on Saturday November 20, 2021 @01:21PM (#29290485)
Guix is dedicated to ensuring user freedom. It doesn't provide non-free software so that users can make informed choices: they might choose to use third-party channels that provide non-free packages, or install non-free software via flatpak or some other tool, but they can trust Guix itself will never provide non-free software.

Part of allowing for informed choices is about raising awareness, for instance by explaining why some WiFi devices won't work out of the box (which is really the only practical issue one might stumble upon): https://guix.gnu.org/manual/en/html_node/Hardware-Considerat...

Re:I Love Arch, but GNU Guix Is My New Distro by arein3 on Saturday November 20, 2021 @11:52AM (#29289690)
>FSF doctrine that "binary blobs are bad unless you can't see them"

your statement is misleading

why did you add "unless you can't see them"

did FSF said binary blobs you can't see are not bad? Seems opposite from what FSF would do

Re:I Love Arch, but GNU Guix Is My New Distro by marcan_42 on Saturday November 20, 2021 @01:20PM (#29290480)
The FSF openly endorses devices with hundreds of kilobytes of nonfree blobs burned into ROM. They do this because they claim they can just "say it's equivalent to hardware". They only care about blobs when they're loaded from software, because at that point their existence becomes apparent, even though naturally a blob loaded into RAM gives the user more freedom (e.g. to inspect it or change it) than a blob loaded from ROM.
Re:I Love Arch, but GNU Guix Is My New Distro by stjohnswarts on Saturday November 20, 2021 @09:40AM (#29288456)
It has a lot of features that could make it useful in certain contexts like VM installs where you don't need to lean heavily on GPU. I'm going to try it at some point this weekend on a qemu VMM