Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Microsoft Linux

Surprise: Microsoft Has a Second Internal-Use-Only Linux Distro (zdnet.com) 59

ZDNet reports there's more than just the one Microsoft-created Linux distribution for internal use only called CBL (Common Base Linux) Mariner.

"It turns out there's another Microsoft-developed Linux distribution that's also for internal use that's known as CBL-Delridge or CBL-D." I discovered the existence of CBL-D for the first time this week in a rather round-about way. I stumbled onto a February 2 blog post from Hayden Barnes. a Senior Engineering Manager at SuSE who led the Windows on Rancher engineering team, which traced his steps in discovering and building his own image of CBL-D. Barnes noted that Microsoft published CBL-Delridge in 2020, the same year that it also published CBL-Mariner. The main difference between the two: Delridge is a custom Debian derivative, while Mariner is a custom Linux From Scratch-style distribution.

CBL-D powers Azure's Cloud Shell. The Azure Cloud Shell provides a set of cloud-management tools packaged in a container. In a note on the GitHub repo for the Cloud Shell, officials noted that "the primary difference between Debian and CBL-D is that Microsoft compiles all the packages included in the CBL-D repository internally. This helps guard against supply chain attacks...."

CBL-Mariner and CBL-Delridge are just two of the Microsoft-developed Linux-related deliverables from the Linux Systems Group. Others include the Windows Subsystem for Linux version 2 (WSL2), which is part of Windows 10; an Azure-tuned Linux kernel which is designed for optimal performance as Hyper-V guests; and Integrity Policy Enforcement (IPE), a proposed Linux Security Module (LSM) from the Enterprise and Security team.

This discussion has been archived. No new comments can be posted.

Surprise: Microsoft Has a Second Internal-Use-Only Linux Distro

Comments Filter:
  • What compiler? (Score:5, Interesting)

    by hduff ( 570443 ) <hoytduffNO@SPAMgmail.com> on Sunday May 15, 2022 @01:02PM (#62535946) Homepage Journal

    I wonder what compiler do they use?

    • by Viol8 ( 599362 )

      Because AFAIK the kernel code uses a number of gcc extensions. Perhaps they're also supported by clang now but I doubt VC++ will and besides that theyd need to rewrite the entire build system to use a different compiler if for no other reason than all the gcc specific command line options in the make files.

  • by 93 Escort Wagon ( 326346 ) on Sunday May 15, 2022 @01:05PM (#62535948)

    Hayden Barnes probably lives in West Seattle.

    • The joke: (Score:4, Informative)

      by Gravis Zero ( 934156 ) on Sunday May 15, 2022 @03:57PM (#62536572)

      Hayden Barnes is a character from the soap opera titled General Hospital.

      Hayden comes to town, paid by Ric Lansing to pose as the wife of the amnesiac Jake Doe, so that Ric could date Elizabeth Webber, who was falling for Jake. Hayden's scheme is later exposed, but she finds out that "Jake" is really Jason Morgan, and blackmails Nikolas Cassadine with this information. However, Nikolas has Hayden shot, leaving her in a coma; she wakes up with amnesia. Hayden moves in with Nikolas, who is keeping an eye on her. Hayden later figures out the truth, but keeps quiet, and starts a relationship with Nikolas. Jason's identity is exposed, and Hayden rubs it in Elizabeth's face when Jason leaves her for her deception. Elizabeth, in turn, promises to make Hayden pay.

      There's more. [wikipedia.org]

      Microsoft CEO had previously called Linux "A Cancer" [slashdot.org] before an obvious fake was paid to pretend to be the Microsoft CEO, now proclaiming "We Love Open Source" [slashdot.org]. Hayden Barnes is the CEO, indeed!

  • Just switchover the Windows kernel to Linux already!

    • That is exactly what they are doing! They have extended Notepad to accept Linux '\n' newline only, text file line termination! https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ [microsoft.com]
    • Re: (Score:2, Interesting)

      by mmell ( 832646 )

      Why? I don't like Microsoft any more than the next guy, but they seem to be doing okay with their core product lately. My choice, I'll still run Linux (still addicted to CentOS, truth to tell) - but I've been know to keep a physical instance of Windows around for gaming. Just because Apple force-migrated their user base to the Linux kernel doesn't mean Microsoft should (or even can).

      • Just because Apple force-migrated their user base to the Linux kernel

        wat

      • So you mean that apple force migrated its username to the BSD kernel sort of?

        • by Viol8 ( 599362 ) on Sunday May 15, 2022 @01:48PM (#62536130) Homepage

          MacOS doesnt even use a BSD kernel, it uses Darwin which is a descendent of Mach. The BSD part is just a compatability API plus all the standard BSD command line tools and shells.

          • by AvitarX ( 172628 )

            Thanks,

            I thought it was more about adding a BSD user space, but my quick internet search had me believing it was incorporated into the kernel too (along with a lot else).

            • Parent is incorrect.

              Darwin is the base OS, the kernel is called Xnu and indeed it did have a lot of FreeBSD code in it

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

              • by Viol8 ( 599362 )

                Kernel mode != actual kernel Sadly a lot of people don't understand this.

                • Can you not read?

                  Right from the wiki page I linked, it states:

                  "the kernel was updated with code derived from OSFMK 7.3 from OSF,[3] and the FreeBSD project"

                • Actually, even more detail is here: https://en.wikipedia.org/wiki/... [wikipedia.org]

                  The Berkeley Software Distribution (BSD) part of the kernel provides the Portable Operating System Interface (POSIX) application programming interface (API, BSD system calls), the Unix process model atop Mach tasks, basic security policies, user and group ids, permissions, the network protocol stack (protocols), the virtual file system code (including a file system independent journaling layer), several local file systems such as Hierarchi

                  • by Viol8 ( 599362 )

                    None of that is the core kernel - ie the bit that does process control and scheduling , memory management and hardware access. Go learn about OS kernels and their various layers get back to me. Fuckwit.

                    • You're a fucking tool. You can't admit you are wrong. I know about OS kernels and architecture, and I know that FreeBSD code is in the kernel used by OS X.

                      Why don't you provide a source to backup your ignorant assertions, shitheel?

                      Oh, you can't, because you're wrong so all you can do is mouth off in frustration.

          • by hawk ( 1151 )

            Darwin uses a Mach derived *microkernal*, on top of which it runs a BSD derived kernel.

            And on top of the kernel is a full "rest of " BSD.

            The kernel (but not the microkernel) and the rest are indeed Unix, and descended directly from that code.

      • by whoever57 ( 658626 ) on Sunday May 15, 2022 @02:07PM (#62536208) Journal

        Why? I don't like Microsoft any more than the next guy, but they seem to be doing okay with their core product lately.

        I manage our company's regression engine. Firstly, the Windows VMs run far fewer jobs than the Linux VMs, despite having the same resources. Secondly, WIndows 10 appears to be even worse than Windows 7. Maybe Windows server would be better, but the resource requirements of Windows Server are absurd.

        • Secondly, WIndows 10 appears to be even worse than Windows 7.

          Oh, we know.

          I ran Win7 until a couple of years ago when Microsoft "updates" started crashing it, and then I formatted the drive and installed Linux Mint.

        • by batkiwi ( 137781 )

          Server Core 2022 requires a 1.4 GHz, 64-bit CPU and 512 MB of RAM.

          That's absurd?

          Also, what regression issues does windows 10 have compared to 7? Or do you just not like win10 (which is completely fair enough!).
          Work I've done has found 10 to have better broad compatibility compared to 7. 11 on the other hand...

          • That are the requirements to make Windows Server start. You will not be able to do much else than running the operating system with those hardware specifications.

            The Core edition has barely any form of graphical user interface. Which is the intent, I know, and why it will run on those specifications. Even then, not that many extra processes can be ran on top of the processes needed by the OS.

            If you need Windows Server with a GUI, a.k.a. the Desktop edition, you better have a minimum of 8 GByte of RAM to mak

          • Server Core 2022 requires a 1.4 GHz, 64-bit CPU and 512 MB of RAM.

            And how much disk space?

            As others have pointed out, you might be able to install it with such a small configuration, but running any programs: not in my lifetime.

            Also, what regression issues does windows 10 have compared to 7?

            Fewer simultaneous jobs without the VM hanging or jobs crashing.

      • by kriston ( 7886 )

        MacOS has nothing to do with the Linux kernel.

      • Same, but I just switched to Linux about a month ago. I've gone with Kubuntu and my laptop now runs much faster, it couldn't handle 10 or 11 well despite being fully compatible with TPM and Secure boot. I've jumped thru some hoops but everything has been solveable, I even got Onedrive working. If Microsoft made a Linux desktop distro I'd definitely at least try it, but if Edge on Linux is an indicator it will be terrible. I'll probably end up going with the KDE Fedora distro eventually, Fedora has always wo
      • I don't like Microsoft any more than the next guy, but they seem to be doing okay with their core product lately.

        The Personal computer as we know it is coming to an end, you are clearly clueless about them turning the PC into a locked down mobile device like the iphone, they are changing how exe's work in the future for trusted computing, look at this list at crackwatch there's been a war on software ownership to kill local applications for over 23+ years.

        See here:

        https://old.reddit.com/r/Crack... [reddit.com]

        This started roughly with the game industry rebranding PC rpg's "MMO's" by stealing their networking code, thereby changing

    • Anyone remember when Gates said that NT is just another Unix?
  • I know the mega-corp I work for has it's own distro.

    We use it on new and potentially flakey silicon. It's very tolerant of unknown hardware that mainline linux hasn't heard of yet and comes with internal analysis tools we use on the silicon. I expect it's all compiled on our own compiler but that's not my job so I don't know.

    I just figured every mega-corp has one because it's a logical thing to do when you're building your own platforms.

    • by tap ( 18562 ) on Sunday May 15, 2022 @02:15PM (#62536230) Homepage

      I've never understood the desire to maintain a Linux distribution. It's a ton of never-ending work and there are already dozens of different groups doing it.

      And I've worked for two companies that did this. One maintained a custom Linux distro for their products and the other was a silicon vendor who did it for their BSPs. To be fair, both started doing this a long time ago before there were as many options. But it was clear this custom distro was acting like a brake to development. They were always behind. Old packages, integration bugs, unfixed CVEs, lacking in packages and libraries, old toolchains, etc. Man hours had to be constantly devoted to keeping them up to date and pull in fixes that were already present in other distros.

      One company has since switched to yocto and the other no longer exists.

      • If you try to install red hat on a new chip that hasn't been seen outside your lab, it is not going to work for a variety of reasons. By the time you can buy the chip, the mainline kernel has all the new stuff enabled so it can ID the chip and do the right thing.

        So on what OS does that kernel development happen on? The one you put together yourself. It is indeed a ton of work, but nothing like the work involved in arranging a few billion transistors to do something useful.

        • So on what OS does that kernel development happen on? The one you put together yourself. It is indeed a ton of work, but nothing like the work involved in arranging a few billion transistors to do something useful.

          I think what's unclear is why you wouldn't just have a few special packages instead of a whole distribution. You know, the way most Linux distribution variants work?

        • by tap ( 18562 )

          At one point I worked for a silicon vendor, and developed the Linux firmware for a product using one of our chips that was not yet in production. I had to write kernel drivers for things as yet unsupported. Like SGMII for the phy or even the GPIO pins! BTW, this is where the Linux kernel sysfs interfaces to gpios came from. I didn't make a Linux distro from scratch.

          There's a huge difference between creating and maintaining your own distro, and only being able to install a binary distro someone else buil

          • Yup, these are all par for the course when making your own silicon. GPIO driver? UART driver? PMIC driver? Clocks? Maybe USB and storage? Absolutely count on a team to write drivers for these and bring them up. That's just standard, unless your designers are reaaally dropping in standard IP blocks (looking at you, Synopsis). But even then, they usually need some TLC to get em running. You'd need a timer driver too, before ARMv8 standardized that interface. But, for reasonably standard silicon, making your
        • In terms of general execution, Red Hat won't give two shots about your custom silicon, unless you've got some fundamental microarchitecture bugs. Those will usually be worked around by your kernel.

          The real issue will be when you try to use some of that fancy dedicated multimedia/networking hardware that sits on the silicon. The more advanced things will require custom userspace drivers/libraries/daemons, which sometimes talk to the kernel through custom vendor interfaces. You can still run your Red Hat a
      • by batkiwi ( 137781 )

        Companies doing a dedicated desktop distribution are mad.

        But building your own stripped down distribution for a specific purpose makes a lot of sense, and is kind of what linux is designed to do at its core.

        The original "microsoft linux" was used to run and manage virtual backend switches in the azure datacentres.

        Things like OpenWRT, Synology's OS, HomeAssistant, etc all make sense as well as a custom distro. It includes just the few small things it needs.

        • by Junta ( 36770 )

          There are different reasons at different points of time that I've seen reasons for a distribution.
          I have seen a company doing a bespoke distribution. It was a bit silly, but basically it was a lightly 'badged' centos with an extra repository by default. So theoretically low effort. *HOWEVER*, they for some crazy reason wrote a bespoke installer...

          I have seen a team cite 'stripping down', which *can* make sense, though my team has a stripped down CentOS Stream that's under 50 megabytes. Of course, stripping

        • by tap ( 18562 )

          If you want a stripped down distro for a specific purpose, then there are already distributions for that. If your making an embedded application, then use Yocto, Buildroot, or OpenWRT. They are designed to be small. And they are designed around cross building, so one doesn't need to build on the device itself or even the same CPU architecture.

    • I worked for such a megacorp and although we certainly had our own kernel, I wouldn't call our userspace a "distribution". It was more like a small embedded distro from upstream, with a handful of tools we wrote for doing cool and exciting things on the silicon. At one point we had Ubuntu running, just for kicks and to add a new stress profile. But that was more of a bonus than a proper test plan
  • I'm not one of the six Microsoft fans here, but if I had their resources I would recompile everything too. I can afford to trust all of the Debian developers but they don't have any reason to. Plus Debian isn't using the most aggressive flags because they can't guarantee the hardware they'll be running on. Microsoft will literally reduce its power bill by more than the cost of a few devs by tuning.

    The Gentoo guys get this, and it's admirable, but Gentoo is fast and bleeding. Arch is slow and bleeding, D

    • Last time I tried to install gentoo I chose only innocuous USE flags and it still failed.

      I installed gentoo on a K6/2 laptop way way back in the early days without problems beyond a multi-day build time (I built on the device, the first time anyway) so I'm confident that the problem isn't me.

      If gentoo can't be bothered to curate their packages then they're worthless. It's sad to me personally because it really made that K6 laptop fast to have everything compiled for it. I'm not sure it's actually that relev

    • I'm not one of the six Microsoft fans here, but if I had their resources I would recompile everything too. I can afford to trust all of the Debian developers but they don't have any reason to. Plus Debian isn't using the most aggressive flags because they can't guarantee the hardware they'll be running on. Microsoft will literally reduce its power bill by more than the cost of a few devs by tuning.

      I think that's what Microsoft was doing with the other distro:

      The main difference between the two: Delridge is a custom Debian derivative, while Mariner is a custom Linux From Scratch-style distribution.

      You can't get any more bare metal than LFS [linuxfromscratch.org], since even a basic build involves building the compiler itself, and you don't have the benefit of such convenience commands as Gentoo's emerge.

  • "Microsoft Has a Second Internal-Use-Only Linux Distro"

    Ten years ago this would have been a headline from an alternate universe.

  • Microsoft has another Linux distro released 2017 originally for the Azure network. But it is gaining traction outside of that use case. With Cumulus Linux only available for Nvidia silicon switches since they got bought it is getting interesting. https://en.wikipedia.org/wiki/... [wikipedia.org]
  • Do people not know what the word distribution means any more?

    I gain the impression that the writers of many articles simply use the word “distribution” without wondering about the significance of that term to make it sound more Linux-y. — There is no such thing as an internal-use-only distribution and whether it is, or is not, a distribution, is very important for the G.P.L. under which Linux is licensed.

    • You spew nonsense. I know organizations that have their own distros they built that are only distributed internally. And as bonus they don't have to give anyone any source code, including you.

      That might be bad thing but the organizations don't think so.

      • I made no moral judgement. It's simply not a distribution.

        Systems ditribution is a term coined by the F.S.F. that it defines in the G.P.L., specifically to set it apart and internal use only explicitly does not qualify. — It is a technical term.

        • Wrong.

          BSD, D is for Distribution. Distros existed before Linux ever existed, decades before.

          How funny a FSF fanboi would try to retcon a definition.

          You might be one of the hundreds of millions of users of a distribution, for which no one has to give you the source code. Plenty of web services use privately rolled Linux distributions that the world uses, yet they owe no one the code because GPL 2 doesn't require it.

  • By which I am totally unimpressed.

One way to make your old car run better is to look up the price of a new model.

Working...