News for hackers. Stuff that matters.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by chunkyks on Saturday March 13, 2021 @06:44PM (#26451284)
Soon it'll include a browser and email client. Can't wait!
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by rkangel on Sunday March 14, 2021 @07:29AM (#26454458)
The issue here is branding, not engineering or design.

Systemd is an umbrella under which many key userspace tools are being developed. The actual init system itself is a lot bigger than the old SysV Init system was, but it is separate than all these other things that also say Systemd on them.

The best analogy is GNU. You don't complain that GNU contains a compiler, and also a text editor, and also C System Library do you? GNU is a project that develops a load of components that play well with each other. Systemd is the same.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by __turbobrew__ on Saturday March 13, 2021 @06:47PM (#26451300)
GNU/Linux will soon be replaced by Systemd/Linux
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by linguae on Saturday March 13, 2021 @07:17PM (#26451504)
I actually seriously foresee a split occurring in the Linux community that will also affect users of other Unix-like operating systems. On one side you have modern Linux software projects like systemd and Wayland. These projects address deficiencies in traditional solutions, but certain design choices in these projects have not been well-received by more traditional users of Linux and the BSDs.

The increase in the amount of user-level software that depends on systemd and Wayland is a forcing factor. For example, my understanding is that official distributions of GNOME depend on systemd, and many Linux desktops are being actively developed for Wayland (though I don't think any major desktop environment or toolkit has abandoned X11). I expect this trend to continue, given that systemd is part of the most popular Linux distributions, Wayland will be default in Ubuntu (https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-2...), and GNOME runs on Wayland (with KDE's port to Wayland being actively developed: see https://www.phoronix.com/scan.php?page=news_item&px=KDE-2021...).

So, yes, I do see a split occurring between "modern Linux" (with systemd and Wayland) and "traditional Linux," with the BSDs fitting in closer to the "traditional Linux" camp.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by blueflow on Saturday March 13, 2021 @07:50PM (#26451690)
The split has already happened - Void and Alpine Linux seem to be on the traditional Linux side, everything with the musl libc in general.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by VLM on Sunday March 14, 2021 @10:54AM (#26455901)
Its the death of the meme of the "universal OS".

There will be Linux for desktops to run a web browser (aka poorly emulate a chromebook) and for docker and docker only.

If you want a non-containerized server or some kind of non-desktop embedded thingy, or anything that can be computed other than emulating a chromebook and doing containers, you'll have to run FreeBSD or some other OS.

The days of "just install Debian to do anything anywhere" are gone, which is sad, because there's really no technical reason or need for the destruction.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by zokier on Sunday March 14, 2021 @11:21AM (#26456128)
> The days of "just install Debian to do anything anywhere" are gone, which is sad, because there's really no technical reason or need for the destruction.

What are you missing from Debian these days that was there 5/10/20 years ago? What has been "destroyed"?

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by blueflow on Sunday March 14, 2021 @03:29PM (#26458122)
Free disk space
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by anthk on Sunday March 14, 2021 @04:36PM (#26458872)
Gnome works without systemd under OpenBSD.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by marcodiego on Saturday March 13, 2021 @06:56PM (#26451360)
Actually, I don't think something like busybox included in systemd is necessarily bad. You could have a system recoverable even if everything else breaks. Of course, it would really enable systemd/linux.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by hexo on Saturday March 13, 2021 @07:04PM (#26451413)
It doesnt need to be included in systemd for that.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by tyingq on Saturday March 13, 2021 @07:30PM (#26451566)
Most of what you would need to cobble together a busybox like binary is there in the systemd/src/basic directory. stat-util, procfs-util, sort-util, path-util, and so on.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by anthk on Sunday March 14, 2021 @04:37PM (#26458885)
OpenBSD has a ramdisk for that.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by toast0 on Saturday March 13, 2021 @07:11PM (#26451460)
Shhhh. Don't give them ideas.

Including busybox in the initrd or whatever it's called now is probably a good idea. Having systemd developers write a new interpretation of that, rehashing old bugs is not great.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by infradig on Saturday March 13, 2021 @06:59PM (#26451383)
You mean GNU/Systemd.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by dathinab on Saturday March 13, 2021 @07:26PM (#26451546)
No a Linux/Systemd,

which uses LLVM for building Linux and Systemd, replaces all core utils with non GNU versions. It use a non GNU libc and so on...

But that aside people often confuse/mixup the systemd service manager and the systemd project which bundles a wide variety of programs which can be used with systemd.

The reasons for this is because systemd itself confuses this. The change log is not split by sub-projects and the sub-projects have sometimes no clean boundary between them and the systemd service manager.

I think it would be nice if systemd changes in three ways:

1. Have more clean boundaries between the core service manager and it's sub-project.

2. Have a recurring periods where new features are blocked from being merged and development focused on cleaning up (e.g. fixing bugs). (I can recommend that to any projects, very few do so).

3. Get "outside" feedback for certain mainly UX aspects, some parts of systemd are out right counter intuitive unless you are not very familiar with it. A thinks which is very easy to happen to any project, but still could be improved on (and maybe already is improved on).

Oh and there where a very few security WTF are you doing moments, I hope there will be no more such moments in the future as systemd on itself it quite useful for Linux, especially desktop Linux.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by Karunamon on Saturday March 13, 2021 @06:49PM (#26451314)
You meme, but they're eating so many userspace components that this is actually where I see them heading.

Just wait until ls has to have hooks into dbus to do its job.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by hexo on Saturday March 13, 2021 @07:02PM (#26451397)
Every time I see all the stuff packed into it I feel extreme urge to switch to freebsd again.

Oomd, oh yea, good idea, but WHY it has to be in systemd? The same applies to about 3/4 of things in there. Because of this i've started to call it LennartOS. And also I don't feel like linux is about freedom anymore but more like some sort of weird power display games.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by cmeacham98 on Saturday March 13, 2021 @07:14PM (#26451491)
This is a common mistake. systemd-oomd is not "in" systemd the init system. Similar to systemd-resolved, systemd-networkd, systemd-boot, and others it just has the systemd name because it is developed by the systemd team. A minimal system using sytemd for the init system and other software for everything else only needs sytemd, dbus, and journald.

I use several of these projects because I like the systemd design philosophy (ex the way the CLI interface and config files are) and trust the developers of their software. However, there are popular altenatives available for all of these components, should you choose to use them:

systemd-resolved: bind9, dnsmasq, powerdns

systemd-networkd: NetworkManager, ConnMan

systemd-boot: GRUB2, Refind, EFISTUB

systemd-oomd: earlyoom, nohang, oomd (the facebook one, not systemd)

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by dathinab on Saturday March 13, 2021 @07:31PM (#26451570)
I agree but I wouldn't call systemd a init system.

It's a service manager for your Linux OS which manage all services down to initial startup related services.

Just viewing it as a init system is misleading.

As a side note I think a service manager directly above the kernel is a must have for any modern server or desktop operating system ;=)

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by viraptor on Saturday March 13, 2021 @08:50PM (#26452042)
> I agree but I wouldn't call systemd a init system.

Systemd is the name of the init system. Systemd is also the name of the project developing multiple systemd-* services. Maybe they could help the situation a bit by renaming the service itself systemd-init, but we've had enough time for people to learn to deal with a tiny bit of ambiguity...

[dead]
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by IgorPartola on Saturday March 13, 2021 @08:03PM (#26451758)
You know I feel that way about the Linux kernel. Everything is done by the Linux kernel developers and it’s shipped as one monolithic thing. Wouldn’t it be better to get drivers for networks cards from other places? Or have to pick from a list of memory management packages that get downloaded from GitHub on every reboot? And why do they include things like spin lock implementations? Should that be an NPM package? /s
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by badsectoracula on Monday March 15, 2021 @01:18AM (#26462849)
You're joking but having drivers separate from the rest of the Linux kernel and with a stable ABI would certainly help other OSes as well (e.g. ReactOS, Haiku).
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by viraptor on Saturday March 13, 2021 @08:52PM (#26452052)
> I suddenly have to use systemd-* over them.

You really don't. You have the choice to go with a distro which doesn't use them, or to mix&match yourself.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by zbentley on Sunday March 14, 2021 @10:56AM (#26455923)
> Like, hell, what is systemd-boot and when and why it replaced grub2?

I've been really happy with systemd-boot; in my limited (used it on probably a dozen machines across several distros at this point) experience, it's better at autodetecting nonstandard images/locations than grub, and is vastly friendlier to weird partitioning schemes. It also has a much more minimal config surface than grub, which I like (since, across distros, I no longer have to learn a distro-specific set of nested/included grub config files and conventions, nor do I have to worry about what will be auto-regenerated when a distro does a kernel update versus what configs I need to edit by hand). However, that limited config surface may be a drawback to people who need to customize very esoteric boot cases.

I also aesthetically prefer systemd-boot's minimalism and focus on newer (UEFI) boot strategies compared to grub; the latter is huge in terms of functionality. A lot of that size is needed for rare cases and older boot configurations (and if you fall into either group, grub is what you should use), but it complicates the "happy path" on post-2010 computers.

https://en.wikipedia.org/wiki/Gummiboot_(software)

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by candiddevmike on Saturday March 13, 2021 @11:17PM (#26452768)
I personally prefer systemd-boot over grub2, it's dead simple to configure and works really well for UEFI systems (and dual booting windows).
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by Gaelan on Saturday March 13, 2021 @07:04PM (#26451406)
You're concerned about a project gaining too many features, so you… move to FreeBSD, an OS where everything is developed as one project?
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by MetaDark on Saturday March 13, 2021 @07:48PM (#26451680)
FreeBSD includes a kernel, drivers, and userland utilities under one project. If your complaint is that systemd is "bloated", it doesn't make any sense why you would want to switch to a system that's even more "bloated".
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by edoceo on Saturday March 13, 2021 @07:12PM (#26451469)
Come to Gentoo! I've been booting with OpenRC since forever have have completely ignored the systemd drama. The only thing eating my userspace is me.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by disposekinetics on Sunday March 14, 2021 @01:12AM (#26453195)
I can second this, recent Gentoo has been a pleasure to work with.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by mrlonglong on Sunday March 14, 2021 @10:52AM (#26455889)
You can use Gnome 3 without systemd. Biggest plus point about Gentoo. Love it to bits even if it gives me headaches sometimes !
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by mnd999 on Sunday March 14, 2021 @09:21AM (#26455160)
You should switch to FreeBSD, because imho it’s great.

However, you should probably switch to FreeBSD because you think it’s great too, not because you hate systemd.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by znpy on Saturday March 13, 2021 @07:17PM (#26451503)
> but WHY it has to be in systemd?

«It (systemd) provides a system and service manager» (from https://www.freedesktop.org/wiki/Software/systemd/).

So it manages services and manages the system, as a whole.

> Every time I see all the stuff packed into it I feel extreme urge to switch to freebsd again.

Meh, a lot of people bring this up, but they never switch.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by pengaru on Sunday March 14, 2021 @03:05AM (#26453385)
systemd-oomd wasn't even developed by Lennart, Anita Zhang of Facebook contributed it.

Try understanding a bit more than just the name's prefix before getting so bent out of shape.

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by tannhaeuser on Saturday March 13, 2021 @07:40PM (#26451624)
> LennartOS

Lennax

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by esarbe on Sunday March 14, 2021 @01:32PM (#26457045)
Yes, please. Switch to FreeBSD. Every FreeBSD developer knows what a terrible idea SystemD is.

https://papers.freebsd.org/2018/bsdcan/rice-the_tragedy_of_s...

Joke's on you.