back to article NixOS and the changing face of Linux operating systems

A new version of Linux distro NixOS has been released, just one day after a contentious blogpost that asked "Will Nix overtake Docker?" For DevOps folk, this was tantamount to clickbait: Nix and Docker are different tools for different jobs, and anyway, it's possible to use Nix to build Docker images. The distro, which hit …

  1. David 132 Silver badge
    Trollface

    All to be superseded

    I’m just waiting for the Systemd package manager and file-system re-organizer. Only a matter of time.

    1. m4r35n357 Bronze badge

      Re: All to be superseded

      . . . and Kernel

      . . . and text editor!

      1. devin3782
        Joke

        Re: All to be superseded

        An in kernel text editer genius idea i'll get right on it, right after i've released emacs as an OS

        1. Geez Money

          Re: All to be superseded

          Little known fact, systemd and emacs are actually the same piece of software just started from a different slice of functionality.

          1. jake Silver badge

            Re: All to be superseded

            Nah. EMACS is both functional and a learning tool. The systemd-cancer, not so much.

            1. Handy Plough

              Re: All to be superseded

              It's amusing that systemd is a 'cancer' and then emacs is lauded. Emacs has always struck me as the antithesis of the Unix 'do one thing and do it well' philosophy; it neither does one thing or does anything well.

              1. jake Silver badge

                Re: All to be superseded

                Lauded? I don't think that word means what you think it means.

                1. To Mars in Man Bras!
                  Headmaster

                  Re: All to be superseded

                  I think he does know what it means. But possibly you don't.

                  1. jake Silver badge

                    Re: All to be superseded

                    Can you show me where here on ElReg anybody participating in this thread has lauded EMACS in the last 5 years or so? Other than tongue in cheek, of course.

      2. David 132 Silver badge
        Happy

        Re: All to be superseded

        And floor-wax! And dessert topping!

        1. arachnoid2
          Joke

          Re: All to be superseded

          Wax on, wax off

    2. John Brown (no body) Silver badge

      Re: All to be superseded

      "I’m just waiting for the Systemd package manager and file-system re-organizer."

      Rumour has it that the SystemD Easter egg is a full on flight simulator hidden away in a dusty corner of the code.

    3. bigtreeman

      Re: All to be superseded

      New boys on the block

      got a better way to do it

      supersede the whole lot

      and rename it GobShite

  2. Doctor Syntax Silver badge

    It all started going downhill when people started putting stuff that wasn't users' home directories into /usr

    1. Throatwarbler Mangrove Silver badge
      Windows

      ITYM ...

      It all started going downhill when users were allowed to access systems.

      1. Blackjack Silver badge

        Re: ITYM ...

        It all started going downhill when the idea of a consumer Os being read only died with the Commodore 64.

        1. doublelayer Silver badge

          Re: ITYM ...

          Consumers have this nasty habit of wanting things updated, especially when they're always online and running software from other people. In DOS days, maybe a read only OS would still have worked, but by now, it would not. We could try monolithic OSes where everything is updated at once and can only be replaced in its entirety, but that's just going to hide the small changes that still happen at the cost of a lot more bandwidth and storage used for updates.

          1. sabroni Silver badge

            Re: Consumers have this nasty habit of wanting things updated,

            No. No they don't.

            Consumers want things to work. They want things to keep working. They only want "updates" that have no noticeable effect.

            We aren't the majority of users.

        2. NATTtrash
          Devil

          Re: ITYM ...

          Small correction: you mean VIC 20 of course...

          1. MyffyW Silver badge

            Re: ITYM ...

            I was never so emboldened than when my Dad gave me a VIC20 and reassured me that I could always turn it off.

        3. SCP

          Re: ITYM ...

          It all started going downhill when the OS was moved out of ROMs.

          1. Yet Another Anonymous coward Silver badge

            Re: ITYM ...

            You have a boot floppy and a root floppy.

            If you need to roll back you use an old copy of the root floppy - simple really

    2. jake Silver badge

      It all started going downhill when people changed /u back to /usr ... Us lazy bastards at Berkeley had changed AT&T's /usr to /u in the name of brevity, but apparently it made things hard to understand for newbies.

      /u (or /usr) always had non-home directories & other stuff in it ... Source code, documentation, the man pages, user installed binaries available to everybody, and other useful tat like vi, EMACS, UUCP and the BSD games pack.

      It was both useful and logical to split it into /usr and /user when the system grew large enough, and had many users. Then some bright spark decided that /usr and /user was too complicated due to their similarity, and thus /user became /home ... except in the appleverse, where they "simplified" it to /Users (Caps in a system directory name? WTF‽‽‽).

      1. teknopaul

        There is a special place in hell for people who put capitals and whitespace in directory names.

        Interesting fact many filesystems support / in a file name although very little software does.

        Define rules and Bork early is my approach.

        1. SCP

          "There is a special place in hell for people who put capitals and whitespace in directory names."

          .\Special Hell

          ??

          1. Charles 9

            Spaces, I'll give you, but why the hatred over capitals?

            1. jake Silver badge

              One word: Sorting.

            2. bigtreeman

              no hatred, in it's place, sorts ~/Documents and ~/Porn before ~/derzforth so I can find them Quickly

      2. doublelayer Silver badge

        "thus /user became /home ... except in the appleverse, where they "simplified" it to /Users (Caps in a system directory name? WTF‽‽‽)."

        I have to ask. Why is that a problem? I distinctly remember you defending the case-sensitive filesystem a while ago (I was too), so you don't seem to mind having capitals in some filenames. So why must a system directory be lowercase if other ones can be uppercase? When I use Mac OS, it's a little annoying so I would prefer lowercase, but I don't think that's a firm rule. It also allows them to use PascalCase for multi-word names, which is probably why they're doing it.

        1. jake Silver badge

          It's not really a problem, more of an irritation. The filesystem is a major part of the operating system as a whole. It is fairly consistent across unicies, and has been for a long time. Making changes like that break who knows how many scripts that would otherwise function perfectly well after merely copying them from system to system. And this change on Apple's part is for what reason? Near as I can tell, it's nothing more than an affectation. There is absolutely no reason for it at all. Gets on my craw, it does.

          Note that Apple isn't the only company to do this kind of thing, I just used them as an example that would be familiar to most ElReg readers.

          Before anyone asks, yes, the naming of the X11 directories also get on my craw ... but I've learned to live with it over the years.

    3. martinusher Silver badge

      >It all started going downhill when people started putting stuff that wasn't users' home directories into /usr

      Who or what is a user? One of the things I've had to overcome is the widepsread assumption that a "user" is solely a human glued to some kind of user interface. (Windows people are particularly prone to this notion.)

      1. jake Silver badge

        In this context, to all intents and purposes, the meaning is clearly the human at the controls.

        Yes, there are many non-human "users" in the world of *nix ... but mostly we call them daemons, precisely to make this distinction.

      2. Charles 9

        Then ask yourself, "Who or what is a car driver?" Do we expect car drivers to possess the same degree of technical know-how we expect of Linux users? Some people's time is more precious than that.

        1. jake Silver badge

          No, but we DO expect the car driver to be able to take the car to the garage on the corner for repair, and not have to pay to truck the car to the dealer in the next county.

          1. Charles 9

            A. There may not BE a garage on the corner, or anywhere nearby.

            B. The ONLY garage that can handle your car (due to know-how or parts) may very well BE the dealer in the next county. You see that already in phones.

  3. iron Silver badge
    Childcatcher

    > All the enterprise Linux vendors are working away on this... a thoroughly tested and integrated image which end users can't change and don't need to.

    That the end user CAN'T change. How do they square that with the principles of free software?

    At the very least they are removing users' freedom to change and improve the software and to distribute copies of modified versions to others. Half the four essential freedoms of free software!

    How do they license this resulting code?

    1. Anonymous Coward
      Anonymous Coward

      The catch is that Linux lives in different worlds, each with its own (often legal) requirements.

      Changing the software and stuff like is part of the hobbyist and testing world. These often live in small, mostly-controlled environments where the consequences of Things Breaking are minimized if not controlled.

      But in an enterprise setting, stability is paramount. Downtime costs money, and "Things Breaking" can result in bills if not lawsuits, so some of those freedoms have to go in the name of legal compliance (which trumps the Four Freedoms).

      1. iron Silver badge

        As a programmer of 40 years, commercially for 25, you don't need to explain the corporate IT world to me. My current employer has contracts with everyone from Santander to NASA.

        Having a stable platform does not require removing user freedoms. In this case the user being the enterprise still deserves the same freedoms as a lone user at home.

        1. bombastic bob Silver badge
          Devil

          one freedom that open source software brings to the enterprise world includes the ability to FIX THINGS YOURSELF.

          So any package wrapper that includes all versions of all libraries that are natively compiled and guaranteed to work together needs a SOURCE PACKAGE to build them all together, as well as run them all together. I am not familiar enough with these systems to know whether or not they already do this, but it would be akin to using the 'ports' system on FreeBSD to do 'build from source' on EVERYTHING.

          Now if an executable ships as binary with a container, the GPL'd lib sources and binaries would need to be there too, so you can fix things. Making a "source package" for the entire container should actually make GPL compliance easier (and more portable).

          1. Anonymous Coward
            Anonymous Coward

            The right to fix things oneself doesn't necessarily accord the ability along with it. If you believe that, consider the adage of "If you want something done right..." against cryptography. Simply put, it's not for everyone, especially if you have to deal with Stupid every day (the kind of Stupid that makes the "Who, Me?" section here at El Reg).

            1. jake Silver badge

              The point is ...

              ... it is up to me to decide if I have the ability or not, not the likes of Apple or Canonical. Indeed, some would say that that is the entire point of FOSS.

              1. Charles 9

                Re: The point is ...

                Which "me" do you refer? The people who own the business and, yes, should have the freedom to tailor solutions appropriate to them? Or the cog on the keyboard who needs as much protection from pulling a Captain Peachfuzz as possible?

                1. jake Silver badge

                  Re: The point is ...

                  If you are a cog, you have no say in what the machine does. You have two options: Suck it up and accept it like the rest of the sheeple ... or you can move on to greener pastures (starting with attempting to change the culture where you are now, if you like).

                  Your mythical Captain Peachfuzz (usually the Nephew of The Founder, or the like) can be treated as the speed-bump that he is. Rule one: Get it in writing, with a wet signature.

                  I'm a man, not a number. Yourself?

                  1. Charles 9

                    Re: The point is ...

                    Which is kind of my point. You want to present immutable systems to the cogs so they don't accidentally become spanners. Said nothing about you making those immutable filesystems to your specifications. There's your Four Freedoms where it matters most.

                    As for Rule One, that wet signature can often (a) be in vanishing ink or (b) be overruled with some good lawyers behind the scenes.

                    As for me, I am both. The two are not mutually exclusive, and it's a necessary evil in today's society. That little government ID tends to drive the point home.

                    1. jake Silver badge
                      Pint

                      Re: The point is ...

                      "That little government ID tends to drive the point home."

                      Well, THERE'S your problem ... You do know there is a cure for that affliction, right?

                      Hope you get well soon. Beer?

                      1. Charles 9

                        Re: The point is ...

                        What affliction? Anarchy?

                        1. jake Silver badge

                          Re: The point is ...

                          Don't be disingenuous. It doesn't become you.

            2. teknopaul

              Re: The right to fix things oneself doesn't necessarily accord the ability

              Wrong diddly wrong wrong.

              The right to fix things, made fixers out of all of us.

              1. Charles 9

                Re: The right to fix things oneself doesn't necessarily accord the ability

                Not everyone. Think of hammers and broken fingers. Not a good idea if the one who can't work is supposed to be paying the bills...

                1. Snake Silver badge

                  Re: The right to fix things oneself doesn't necessarily accord the ability

                  ...and, ultimately, the perfect metaphor as to why Linux will NEVER make significant inroads on the desktop.

                  The "majority" of users, quotes because the term is being technically used here, as in provably statistical, can not and do not understand the inner workings of both computers and the code that they run. They are simply the dictionary definition of "user", and nothing more.

                  So every time the Linux hordes expect that "user" to become a "technician", every time that Linux noob gets a "RTFM" reply to a problem that either should not have been there in the first place or conversely had a much more instinctive solution from the beginning, is simply putting another nail in the coffin of "DONE!" to the adoption of desktop Linux.

                  1. jake Silver badge

                    Re: The right to fix things oneself doesn't necessarily accord the ability

                    On the other hand, MeDearOldMum and GreatAunt have been happy Linux users for many years now. Since moving them from the world of Windows to Slackware, their support calls to me have fallen from several times per month for the bastard child of Redmond, to none (zero, zilch, nada, 0) for well over two years now on Slack.

                    Linux works perfectly well on user desktops, as long as the wetware of the installer understands the needs of the user.

                    1. Doctor Syntax Silver badge

                      Re: The right to fix things oneself doesn't necessarily accord the ability

                      "as long as the wetware of the installer understands the needs of the user"

                      Yes. And that's what the one-size-fits-all preordained enterprise or distributor build fails on.

                      1. jake Silver badge

                        Re: The right to fix things oneself doesn't necessarily accord the ability

                        "And that's what the one-size-fits-all preordained enterprise or distributor build fails on."

                        As I've been saying for at least a decade ...

                  2. LionelB Silver badge

                    Re: The right to fix things oneself doesn't necessarily accord the ability

                    Did you cut'n'paste that from 2004?

                    Sure there are reasons that Linux has not "made it" on the desktop (not that I care - I'm happy enough just to get on with using it), but that's no longer one of them (if it ever was), nor has it been for some time.

                    But I suspect you know that, and simply forgot the troll icon.

                2. jake Silver badge

                  Re: The right to fix things oneself doesn't necessarily accord the ability

                  Who is breaking whose fingers, and why? Hyperbole much?

      2. Anonymous Coward
        Anonymous Coward

        @AC - Well, there's always Windows for that

        or AIX, or Solaris, or HP-Unix. You have stability, compliance and whatever you might need for an enterprise.

    2. mark l 2 Silver badge

      From what I can see they are wanting to achieve is an ISO image which doesn't allow the end user to make changes. Much like how Android phones don't by default give the end user root access to the filesystem. But yet the AOSP source code is still available under an Apache and GPLv2 license so you can modify the code and compile your own if you wanted.

    3. Zippy´s Sausage Factory
      Terminator

      Er, I think you might be mixing apples and oranges here.

      The four freedoms apply to source code, to the ability to develop and distribute your own software based on others work.

      What they're trying to prevent is people like me having a decaffeinated moment and typing rm -rf * at the root directory and then screaming in panic when they realise what they've just done.

      So I can easily imagine a "DontDeleteStuffYouShouldntByAccident" package being GPL... at least until Skynet becomes self-aware, starts listening to The Cure and then decides to delete itself, that is.

      1. Anonymous Coward
        Boffin

        rm -rf /*

        > [ ... ] typing rm -rf * at the root directory and then screaming in panic [ ... ]

        There's a perfectly valid prevention for that particular accident: rm -rf or rm -f does nothing when getcwd(3C) is "/" or when the removal target is immediately below "/".

        The command that can delete in "/" is called rootremove or slashremove or some other such unintuitive thing that can't be typed accidentally.

        Solaris has been doing this for many years. I don't quite get why Linux didn't adopt the idea. Most Linux distros rely on aliasing rm, and that is very brittle.

        1. Charles 9

          Re: rm -rf /*

          No matter how unintuitive you try to make a History Eraser button, someone will still find a way to do it, due to either being duped into doing it by a jerk, or by a Captain Peachfuzz who can stumble onto it in spite of hell or high water.

          1. Anonymous Coward
            Anonymous Coward

            @Charles 9 - Re: rm -rf /*

            Shaw's Principle: Build a system that even a fool can use, and only a fool will want to use it.

            1. Charles 9

              Re: @Charles 9 - rm -rf /*

              But everybody plays the fool sometimes.

              1. jake Silver badge

                Re: @Charles 9 - rm -rf /*

                "But everybody plays the fool sometimes."

                Yes. It's part of the learning curve. Learning can be painful sometimes, it's part of what makes us human.

              2. Doctor Syntax Silver badge

                Re: @Charles 9 - rm -rf /*

                It's the people who aren't just playing you need to worry about.

                1. jake Silver badge

                  Re: @Charles 9 - rm -rf /*

                  Everybody's playing, at some level, for various values of playing.

          2. Anonymous Coward
            Anonymous Coward

            @Charles 9 - Re: rm -rf /*

            Yeah but preventing this would go against that natural selection for sysadmins.

            1. Charles 9

              Re: @Charles 9 - rm -rf /*

              Look, if you don't find a way to fix Stupid, you're gonna end up with Stupid taking the rest of us down with them.

              1. jake Silver badge

                Re: @Charles 9 - rm -rf /*

                Nah. I admin my own computers. The only person who can take me down is me[0]. And if I do, so be it ... at least I'll have learned something. Having proper backups and automatic fallover hardware redundancy in key systems helps with piece of mind.

                [0] To be perfectly honest, the Wife has access to the safety deposit box with the BigBookO'Passwords[tm], just in case I step in front of a bus. She's *nix literate (finally!) and knows how to access everything, but she's never seen reason to use root, even on her own computers (Slackware and BSD), so she doesn't.

                1. Charles 9

                  Re: @Charles 9 - rm -rf /*

                  But that's you, and you're in the minority. I routinely deal with people who when told to look left, look right, and if told to turn around, spin 360 degrees. That's why I'm constantly reminded of Stimpy and the History Eraser button.

                  1. jake Silver badge

                    Re: @Charles 9 - rm -rf /*

                    So you're an advocate of stupiding the world down to the lowest common denominator?

                    When I was younger I thought I could change the world. Now that I've been teaching on and off for about 45 years, I've come to the realization that probably nine out of ten humans are ineducable beyond "eat here, sleep there, bathe occasionally & don't poop in the living room".

                    I can live with that. Just don't ask me to join them in their mire in the name of you separating them from their money. That's between you and them, kindly keep me out of it.

                    ... and it irritates the pig.

                    1. Charles 9

                      Re: @Charles 9 - rm -rf /*

                      No, I'm an advocate of trying to find a way to fix Stupid. Hopefully not by natural selection to avoid excessive widows and orphans, because as history has shown, Stupid can easily bring others down with them. You can try to stay out of the mire, but often the more comes to you, at which point your options are limited.

                      1. jake Silver badge

                        Re: @Charles 9 - rm -rf /*

                        "No, I'm an advocate of trying to find a way to fix Stupid."

                        You are Sisyphus AIDM5P.

                2. Bck

                  Re: @Charles 9 - rm -rf /*

                  Includes also such malware writers who know an escalation vulnerability.

                  I certainly would appreciate an _option_ to boot into an ISO-like mode, most of the time, most units.

                  1. Citizen99

                    Re: @Charles 9 - rm -rf /*

                    You can boot an iso-image (if necessary re-mastered to your requirements) from grub in an OS in another partition. That OS could be a minimalist one dedicated solely to providing grub, if you so choose. Data can have its own partition.

                  2. jake Silver badge

                    Re: @Charles 9 - rm -rf /*

                    I've been doing that with a variation of Slackware for years. It's the version I put in school computer labs. As a do-it-yourself project it's an easy way to learn a lot about the boot process in a fairly short period of time.

          3. Zolko Silver badge

            Re: rm -rf /*

            someone will still find a way to do it, due to ...

            ... remote login that terminated without being noticed. Like: you were logged in a remote embedded system that you were setting up, it failed, and you want to start over again. You want to erase everything from the root ... but in the mean time, a colleague called for coffee break, and when you come back, the session has been terminated and the dreaded command is executed locally, not on the remote system.

            Has happened, not on the root filesystem but on the users $HOME.

        2. Anonymous Coward
          Anonymous Coward

          Re: rm -rf /*

          > Solaris has been doing this for many years. I don't quite get why Linux didn't adopt the idea

          Adopt which idea? What's wrong with --no-preserve-root? (The default rm binary from binutils will not remove / unless the above flag is present)

        3. doublelayer Silver badge

          Re: rm -rf /*

          "There's a perfectly valid prevention for that particular accident:"

          Yes, but how often does that particular accident happen? It's pretty deliberate, you have to be root, not know where you are in the filesystem, and frequently use the -f flag without knowing you have to. It surely happens, but I think it's probably minor compared to the various other ways one could destroy a system by accident (it's much easier to accidentally destroy something with a dd command typo).

      2. NATTtrash
        Devil

        ...typing rm -rf * at the root directory...

        ...starts listening to The Cure...

        ...screaming in panic when they realise what they've just done...

        Boys Don't Cry

    4. linuxhaterbob

      1. http://www.islinuxaboutchoice.com/

      2. It's all 100% open source software. You can do whatever you want with it. This is about solving problems and improving operating system design, not restricting freedom.

      3. As a user you can still change it. Commands and documentation are provided. The point is you don't want to.

      Creating a strong separation between "OS" and "Applications" is the end goal here.

      With traditional Linux distribution tools and approaches if you want to downgrade your version of Libreoffice or get compatibility with a different version of Blender3d the only way to end up with a supported configuration is to re-install your operating system.

      That is a complete shit design. Nix helps solve this. OSTree and Flatpak helps solve this, so does OCI containers. There are a variety of different approaches with their different merits, but apt-get and rpm and dnf definitely do not solve this.

      1. jake Silver badge

        "With traditional Linux distribution tools and approaches if you want to downgrade your version of Libreoffice or get compatibility with a different version of Blender3d the only way to end up with a supported configuration is to re-install your operating system."

        Horseshit. Total, utter and complete horseshit.

        1. Anonymous Coward
          Anonymous Coward

          Father forgive them. They don't know what they are doing...

      2. cyberdemon Silver badge
        Devil

        Linux is about choice

        Open Source is about choice.

        I run open source software (in my case, Debian GNU/Linux) because of the freedom it gives me - I know that if I don't like one solution, I can install another or write/hack my own.

        I know that for this reason I will never have DRM or other "pay us to remove" anti-features in my software. And I am aware that "payment" includes surveillance data for many "free" closed-source apps. If any open source app were to start spying on people, there would be an easy solution involving a ubiquitous piece of cutleryware.

        I agree that sometimes packages can be broken downstream in linux distributions, but reinstalling the operating system (even if you count debootstrap/chroot as reinstalling the OS) is never the only option. There's always a way around any problem, that's one of the most beautiful things about Open Source.

        Whereas In your pre-packaged containerised world, you remove that freedom from users, by making it difficult for them to fix issues with your software by themselves, and make it more difficult for them to make it work with other pieces of software that you hadn't personally envisaged. But maybe you are flogging some closed-source, DRM-infested spyware/crapware and you don't want your customers looking too closely at what you are doing on their computers - In which case you are on the wrong platform mate, you can go and take a Running Jump.

        Rather than force users to have some god-awful containerised linux system like Snap or Flatpak (or worse, Android, which just bungs a JVM on top of Linux and hides away the workings completely, and actively punishes users for trying to build applications from source - oops, you have debugging enabled - safetyNet failed, no DRM apps for you) I would prefer to educate and encourage users to build apps from source, so that they can understand how the system works, fix bugs or add missing features themselves, and contribute to the community project that they are using.

        If I really don't like something in a Debian package, or some version that I want has fallen out of compatibility with my system packages, I can always run apt-get --build source [package], and fix it myself.

        1. Charles 9

          Re: Linux is about choice

          "I would prefer to educate and encourage users to build apps from source, so that they can understand how the system works, fix bugs or add missing features themselves, and contribute to the community project that they are using."

          And if they reply, "I ain't got time for this! JFDIOE!"?

          1. jake Silver badge

            Re: Linux is about choice

            Depending on who and where you are, and who is paying the bills, one answer is "But this IS the way it is done!" ... if they are so computer illiterate as to believe you, you're on the first step of the ladder to their education.

            Building apps from source ain't exactly rocket surgery. Any idiot can do it.

      3. FuzzyTheBear
        FAIL

        Garbage

        Reinstalling bit is total utter garbage nonsense and idiotic. Please don't comment further , you're only humiliating yourself and showing your ignorance.

      4. Aussie Doc
        Linux

        Wow

        No offence but the username checks out.

  4. Paul Johnston

    After much wracking of brain cells

    Reminds me of SmartOS where the OS is in memory and sort of immutable

  5. Anonymous Coward
    Anonymous Coward

    Back to the past

    GoboLinux looks like the setup we had at work in the early 1990s.

    Each workstation had mounted a NFS share containing all the company and public domain (now open source) executables and libs. All the shares were kept in sync. So releases were built and copied to one place by a central source code team and processes rdisted them around.

    So easy release process and all users had the same versions or the end apps but each app could use different versions of libraries - so a new library could be released without forcing everything to upgrade.

    The build logs would also show the exact version of the libraries used so a repeatable build if needed.

    1. James R Grinter

      Re: Back to the past

      Common to a number of London offices of investment banks and, as I understand it, all the fine work of the same person.

  6. tekHedd

    In the future when everything is machines talking to machines...

    An OS made by machines, for machines. Sounds like a great thing ... for machines.

    I, personally, lost interest at "no longer easily human-readable."

    1. Anonymous Coward
      Anonymous Coward

      Re: In the future when everything is machines talking to machines...

      Yes, "... in folders with names based on cryptographic hashes" means they are reproducing Windows registry type problems and all the other problems created when people say "let's use binary!" instead of text.

      In case you haven't heard 'accessibility' is high priority. Making the sighted feel blind is not helping that.

  7. ecofeco Silver badge

    So what else is new?

    Using the wrong tools for the job has become THE requirement in all fields these days.

    Rube Goldberg is laughing in his grave. Computers were supposed to bring efficiency and do all the heavy lifting. Instead, the powers that be have given us complexity for the sake of market lock in. And most of them are broken beyond Kafka's worst nightmares.

  8. Anonymous Coward
    Anonymous Coward

    A more easily understandabe file tree? Yes, please!

    Much as I love Linux for a great many reasons, the one thing that has long been an annoyance to me, as a user, is its shambolic file directory tree.

    Before of you very techhy old-timers blow a gasket at that - yes, history, things just grew, different people made different decisions about where stuff should live and it all somehow ended up with what we have today. I understand this (at least in general) and that hindsight is a wonderful thing. As is having a free operating system which I'm not even remotely capable of contributing code to.

    However - I have, on occasion, had the experience of installing a piece of software called, say,"Fred" onlyto find that Fred doesnt subsequently appear in the menu system. OK, so I try typing fred into the command line. No joy. So I try Fred - still no joy. So I try searching for files with filenames including the string "fred" - and if I don't succeed then, I simply give up and ask the package manager to uninstall Fred.

    I don't much mind if the core of the OS is in its own directory or even one or more hidden directories, but stuff that I can install via the package manager - it would be sooo nice to just be able to look in the Programs folder, find the relevant folder for whichever program is giving bother, and KNOWINg that whatever is amiss it's in THERE, not in some unknowable place due to the arcane whims of a software dev who may or may not have used whatever are considered best practices for where to put stuff.

    That aspect of Gobo linux looks great to me. Not keen on the compile it yerself aspect though. But I hope their idea re the filesystem prompts other distros to also do something to make the directory system easier for mere mortals to comprehend!

    1. Anonymous Coward
      Anonymous Coward

      Re: A more easily understandabe file tree? Yes, please!

      `dpkg -L fred` (on Debian) will tell you where all of Fred’s files are. Very useful command. Of course if Fred is split into fred-common, fred-runtime, fred-the-other-bits, you have to run it for all of them, but it’s still helpful.

      1. Liam Proven Silver badge

        Re: A more easily understandabe file tree? Yes, please!

        Useful command; thank you! I must try to remember it.

        The snag is for those of us who distro-hop fairly frequently is that *any* distro- or packaging-tool- specific command doesn't help if it's a Flatpak or a Snap or an AppImage or you're not on a Debian/Ubuntu-family distro, or not on a Linux at all.

        Example from last week: on Ubuntu, I installed both a text editor and a PDF reader that were in cross-distro packages: one a Snap, the other a Flatpak. I then couldn't find the command to invoke the damned things. This suggestion addressed my exact problem, *but* it wouldn't help because the packages were not .DEB ones.

        Oh, and the packages did not appear in the desktop until after I rebooted.

        Anything distro-specific is more or less my last port of call and I will probably only try it when I find it via Googling.

        The need here is for them to be findable, *without* a reboot, using only generic Unix tools such as `which` or `man -k` or `apropos`, or in the desktop's app launcher -- whatever desktop, whatever launcher. It _must_ be cross-desktop or it's NFG.

        1. Charles 9

          Re: A more easily understandabe file tree? Yes, please!

          "The need here is for them to be findable, *without* a reboot, using only generic Unix tools such as `which` or `man -k` or `apropos`, or in the desktop's app launcher -- whatever desktop, whatever launcher. It _must_ be cross-desktop or it's NFG."

          Then you're chasing unicorns because there will be setups out there that will be intentionally incompatible with another's standard. Any setup you find will not work somewhere. It's like trying to find the one question that will get you the same answer from everyone.

          1. jake Silver badge

            Re: A more easily understandabe file tree? Yes, please!

            "Then you're chasing unicorns"

            Says the guy on record as trying to fix stupid ...

            As a side note, a combination of find and grep, perhaps with the addition of a filter or two (to dig into archives), will easily do exactly what TOA wants. This has been possible for well over three decades.

            1. Charles 9

              Re: A more easily understandabe file tree? Yes, please!

              "Says the guy on record as trying to fix stupid ..."

              At least I have a good reason for doing so. If we don't stupid will take the rest of us down with us. We're already seeing it in the political arena.

              "As a side note, a combination of find and grep, perhaps with the addition of a filter or two (to dig into archives), will easily do exactly what TOA wants."

              But try telling that to the average Joe. That's my point. You're talking GeekSpeak, for all they care. Plus, Murphy can still strike. There can either be (a) more than one match or (b) a match that's actually not a match.

    2. Zolko Silver badge

      Re: A more easily understandabe file tree? Yes, please!

      I don't much mind if the core of the OS is in its own directory or even one or more hidden directories, but stuff that I can install via the package manager

      I agree that there is a bad confusion in the Linux world: the core system – as in an OS = Operating System – and the user's applications should have different treatment. In an ideal world, the OS should be quite minimaliste to be able to ... well, operate the system: kernel, init system, minimal set of commands? May-be add a graphical layer if it is considered a core system. BUT: leave out all the user applications !!!

      And I think that is exactly what the /usr was meant to be: but then came /opt, and /usr/local, and then the braindead RedHat decided that /usr should be merged down to / , and the idiots from Debian follow like they did with SystemD.

      So PLEASE: come back to the old Unix way of doing things and everything will be fine: put all the core system at the / (root) and all application stuff in a separet directory. And since /usr is already there, just use it !!!

    3. Doctor Syntax Silver badge

      Re: A more easily understandabe file tree? Yes, please!

      If Fred's installer puts it somewhere where you can't find it, doesn't document it and.or doesn't add it to the menu then the problem is entirely down to Fred's installer. Whoever put that together would probably do the same thing whatever the OS and file system and percussive education would be appropriate.

    4. deep_enigma
      Joke

      Re: A more easily understandabe file tree? Yes, please!

      What kind of Linux-head are you? The binary is *obviously* called joesbigbrother! /s

      (Sadly this is not *quite* as sarcastic as it should be, I have in fact run into exactly this disconnect between package name and actual runnable program file name and menu entry name.)

  9. Henry Wertz 1 Gold badge

    Nix

    I've used Nix, a software project I was taking a look at used Nix for reproducible builds (ultimately building firmware images to load onto a device.) I think some packages (edit: excuse me, closures*) had prebuilt binaries (with the option to build from source, but the binaries had checksums etc. to ensure they were identical to what the build would produce anyway.) The source builds, it has some tools that strip out whatever variant information (dates & times I suppose) that the compiler or linker throw into the binaries so it can directly check the result of the build is identical to what it should be.

    I found it rather difficult to use; but, it put's everything in /nix/, there's subdirectories under there with the inscrutable hashes as alluded to by TFA. Each app has the ldconfig, path, etc. set so they're not expecting anything in the traditional /bin, /sbin, /usr etc. (your home directory does stay in /home, at least running Nix on a normal system it does.) It has a vaguely FreeBSD Ports or Gentoo portage style set of directories with available "packages" (I don't know if that's what Nix calls it) in there.

    But, if you have multiple programs that are built on top of the same set of libraries, you do in fact have only 1 copy of those libs taking up space. But I don't know in practice how this works out; if you wanted to "update", say, gtk or libc, you either have to update a large number of packages with updated dependency (and compile them, either on their end or yours...), or alternatively the packages "drift" in what versions of libs they want and you do end up with multiple library verisons building up.

    *re: closures. That was one issue with Nix, I found the terminology confusing as hell. Nix has done a mathetmatical proof that the builds are complete and reproducible -- among my comp sci. classes, I took an algorithms class that was heavy on the mathematics of proving if a bit of code was O(n), O(n^2), etc., and still found the terminology rather difficult just for the section on how you're supposed to use the darn thing let alone the proof.

  10. Ian Johnston Silver badge

    Linux is weird, because it seems to be heading in two directions. At one end, it's a simple, lightweight OS running my router. At the other end it's a bloated impenetrable monster, with a vast monolithic kernel and increasingly convoluted ways of installing and managing applications. How long can this go on for?

    1. Doctor Syntax Silver badge

      As long as you like.

    2. jake Silver badge

      You seem to be missing the distinction between "The Linux Kernel" and "a KitchenSinkware Distribution".

      The kernel, in essence, manages the hardware it is running on. That's pretty much it. It is quite boring, and the average end-user never even knows it exists.

      A KitchenSinkware distribution adds all the software bells & whistles for your every pointy-clicky delight.

      Thus, your router and KitchenSinkware are two completely different distributions, serving two completely different needs. So of course they are different ... even though they both can run the same, exact Linux kernel. (Although the kernel in your router will be compiled for that specific hardware, and the one in KitchensSinkware for as many hardware types as possible, thus the size difference.)

      That's why Ubuntu (and clones) have all the issues that Cupertino & Redmond based OSes have, and for all the same reasons. Trying to make one desktop OS that works for all users, everywhere, inevitably makes for a bloated, buggy code-base. You'll have better luck with a more targeted distribution ... or better, learn to build your own custom version.

  11. Pirate Dave Silver badge
    Pirate

    "All the enterprise Linux vendors are working away on this. The goal is to build operating systems as robust as mobile OSes: "

    Ah, fuck me! There are few computers I hate as deeply and genuinely as my Samsung Galaxy 8 cell phone. It should be SUCH a cool and capable device - it's bloody tiny, has scads of memory and CPU power, and a really great screen. But instead, it's a locked-down piece of corporate vomit, designed for people too stupid to count with both their fingers AND toes, and with all the user-customization capabilities of a maximum-security prison cell. I really, earnestly hope the major distros aren't aiming to take Linux in that same brain-dead direction of top-down neanderthalism. That would be the greatest shame of all. As if systemd (Fuck systemd!!!) wasn't bad enough...

    1. unimaginative
      Pint

      Beat me to that.

      I would not mind phones coming like that if they let you install a different OS without having to root it.

      I think the premise of systemd is do one thing well, and that thing is everything.

      1. Pirate Dave Silver badge

        "I think the premise of systemd is do one thing well, and that thing is everything."

        Thanks for the chuckle. There's usually scant humor to be found around systemd.

  12. sabroni Silver badge

    Why can't we have a decent free OS Daddy?

    Why that's easy junior, just look at the discussion under any article on El Reg about Linux.

  13. gordonmessmer

    "which in some contexts is becoming a joke"

    LOL. That XKCD comic is an illustration of Python on macOS, where things are more complex because the OS *doesn't* have any decent packaging facilities.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like