this post was submitted on 20 Feb 2026
123 points (76.2% liked)

Technology

81606 readers
4558 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Eldritch@piefed.world 16 points 22 hours ago (3 children)

Technically, sysv everything was just a file full of instructions for the shell to parse and initialize. Human readable "technically". It was simple and light weight. SystemD is a bit heavier and more complex as a system service binary. But that load and complexity is generally offset by added features that are extremely nice to have. Providing much more standardized targets and configuration iirc.

I had to search and dig trying to figure out how to set up services properly for my distro, back in the 90s. And when/how to start/restart them. There wasn't one way to do it all. SysD made it all much more standard, simple, and clear. It's biggest sin, is that it's one more binary attack surface that might be exploited.

[–] MonkderVierte@lemmy.zip 1 points 4 hours ago

Openrc, Runit, s6, dinit...

[–] MajinBlayze@lemmy.world 6 points 20 hours ago (2 children)

Why are binaries uniquely attackable in a way that init scripts aren't?

[–] Eldritch@piefed.world 3 points 19 hours ago

Init scripts are just scripts. Technically, they don't introduce any unique vulnerabilities of their own. Just the flaws in the shell itself or server binaries. A poorly written script absolutely can and will still fuck your day up.

SystemD is a program. Which could introduce its own unique buffer overflows or use after free opportunities. I've not heard of any. But its possible. However, its standard set of interfaces and systems make the risks of writing your own bad scripts or just using other people's random bad scripts like we used to much less an issue.

[–] entropicdrift 2 points 19 hours ago

Nobody is packaging a standard init script across all distros, basically. A script is expected to be unique per machine or at least per admin setting up a set of machines. A binary could have a secret exploit installed in it that nobody can see/audit before it's too late.

At least that's the theory. Personally I love systemd

[–] frongt@lemmy.zip 2 points 16 hours ago

Yeah, sysv init is all just scripts under the hood, and it's a bit fragile/arcane. You have to write a bunch of files by hand, reference them correctly, and place and link them in the right directories. Systemd is a bit better, I have to admit that.