News for hackers. Stuff that matters.
Re:I help seniors with technology issues. A regular came in ... by mysterydip on Monday October 24, 2022 @07:41AM (#33315437)
"When people had a choice in updates, too many would postpone them. This left our OS susceptible to attacks which made for some bad press for us. If we force updates, this won't happen." - some exec, probably
Re:I help seniors with technology issues. A regular came in ... by raverbashing on Monday October 24, 2022 @07:49AM (#33315506)
And the worse part is that they're not wrong
Re:I help seniors with technology issues. A regular came in ... by II2II on Monday October 24, 2022 @09:06AM (#33316136)
They were wrong in the sense that they used it to condition people to accept non-security updates and they were wrong in the sense that some people are better placed to determine whether any form of update is an unacceptable risk.

As things stand today, I only trust updates from community driven open source software projects. With exceptionally few exceptions, commercial software seems to offer the guarantee of delivering undesirable payloads.

Re:I help seniors with technology issues. A regular came in ... by brookst on Monday October 24, 2022 @09:40AM (#33316474)
I work for one of those very large commercial software companies. In general, I think we do a pretty good job. We absolutely fuck some things up, for sure, for a lot of different reasons.

But I promise you there is never any kind of Machiavellian multi-year plan to condition people for upcoming bad behavior. Most of the things we do screw up are from lack of foresight; we are definitely not strong enough at long range planning to run psyops on customers.

Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @07:59AM (#33315572)
If by "bad press" you mean "other users getting fucked over by an entire homogeneous ecosystem of the same OS being a breeding ground for gigantic botnets that criminals were able to turn on services to knock them off the internet," yes.

The only real way to address it without the mandatory updates was for the ecosystem to diversify; can't use a Windows exploit to compromise a Mac OS machine.

You can imagine why that solution was not on Microsoft's list of recommendations.

Re:I help seniors with technology issues. A regular came in ... by tgsovlerkhgsel on Monday October 24, 2022 @09:02AM (#33316081)
The real way to address this would be to not make users hate updates.

That would mean doing as much of the work as possible in the background in a way that doesn't impact the user and making sure the reboot where it actually gets activated doesn't take noticeably longer. It would also mean not doing things that are against the user's interest like moving things around, installing new ads or misfeatures, or breaking things.

I don't know anyone who hates or wants to disable Chrome updates, for example (I'm sure such people exist, but it's much less common than Windows updates), despite Chrome updating way more often than once a month.

Of course, overcoming the aversion people built over years because of past bad behavior is going to be hard, but forcing people against their will and making updates more disruptive isn't going to help with that aversion. People really dislike being forced to do something, even if they don't actually mind the thing itself that much.

Re:I help seniors with technology issues. A regular came in ... by kevincox on Monday October 24, 2022 @09:16AM (#33316227)
This is the key. Lots of systems have seamless updates where the only real interruption is a reboot.

Android does an A/B update and after a only slightly slow reboot is in the new version. It then does some optimization in the background that can have a slight performance impact.

NixOS must be the gold standard here. It downloads and completely installs the new version in the background then a regular-speed reboot is enough to be running the new system. (~10s on my system)

But Windows and macOS both have crazy slow update processes. When I had a mac for work I was dumbfounded by how slow the update process was. It regularly took >30min! Those machines are crazy fast, it seems like it could have written a TiB of data in that time so IDK what it is actually doing.

Re:I help seniors with technology issues. A regular came in ... by atonse on Monday October 24, 2022 @10:03AM (#33316744)
100% agree with this.

Point updates of macOS take 20+ minutes on an M1 Max with 32GB of memory and a blazing fast SSD. What could it possibly be doing?

Even iOS updates are a bit faster.

Is apple even interested in fixing this?

Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @10:31AM (#33317141)
> What could it possibly be doing?

If memory serves: point-symbol optimizations to make code calls into The objective-C libraries performant.

Under The hood, objective-C really does use strings to reference library functions. So when the OS is updated, the string interning table is updated and all of the installed software has to have its string to symbol caches rewritten to account for the new API.

There are almost certainly better ways to do this but if I understand correctly, Apple inherited the existing solution without putting enough thought into how it would scale and now changing the solution would break an indeterminate amount of software depending upon the current implementation.

Re:I help seniors with technology issues. A regular came in ... by saagarjha on Monday October 24, 2022 @10:45AM (#33317352)
No, installed software is not patched on updates.
Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @11:02AM (#33317607)
Not "installed software patched;" caches rebuilt.
Re:I help seniors with technology issues. A regular came in ... by saagarjha on Monday October 24, 2022 @11:03AM (#33317623)
They come from Apple on a signed system image that cannot be modified.
Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @11:27AM (#33317967)
Sorry, can you clarify? What is the "they" in that sentence?

EDIT: a sibling comment jogged my memory; the thing I was doing a bad job of remembering was prebinding. https://opensource.apple.com/source/cctools/cctools-622.5.1/...

When a new version of the OS is installed, the OS re-runs prebinding for applications to the dynamic libraries they rely on because the dynamic libraries may have changed. The alternative is to have a big latency bump every time an app is launched for the first time as the caches are rebuilt on-the-fly.

(I think this is the step that used to be called "Making Your Macintosh Happy" during an install, but the veracity of that notion has fallen too far down the Google search hole for me to easily pull up a reference to confirm or deny it).

Re:I help seniors with technology issues. A regular came in ... by plorkyeran on Monday October 24, 2022 @12:10PM (#33318574)
That's no longer done on install. The modern equivalent of it is part of the signed image that you download from Apple.
Re:I help seniors with technology issues. A regular came in ... by batman-farts on Monday October 24, 2022 @11:12AM (#33317776)
Yes, it’s been like this since the 10.0/public beta days at least. I remember wondering about it back then. I believe the command the system updater always runs is something like update_prebinding -root /
Re:I help seniors with technology issues. A regular came in ... by atonse on Tuesday October 25, 2022 @07:57AM (#33329326)
And they can’t precompute those caches for particular libraries and ISA combinations? They know exactly what hardware it’ll run on.
Re:I help seniors with technology issues. A regular came in ... by saagarjha on Monday October 24, 2022 @10:46AM (#33317358)
Ventura improves update times to 5-10 minutes on my computer.
Re:I help seniors with technology issues. A regular came in ... by pooper on Monday October 24, 2022 @10:14AM (#33316890)
I think practically all the problems with Windows will go away with one simple change. Do not ever reboot a computer without a user's consent. Any feature that requires automatic reboot should be opt-in.

However, this exposes the real challenge. We cannot have informed consent without informed users. I think this problem will haunt us repeatedly in the future. We need users to know at least a little bit about their options. Only then can they make informed choices on what option to pick. This means people can't glaze over the details and not worry about them. This does not mean you have to be a computer wizard. You just need to know what you want and pick an option that is good for you. For example, I run this on Fedora:

    sudo dnf offline-upgrade download -y && time sudo dnf offline-upgrade reboot
Any update requires a reboot. However, I am ok with it because I am positive each update comes after a lot of testing. More importantly, I am in control of when to run this update. I can't accidentally run it because it requires my sudo password.

I used to wonder why no corporation complains about Windows Update. Then I learned that virtually all companies use group policy to change Windows Update behavior to suit their organization. Therefore, this is a non-issue for them. Welp.

Re:I help seniors with technology issues. A regular came in ... by hinkley on Monday October 24, 2022 @11:58AM (#33318405)
> Do not ever reboot a computer without a user's consent.

That also includes never crashing, which Microsoft has historically struggled with.

If you don’t reboot in an orderly way, then the machine crashes while the user is doing something, and when it restarts everything is different. “Don’t restart” is insufficient for good UX here.

Re:I help seniors with technology issues. A regular came in ... by TheRealDunkirk on Monday October 24, 2022 @01:03PM (#33319291)
The problem here is that a modern OS should only need to be rebooted when the kernel is updated, and Microsoft's security model requires updating the kernel all the time. On Linux, kernel security updates are usually, "Hey, update this when you get a chance, because a bad actor already on your system could escalate privilege in a rare scenario." With Windows, it's an almost-weekly, "Hey, update right now, because someone in another country is pwning all unpatched machines that aren't air-gapped from the internet."
Re:I help seniors with technology issues. A regular came in ... by pooper on Monday October 24, 2022 @04:19PM (#33322094)
> a modern OS should only need to be rebooted when the kernel is updated

You can still choose to reboot for every update. The point though is that it is a choice.

   sudo dnf offline-upgrade download -y && time sudo dnf offline-upgrade reboot
It doesn't nag me at all other than ask me for my sudo password. It is perfect.

Here is what I understand about dnf offline-upgrade

> The process of restarting, applying updates, and then restarting again is called Offline Updates. Your computer boots into a special save-mode, where all other systems are disabled and where network access is unavailable. It then applies the updates and restarts.

https://fedoramagazine.org/offline-updates-and-fedora-35/

> With Windows, it's an almost-weekly, "Hey, update right now, because someone in another country is pwning all unpatched machines that aren't air-gapped from the internet."

I see. I feel like I don't quite understand the extent of the problem. In any case, I am not qualified to even attempt to propose a fix. My mode of thinking was Google Chrome and derivatives are able to slowly walk along with increasingly scarier visible warnings asking users to restart the web browsers but they don't (as far as I know) reboot the web browser while the user is still using it. Even Google Chrome OS didn't do that (well, it didn't back when I had my cr-48). When I updated Mozilla Firefox on my Fedora machine, existing tabs continued to work. New tabs would come with a warning for me to close Firefox and open it again. This is the kind of warning I was getting rid of with offline-upgrade.

I agree with my parent comment though. Updates are too bloated. Windows updates should be very fast with a modern processor (Intel eighth gen, AMD equivalent or greater), enough memory, and a fast SSD. Even DNF which has a very renowned reputation (at least among Fedora users) of being slow, is pretty reliably fast. I think the point that my parent comment was making was make people not dread rebooting their machine. My thought was

1. educate the users why reboots are essential 2. allow the users to postpone reboots indefinitely

However, I don't know what to say if there is an active remote command exploitation in the wild. It is important to get the update to the user before the exploit. However, that goes against everything I've said so far. I guess this leads us to the status quo. Those who have the know-how to use group policy can opt out of certain Windows Update behavior. The rest can either learn to do this: and set up their own Windows Update server? Periodically check CVE and gate update releases? Not sure how it works...

The reason I hesitate and say automatic reboot should be OPT-IN is sometimes I like to do some simple long running task like stitch photos I took into a video using ffmpeg. It can take hours on a slow laptop processor. It would really suck to do something like that and come back to see the computer rebooted itself.

Re:I help seniors with technology issues. A regular came in ... by tgsovlerkhgsel on Tuesday October 25, 2022 @01:41AM (#33326663)
Aren't Windows updates outside of the monthly update cycle exceptionally rare?
Re:I help seniors with technology issues. A regular came in ... by jeffbee on Monday October 24, 2022 @10:25AM (#33317046)
> despite Chrome updating way more often than once a month.

Chrome updates approximately every month unless there is a security issue that has to be pushed out faster.

https://en.wikipedia.org/wiki/Google_Chrome_version_history

Re:I help seniors with technology issues. A regular came in ... by tgsovlerkhgsel on Monday October 24, 2022 @11:00AM (#33317572)
Searching https://chromereleases.googleblog.com/search/label/Stable%20... for "Stable channel update for desktop" shows 4 updates in the last 30 days.
Re:I help seniors with technology issues. A regular came in ... by jeffbee on Monday October 24, 2022 @11:32AM (#33318048)
Yeah, it's been a bad month for using after freeing.
Re:I help seniors with technology issues. A regular came in ... by greendave on Monday October 24, 2022 @10:55AM (#33317500)
> The real way to address this would be to not make users hate updates.

That's basically not possible in some cases. Not all of us are on super-fast broadband, even in places that are nominally 'first world'. The _best_ my parents can get is 8Mbps on DSL. Every time an update starts auto-downloading, you know immediately because all other connections grind to a halt.

(Now why a minor point update security fix for Monterey is 1.6GB I have no idea. But presumably that's not something Apple is capable of/interested in fixing)

Re:I help seniors with technology issues. A regular came in ... by recursive on Monday October 24, 2022 @03:55PM (#33321714)
Why does that have to be done when they're awake?
Re:I help seniors with technology issues. A regular came in ... by callmeal on Monday October 24, 2022 @11:12AM (#33317769)
>I don't know anyone who hates or wants to disable Chrome updates

That would be me for one. I hate it when google sneaks in privacy reducing preferences that are automatically turned on. I like to occasionaly go through settings to see what has changed and was surprised when an update showed up a whole host of new active features.

Why on earth should usb ports on my laptop be automatically exposed to any web page that demands it? Chrome can do that now. And not just usb/serial/midi ports, and motion sensors, chrome has also enabled 'presence' (a way for sites to know when you're actively using the browser). I found that creepy.

Re:I help seniors with technology issues. A regular came in ... by Nzen on Monday October 24, 2022 @04:26PM (#33322219)
My first thought ends with 'enabling yubikey-style mfa', but it seems that some [0] hardware vendors use webusb to enable a binary protocol, rather than translating their usb sensor output into (keyboard) scancodes.

[0] https://en.wikipedia.org/wiki/WebUSB

Re:I help seniors with technology issues. A regular came in ... by ryandrake on Monday October 24, 2022 @11:17AM (#33317824)
Software companies' bad behavior has trained me to no longer trust updating. I would love to auto-update my software if I had some kind of assurance that all I was getting in those updates were security fixes. But instead, companies abuse auto-update to shovel everything else at me too: Unnecessary UI changes, new features I don't want, removal of old features I regularly use, larger binaries, slower binaries, and so on.

More software companies need to get on board with the idea of having a separate maintenance branch and "next version" branch. Too many of them just develop on trunk and every time you update for bug fixes and security, you get all the other crap their developers have been working on too.

Re:I help seniors with technology issues. A regular came in ... by shadowgovt on Monday October 24, 2022 @11:35AM (#33318074)
Funny enough, I was trained off of that not by software companies, but by the open-source community.

Too many instances of installed Linux distros breaking because some foo relied on some bar that the distro declared should work fine but must have slipped through the testing cracks somehow. Or I'd gone off-book on some custom project or other because it relied on library versions that weren't in the distro, then I forgot I did that and updating the distro libs broke my project.

I basically never run the apt updates these days.

Re:I help seniors with technology issues. A regular came in ... by newt_slowly on Monday October 24, 2022 @12:23PM (#33318733)
Chrome seems to me to be an example of how some users will never update regardless of how easy upgrading is. I can't count how many colleagues, when screen sharing, always have the red icon in their Chrome window showing that they need to update. It doesn't matter how easy it is - they just won't do it.

Just to be clear, this isn't an argument that as a result updates should be forced.

Re:I help seniors with technology issues. A regular came in ... by ako on Monday October 24, 2022 @08:24AM (#33315763)
It’s not just software execs, I’ve actually heard customers asking for auto-update recently as approving and updating it themselves was too cumbersome, or they relied on a department for this that had no time to do this soonish. They literally asked for “auto updates like chrome or Firefox”…
Re:I help seniors with technology issues. A regular came in ... by OkayPhysicist on Monday October 24, 2022 @05:13PM (#33322739)
Auto updates are fantastic if, and only if, the developer can be trusted not to break things for fun. Firefox's auto-updates consist of downloading stuff in the background, prompting me to "restart when you want to apply the update", and then changing next to nothing about my experience of the application between updates.

That is the perfect update story. Everyone loves it: the users aren't having their workflows upended, the developers are able to push updates regularly for security problems and the like, the only loser is the graphics designer who got hired because daddy owns the company and needs to constantly re-design the user interface to justify their job. (seriously, people in companies that do this kind of shit, what is it with re-designs? Why?)

Re:I help seniors with technology issues. A regular came in ... by hardware2win on Monday October 24, 2022 @08:57AM (#33316035)
OSes should update because people dont care.
Re:I help seniors with technology issues. A regular came in ... by omgmajk on Monday October 24, 2022 @09:46AM (#33316537)
I lost some work a while ago because in Win 10 home you can't easily turn off automatic updates. The amount of hate I got on some forums for suggesting that automatic updates are bad was beyond me. I just upgraded to Pro instead and turned it off in group policies, but I still got hit with an automatic restart at some point.
Re:I help seniors with technology issues. A regular came in ... by daemin on Monday October 24, 2022 @09:59AM (#33316703)
While I have upgraded to Pro and turned off those settings myself, I have not experienced my whole system restarting to do an update. I have had to neuter the TPM modules in my BIOS to prevent Windows 11 from automatically installing though.

However the issue that I've had was my Terminal App shutting down by itself, I thought it was a crash but it turns out it was because the Windows Store decided to update it.

Now that is complete BS! How can a store arbitrarily decide to update an app while it is still running without asking, without waiting? Even Steam waits to download and update games for when you're not playing one. If it ever did the same thing as what the Windows Store does then there'd be a riot for sure. I guess that it means the Windows Store is just not being used by people at all.

For those interested the "fix" for not having Terminal app restart for an update is to download the MSI package, extract it to a directory, and run it from there. That's directly from the Developer's words on Github.

Re:I help seniors with technology issues. A regular came in ... by ectopod on Monday October 24, 2022 @10:24AM (#33317032)
Thank you! I've had wt just disappear on me a few times now and I've been meaning to investigate. It never occurred to me this was by design.
Re:I help seniors with technology issues. A regular came in ... by cratermoon on Monday October 24, 2022 @10:11AM (#33316868)
Automatic updates to address real issues and security risks are fine, unless you're talking about updates that can't be postponed if you're in the middle of something.

What we see, of course, is exactly what the twitter thread posted mentions: some "dickweasel" hijacked the update system to push crapware or do something user-hostile for purposes completely unrelated to what the user would want.

James Williams discusses this in his book "Stand Out Of Our Light", and likens it to a GPS that takes you off to places that you never wanted to visit in the course of (maybe) getting you to your intended destination. Of course, you arrive late, if ever, and burned way more gas (or battery) than you needed. But the GPS got you to drive by a specific set of billboards that they wanted you to see.

Re:I help seniors with technology issues. A regular came in ... by omgmajk on Monday October 24, 2022 @03:41PM (#33321495)
In my situation, I was doing GPU intensive work that took about two weeks to complete and got hit with an automatic reboot overnight at some point far into the run. It hit me again overnight while I hadn't saved something, which is my own fault, but it still bugged me. I update my system when I need to update it, but I don't like that it happens without my consent and that there is no way to turn it off.
Re:I help seniors with technology issues. A regular came in ... by RunSet on Tuesday October 25, 2022 @10:56AM (#33331353)
> in Win 10 home you can't easily turn off automatic updates.

If you set your internet connection to "metered" it exposes an option to disable automatic updates.

https://www.tenforums.com/tutorials/139722-turn-off-download...

Re:I help seniors with technology issues. A regular came in ... by omgmajk on Friday October 28, 2022 @08:19AM (#33370471)
Sweet, good to know for my laptops. :)
Re:I help seniors with technology issues. A regular came in ... by naikrovek on Monday October 24, 2022 @10:02AM (#33316734)
not just bad press. they were called before Congress and asked why updates weren't required.
Re:I help seniors with technology issues. A regular came in ... by codalan on Monday October 24, 2022 @01:59PM (#33320088)
It's not that updates are necessarily bad.

It's when they try to launder in a bunch of "feature" updates (i.e. more spyware, more crapware) with needed security updates.

They force the user to make a decision: Do I skip this update and avoid having new "features" from crippling my machine, or do I download the update to prevent my machine from being hacked?

If vendors really gaf, they would make is so that you could download needed security updates w/o the rest of the garbage. But then they couldn't force more malware on you.

Re:I help seniors with technology issues. A regular came in ... by Iolaum on Monday October 24, 2022 @02:15PM (#33320274)
This! Security updates bundled with feature updates are what makes updates hostile to the consumer.
Re:I help seniors with technology issues. A regular came in ... by jjeaff on Monday October 24, 2022 @03:15PM (#33321098)
In their defense, it would be difficult to keep security updates fully separate from feature updates since sometimes replacing a vulnerable feature with a new feature is the easiest fix rather than pushing the new feature, but also issuing a separate fix for those that don't want the new feature.

In other words, it's only reasonable to expect security updates for a certain length of time and not indefinitely.

Re:I help seniors with technology issues. A regular came in ... by dan-robertson on Monday October 24, 2022 @04:14PM (#33321995)
Somehow windows devices are ok at installing security updates and most apple phones are on the latest os version.

I’d be interested to know what the actual story at MS was for this. I think the executives there in the past demonstrated pretty good decision making. Here’s[1] someone claiming something about PM’s thinking they knew better than users and maybe there is some hidden OKR incentive driving that reasoning, but my weak understanding is that that person wasn’t really involved in what happened so I don’t know how true it is.

[1] https://twitter.com/danluu/status/1504567911565824000 nitter: https://nitter.fly.dev/danluu/status/1504567911565824000