Comment by microtherion

2 months ago

The certification was always a bit odd, applying only to a configuration nobody would run in practice: https://www.osnews.com/story/141633/apples-macos-unix-certif...

If you'd try to certify any modern Linux distribution, you'd end up with a very similar list.

- The Linux kernel also has timer coalescing

- Linux also has lazy atime ('relatime') by default

- No Linux distro installs uucp by default, and certainly not suid

- Desktop distros will also run a file indexer of some sort

etc.

The explanation I remember seeing many years ago, no idea how true it is, was that this was entirely about purchasing.

There were (are?) companies and especially parts of the government where it was pretty difficult/impossible to purchase anything that wasn’t on an official pre-approved list. Trying to get anything new added was a massive problem.

One of the things that was on the list was something like “a computer running Unix“. Tada. Macs now run Unix so you can easily buy them.

Like other people here, I really don’t think true compliance mattered to basically anyone for their actual use. The idea that it was just box checking so they were easier to buy in some institutional environments makes much more sense to me.

  • I can see that. Before linux, there were lots of versions of unix from all kinds of vendors.

    I'll bet all kinds of government contracts needed some way to compare vendors bidding on a contract

    for example:

    - These ran UTX-32, Gould's version of Unix based on a BSD 4.2 kernel developed by Gould's UNIX development centre in Urbana-Champaign (IL) to support multiprocessor systems

    - AIX is based on UNIX System V with 4.3BSD-compatible extensions.

    - DG/UX 1.00, released by Data General in March 1985, was based on UNIX System V Release 2 with additions from 4.1BSD.

    - HP-UX (from "Hewlett Packard Unix") is a discontinued proprietary implementation of the Unix operating system developed by Hewlett Packard Enterprise

    - Xenix is based on the operating system UNIX System V, which Microsoft licensed from AT&T Corporation in the late 1970s.

    • You know what, I think the story I’m remembering may have been about NeXT. It was one reason so many three letter government agencies bought them.

      So OS X continuing that strategy early on would make perfect sense.

The certification also was kind of bad at actually checking that the standard interfaces behaved as they should.

The relevant text from the article, (the rest of this comment is a direct quote from the article):

So, if you want your installation of macOS 15.0 to pass the UNIX® 03 certification test suites, you need to disable System Integrity Protection, enable the root account, enable core file generation, disable timeout coalescing, mount any APFS partitions with the strictatime option, format your APFS partitions case-sensitive (by default, APFS is case-insensitive, so you’ll need to reinstall), disable Spotlight, copy the binaries uucp, uuname, uustat, and uux from /usr/bin to /usr/local/bin and the binaries uucico and uuxqt from /usr/sbin to /usr/local/bin, set the setuid bit on all of these binaries, add /usr/local/bin to your PATH before /usr/bin and /usr/sbin, enable the uucp service, and handle the mystery issues listed in the four Temporary Waivers.

Then, and only then, is your macOS 15.0 actually UNIX® 03-certified.

This is batshit insane. I can guarantee you with 100% certainly not a single macOS installation in the entire history of macOS – let alone when just counting macOS 15.0 – has implemented even half of these changes. I’m sure there is a small number of people who have System Integrity Protection disabled permanently, and an even smaller number of people who have enabled the root account, and an even smaller number of people who have done both of those things – but that’s it. All the other changes are far too obscure and specific to be of any use to anyone.

Reminds me of (technically) POSIX compatible Windows.

The whole UNIX certified thing is a bit odd to start with, but those addendums are really just saying that because the UNIX compliance tests are thoroughly stuck in the past, a bunch of security measures (that users expect to exist on modern systems) have to be disabled to run the test suite.

  • Yup. And why is UUCP still in there? I mean, yes I have used it, so far back that the docs were written in Quenya. But requiring it now?

    Btw, MacOS 27 (the current version) still has UUCP.

  • SIP is not some irrelevant detail, nor is it an obviously good "modern security practice". A system that the hardware owner cannot modify is not really on the same wavelength as traditional UNIX.

    • The hardware owner can modify it all they want, disable SIP. For a large swath of average and non-average users that will not be modifying the closed-source OS they're running, it is obviously good.

      Traditional UNIX is does not mean having an open source core you're intended to tinker with. Traditional UNIX was entirely proprietary, connected with well-defined text-based interfaces. This is entirely orthogonal to user control and manipulation of the OS.

      10 replies →

I had no idea there was a built-in way to make the filesystem case sensitive. My employer probably does not want me to spend time reinstalling my OS for this now but maybe next time I'm given a MacBook for a job I should do this...

  • Curiously, the iOS filesystem is case-sensitive. A bit of a trap for developers on macOS. I’d expect plenty of third-party stuff to break switching the system drive to case-sensitive.

That’s a bit of a weird article and I’m not 100% sure what its point is.

> This is batshit insane. I can guarantee you with 100% certainly not a single macOS installation in the entire history of macOS – let alone when just counting macOS 15.0 – has implemented even half of these changes.

Well, maybe that means it doesn’t really matter and especially not to the extent that the author seems (?) to be making it out to be. If no one disables System Integrity Protection in order to be UNIX® 03-compliant, maybe that means that to the extent that people care about macOS being “a UNIX”, they don’t care specifically about the parts of the specification that are incompatible with System Integrity Protection.