this post was submitted on 03 Aug 2024
195 points (93.3% liked)

Linux

50368 readers
869 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 6 months ago

Yeah. I use ddg and still sometimes play Minecraft.

[–] [email protected] 17 points 6 months ago (1 children)

Yes.

Entire companies and (worse) government depending on a single vendor knows for it's 30 year long history of attitudes like "we before our customers" and "well tell you anything to sell you, but well barely do the basics on our products" and"we'll make sure we're compatible with nothing, going as far as sabotage, so you can't escape our greedy claws" is a very bad idea (tm). Forcing customers and citizens to use that crap is even worse.

With Linux ( and the open source world) you have an open System that has been independently verified by millions, you have actually inter system compatibility oozing out of the wazoo. You have vendors selling software that you can actually rely on.

[–] [email protected] 5 points 6 months ago (2 children)

Even with Linux though, so much of it relies on Github (think Nix Flakes, the AUR, and just general random apps that live there etc.) which is owned by MS. Not that they would necessarily just nuke Github one day (because that would be an insane thing to do) but just the general idea that MS is in a position to disrupt so much of the Linux ecosystem if they really wanted to makes me uneasy.

[–] [email protected] 1 points 6 months ago

Fully agree there, Linux should not be hosted on a service manageby Microsoft, if even just for the principle of it.

[–] [email protected] 3 points 6 months ago

I love nix but it's my main gripe with nixos. They really should switch to an alternative service.

[–] [email protected] 5 points 6 months ago

Well, as long as you have prepared a backup system then you should be fine. Like dual booting into Linux

[–] [email protected] 16 points 6 months ago (1 children)

Wouldn’t it be wild if all government work was located in Microsoft’s M365 services? Like imagine all government data living on a SharePoint site on an E5 M365 tenant. Like if every single citizen processing service was a PowerApps application? Imagine what would happen if Microsoft had an outage or a hack?

How easy would it be for a foreign adversary to take out a country by only focusing its attacks on a single company? Gosh what a hellscape that would be.

[–] [email protected] 1 points 6 months ago

The problem is EDR.

[–] [email protected] 9 points 6 months ago (1 children)

Yes we need variety. Imagine if all cars were from the same brand ..

[–] [email protected] 5 points 6 months ago (1 children)

Nervous sweating from the Audi-Bentley-Ducati-Lamborghini-Seat-Skoda-Volkswagen-Porsche-Conglomerate known as "Volkswagen AG"

[–] [email protected] 2 points 6 months ago (1 children)

They are still different brands with different features and price points. The fact that a faulty part was detected on Bentley doesn't 100% mean a Seat will have the same issues

[–] [email protected] 1 points 6 months ago

Yes-ish However the differences are not as big as you think. While this might be true for the luxury brands the "common" brands do share parts, often quite crucial ones too. (Think headlamps, think servos) Also they started to borrow design aspects from each other. They are not identical but certain lines do look very similar on a quick glance

[–] [email protected] 5 points 6 months ago (1 children)

I think the issue has more to do with the "cloud"

[–] [email protected] 1 points 6 months ago

YES.

And not just the cloud, but internet connectivity and automatic updates on local machines, too. There are basically a hundred "arbitrary code execution" mechanisms built into every production machine.

If it doesn't truly need to be online, it probably shouldn't be. Figure out another way to install security patches. If it's offline, you won't need to worry about them half as much anyway.

[–] [email protected] 1 points 6 months ago

Nah, I'd be completely fine if M$ went bankrupt and stopped developing Winblows altogether.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

Yes. All world uses the weird os that is incompatible to everything else. Which makes transition of propietary software even harder.

[–] [email protected] 35 points 6 months ago (2 children)

No. If everyone were on Linux and there was a breaking change introduced by a third-party there would be similar problems.

The problem is that critical infrastructure isn't treated like critical infrastructure. If something you rely on can go down due to a single point of failure, maybe don't fucking use it?! Have backups, have systems that can replace those systems, have contingency! Slapping Windows on to a small machine and running some shitty Chromium app to work as a cash register is a fucking stupid idea when you consider that it is responsible for your whole income.

The problem was never Windows. It was companies that were too cheap to have contingency, because an event like this was considered extraordinary and not worth investing in.

[–] [email protected] 2 points 6 months ago

I mean this is sort of like what the new NIS2 Regulations tries to achieve. Make critical infrastructure producers and maintainers aware and force them to treat their infrastructure accordingly.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (4 children)

Nope, that's not how it works on Linux, even if someone introduced the most heinous breaking change people would just not update until things were fixed, in fact the update is unlikely to do that because things are tested before being pushed. If someone were using latest of everything by having something like a Gentoo system with everything building from git maybe that person would be affected and he would have to rollback to an earlier version and keep going for a total downtime of 1h tops, and that is if someone was using the most stupid way possible in production.

The main reason why this will NEVER happen to a server running Linux is that updates are not automatic, i.e. they get triggered manually, so if there's an issue upstream you don't update, and if you encounter you rollback. The issue is not that Windows had a broken update, that can happen and it's fine, the issue is when the OS forcefully installs that update and breaks your system without you doing anything.

And yeah, I know what I'm talking about, I worked as a software architect for a large website for a few years and now I work as a software engineer for the servers of one of the largest online games.

Edit: re-reading your post, I would like to ask you how would you build this critical infrastructure with Windows? Because independently of how you answer it you would have been affected by this.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

the issue is when the OS forcefully installs that update and breaks your system without you doing anything.

The crowdstrike update was pushed out by their own software I thought, not the windows update system?

Plus crowdstrike has caused similar issues with Linux systems before, so the solution is to just not use crowdstrike and similar solutions on any OS.

The issue is not that Windows had a broken update, that can happen and it’s fine, the issue is when the OS forcefully installs that update and breaks your system without you doing anything.

I would have thought most businesses with windows would do staged rollouts.

[–] [email protected] 1 points 6 months ago (1 children)

the solution is to just not use crowdstrike and similar solutions on any OS.

Exactly, and since Windows is similar, therefore...

[–] [email protected] 1 points 6 months ago

I'm not sure what you mean?

[–] [email protected] 2 points 6 months ago (1 children)

The problem wasn't with an update Microsoft pushed out. It was due to an update by crowdstrike which iirc ignored all settings for staged rollout (or there were no settings at all for that)

It's not like anyone outside Crowdstrike chooses to have these updates installed. It happened automatically with no way of stopping it.

[–] [email protected] 2 points 6 months ago (1 children)

Yes, this specific problem wasn't caused by Microsoft, but it was caused by the forced automatic update policy that crowdstrike has, which is the same behavior Windows has. So while this time it wasn't Microsoft, next time it could be. And while you can prevent this from happening on your Linux box by choosing software that doesn't do this, it's impossible to prevent it on a Windows box because the OS itself does it.

[–] [email protected] 3 points 6 months ago (1 children)

You absolutely can (and should) do staged rollout for windows updates.

Source: We do that at work. We have 3 different patch groups. 1 "bleeding edge", 1 delay by a day or two, and another one delayed by a bit more. This so so we can stop an update from rolling out to prod if dev breaks.

[–] [email protected] 2 points 6 months ago (1 children)

Correct me if I'm wrong, but others have told me that Microsoft reserves the right to push security upgrades that bypass any policy setup by the network administrator.

[–] [email protected] 1 points 6 months ago

Maybe, I'm not sure about that.

It's possible that there is a way to for example bypass a company's WSUS server but I don't know if there is such a way and I couldn't find any obvious way when searching.

Due to the source being hearsay I don't really feel convinced and if I were you I wouldn't spread such information further unless you found reliable sources first.

I'm open to any information about it if anyone can find any reliable information like documentation or blog posts from MS employees.

Still I highly doubt that is used often at all if it even exists. Only to be used in the absolute direst of times. I would also trust Microsoft much more in such a case that a third party like Crowdstrike.

[–] [email protected] 3 points 6 months ago (1 children)

That is a wild assumption with two key flaws

  1. Windows in many workplaces has updates locked down too, except in circumstances where critical security or vulnerability patches are pushed through.

  2. The same is true for many servers that run Linux.

As someone that works on tier1 services for arguably the biggest tech company right now, that's how it works in most of FAANG. Updates are gated, sure, but like with many things there's a vetting process where some things that look super important and safe just slip through.

In regards to your edit, I guess most cases are different from others, but if your entire business requires you to be able to use a machine 100% of the time then you should have the means to either use a different machine to continue transactions (ideally one with a known state that won't change, or has been tested in the last few months). If you need to log transactions and process 24-48 hours later do that on something that's locked down hard, with printed/hard backups if necessary.

Ultimately, risk is always something you factor in. If you don't care about 48 hours of downtime over several years, it's not a huge concern. I'd probably argue that many companies lost more money during these days than they would have spent in both money and people-hours training them on a contingency system to use in case of downtime.

[–] [email protected] -1 points 6 months ago
  1. Who determines which security updates are critical? In windows case it's ultimately Microsoft, if they say this update is critical it will get installed on your machines whether you like it or not.
  2. The update process in Linux needs to be triggered manually, so it's a big difference. No one external to your company can say "that computer will get this new software NOW", and that's the point you're missing.

In answer to the other dit answer, if all of those machines are windows they were all affected by the update, so having secondary or tertiary machines is pointless because all of them failed at the same time when an external source decided to install new software on all your computers.

[–] [email protected] 3 points 6 months ago (1 children)

Windows updates don't happen automatically in an Enterprise environment. They are tested and pushed out once the version is determined to be stable.

[–] [email protected] 1 points 6 months ago

They should be, but I remember reading a lot of people saying that even in enterprise environments Microsoft reserved the right to push security updates that bypassed those rules.

load more comments
view more: next ›