Hello everyone! I know that Linux GUI advanced in last few years but we still lack some good system configuration tools for advanced users or sysadmins. What utilities you miss on Linux? And is there any normal third party alternatives?

  • Eugenia@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 days ago

    I personally would like a systemd gui. There have been several attempts in the past, but none is maintained.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 days ago

      On openSUSE, I’ve apparently got at least this thing for looking at SystemD services:

      Allows viewing the services for the different boot targets, as well as the service files. You can also start/stop services or change their start mode (on boot vs manual).

      Well, and there’s a JournalD viewer with filtering:

      Not the most developed GUIs, but…

    • notabot@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      5 days ago

      SystemD is far too much of a poorly thought through mess to have anything like a sane GUI configuration, it doesn’t even have a sane textfile based configuration. We’re going to have to wait fir SystemD to crumble under it’s own weight and be replaced with multiple, simple, cleanly designed components before we have any hope of a sane config again. Sort of like we used to have before a certain someone/some company (depending on how conspiratorial you’re feeling) decided to come along and muck it all up.

      /rant

      Thank you for coming to my Ted Talk Rant. You may gather I dislike SystemD quite a lot.

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        5 days ago

        For anyone else reading along: This person is talking out of their ass.

        • esa@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          4 days ago

          I also find that calling systemd “SystemD” is a tell that someone is unfamiliar with or has a conspiratorial relationship to it. It’s named “systemd”, all lowercase (but I’m likely to capitalize it on sentence starts like a normal word). Using an ungrammatical uppercase D at the end of the word, that isn’t even something the creators claim is correct, is … a choice.

          (And it’s a choice that reminds me of e.g. how rabid anti-cyclists in Norwegian can’t even spell “cyclist” correctly, but instead consistently use “bicycleist”.)

          • notabot@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            3 days ago

            Ok, fair point on the capital D, I must have read it like that years ago and it stuck. I shall have to make an effort to unlearn it.

            As to the rest, systemd has been a constant thorn in my side ever since L. Pottering published “Rethinking PID 1” back in 2010 or so. I found, and still find, that most of the assertions and actions in that document either don’t really hold, or just aren’t really relevant. Basically it’s trying to solve a problem that really wasn’t an issue in the real world, and does so in such a massively overbearing way that everything actually becomes more laborious than it otherwise would be. From my perspective it’s an unnecessarily complex and poorly architected attempt to answer a need that was better served in different ways. That it’s become a near mono-culture is deeply concerning.

            I’ve also run into all sorts of awkward edge cases and misfeatures over the years, from the automounter that occasionally didn’t to race conditions that only manifest at the worst moments, none of which would have occured had the basic tenet of “do one thing and do it well” been followed. The extreme verbosity of the configuration, and unnecessarily large number of places it can be spread just serve to make it even more unpleasant to deal with compared to the simplicity of init scripts, crontabs and the like.

            The sad thing is, there’s undoubtedly some good ideas buried in it, but they could all have been implemented much more lightly and in a way that worked with the rest of the ecosystem rather than fighting it. Things like starting daemons in what is essentially a repeatable sandbox, or being able to isolate logging per service. They could, and had both been implemented already, but systemd has a real “not invented here” problem, so everything was built again, with all the attendant bugs, and design issues that inevitably brings.

            Ultimately clients pay good money for me to look after their systems, systemd or not, so I probably shouldn’t grumble, but I miss the days when Linux was a clean and elegant system, without this multi-tentacled thing sitting on top of it.

            • esa@discuss.tchncs.de
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              Ultimately clients pay good money for me to look after their systems, systemd or not, so I probably shouldn’t grumble, but I miss the days when Linux was a clean and elegant system, without this multi-tentacled thing sitting on top of it.

              I also have a sysadmin/devops/sre type career, and my impression is rather the opposite: With systemd Linux became a lot cleaner and predictable, compared to the mess of shell scripts we had before. There’s never been anything clean or well-architected about shell scripts, they’ve always been a messy collection of not-quite-the-same languages that have all safeguards turned off by default, and it’s up to the programmer to turn them on and hope they actually work. Good for one-shots and exploration in the terminal, though.

              I also don’t miss logrotate or finding out that some app places its logs somewhere mystical. Being able to read app logs just by knowing the service name is wonderful, as are the timestamp and boot arguments.

              systemd didn’t appear as just one guy’s brain child, nor could it rise to the dominance it has if the way it works was as controversial or bad as it is in your opinion.

              I haven’t been on-call for the past few years, but my impression is that there have been fewer and fewer on-call events over my career. That’s also largely on app developers and a shift to Kubernetes, but it’s a generally pleasant change. There’s nothing I hate more than being woken up.

              • notabot@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                2 days ago

                I agree with the sentiment regarding being woken up, but I used to look forward to being on call. I could go to bed happily, knowing I was earning a significant premium and I’d still get a good night’s sleep because the systems just didn’t go down. I had the advantage that most of the customers I supported had similar requirements, so I had their systems locked up pretty well. Minor problems (disk space. Why is it always disk space?) would self heal, catastrophic failures (hardware failures or the engineer who supposed to replace a component unplugging the wrong server) would fail over to the rest of the cluster. I never had much trouble with logging either, it was typically one of the first things set up, and I had most of the setup automated to avoid missing anything. I suppose the thing was I was supporting systems I’d built, and I’d built them to ensure I didn’t have to be woken up.

                I do a lot more troubleshooting and rescue type work nowadays, and the number of times I run into systemd components just not doing what they should is frustrating to say the least. Being able to pull the logs by knowing the service name would be nice, but a) you could already do that because you set up different services to log to different places and b) you don’t always know the service name in question. Being able to just grep the log directory is a lifesaver. You can still do that, but only because distros set systemd up to log to file as well as it’s binary format. I loathe the way systemd ends up spreading it’s unit files over about a dozen different directories, with overrides increasing that even further. I just want to know what services I’ve got and what will start up, in exactly what order, on the next reboot, dammit! The last one is particularly tricky as, due to services being started in parallel, you can’t predict exactly what order things will actually start between targets. That shouldn’t matter, units should have all their dependencies properly listed, but it’s no fun tracking down a race condition that only happens once every x reboots when a particular network service takes a few hundred milliseconds longer to come up. Give me sequential boot any day. It might take a few tens of seconds longer, but it happens the same way each time, and I only need to look in one place to know what that is.

                As to systemd’s dominance, once Redhat, where Mr Pottering worked, chose it, it became hard for other distros not to. Derivative distros obviously went with it, and if you look back through the various email discussions, it was far from a unanimous choice for distros like Debian to choose it. They did so eventually mostly, as far as I can see, because it would theoretically make packaging easier. Fortunately they still support sysvinit, so all is not lost for those of us who want a mainstream distro without systemd bloat.

                Shifting stuff to kube is definitely goot for making things more robust, so long as you’ve got the underlying clustering working, and I quite like working with it too. Once you realise it’s basically just a database and message queue with a bunch of controllers for managing storage, networking, containers and the like, and the ability to extend that, you can do all sorts of fun things with it.

                Anyway, I’ve gone on for long enough. If you’re a sysadmin and the number of trouble calls is going down, then you probably don’t hear this often enough: well done, you’re doing a great job.

    • ubergeek@lemmy.today
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      Its far too convoluted. A systemd gui for… DNS? Boot services? User Services? tmp file management? Everything?

      • oldfart@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        Everything! And a virt-manager like tool for nspawn! And for the faux-cron jobs! Make it as byzantine as systemd itself

      • Eugenia@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        That’s the point. That systemd is convoluted, so a gui could help. And yes, for everything. :)

        • ubergeek@lemmy.today
          link
          fedilink
          English
          arrow-up
          4
          ·
          5 days ago

          My point is there is no way to sanely create a GUI for something has it’s tendrils in… Everything. In fact, there’s no sane way to do any sort of UI for such a beast.

        • catloaf@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 days ago

          Maybe the system should be made less convoluted.

          I mean, do we really need a half dozen network management services, all broken in their own way and none that do everything you need?

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        All of those are entirely separate components; I have no idea what you’re attempting to imply here.

        • ubergeek@lemmy.today
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          5 days ago

          Those are all things systemd manages… as well as logs, udev, etc etc.

          What kind of gui too could you even imagine would sanely present all of that?

          • Atemu@lemmy.ml
            link
            fedilink
            arrow-up
            3
            ·
            5 days ago

            As mentioned, those are entirely separate and even independent components.

            Systemd (as in: pid1) only “manages” them insofar as that it controls their running processes just like any other service on your system.

            systemd-boot doesn’t interact with systemd at all; it’s not even a Linux program.

            The reason these components have “systemd” in their name is that these components are maintained by the same people as part of the greater systemd project. They have no further relation to systemd pid1 (the service manager).

            Whoever told you otherwise milead you and likely had an agenda or was transitively mislead by someone who does. Please don’t spread disinformation further.

            • ubergeek@lemmy.today
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 days ago

              Without going into the weeds and all, given they all are in the same project, regardless…

              You said “a gui for managing systemd”, so which part? Boot, udev, and journal? All three are required and not optional for systemd the OS infrastructure layer suite (or whatever it’s called these days), so minimally, assume that?

              If so, what kind of sane gui could manage those three very disparate things?

              • Atemu@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                4 days ago

                If you talk about “a GUI for systemd”, you obviously mean its most central and defining component which is the service manager. I’m going to assume you’re arguing in bad faith from here on out because I consider that to be glaringly obvious.

                systemd-boot still has no connection to systemd the service manager. It doesn’t even run at the same time. Anything concerning it is part of the static system configuration, not runtime state.
                udevd doesn’t interact with it in any significant user-relevant way either and it too is mostly static system configuration state.

                journald would be an obvious thing that you would want integrated into a systemd GUI but even that could theoretically be optional. Though it’d still be useful without, it would diminish the usefulness of the systemd GUI significantly IMHO.
                It’s also not disparate at all as it provides information on the same set of services that systemd manages and i.e. systemctl has journald integration too. You use the exact same identifiers.