this post was submitted on 26 Aug 2025
105 points (86.2% liked)

Linux

57779 readers
562 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

cross-posted from: https://programming.dev/post/36342010

Nitro is a tiny process supervisor that also can be used as pid 1 on Linux.

There are four main applications it is designed for:

  • As init for a Linux machine for embedded, desktop or server purposes
  • As init for a Linux initramfs
  • As init for a Linux container (Docker/Podman/LXC/Kubernetes)
  • As unprivileged supervision daemon on POSIX systems

Nitro is configured by a directory of scripts, defaulting to /etc/nitro (or the first command line argument).

you are viewing a single comment's thread
view the rest of the comments
[–] Zucca@sopuli.xyz 22 points 5 days ago* (last edited 5 days ago) (1 children)

I wonder what new does this bring into the table?

I mean we already have at least these in addition to systemd:

  • OpenRC + openrc-init
  • s6 + s6-rc
  • runit
  • Epoch
  • dinit
  • minit
  • GNU Shepherd
  • finit

The state being stored in RAM seems like a nifty feature. I like it.

Very quickly glanced... I think it lacks service supervision and user services. Although user services are missing in many others too. Except it looks like users can run Nitro by themselves (autostart via cron @boot maybe?). Somebody correct me if I'm wrong.

Anyway, more choices leads to more ideas being implemented. 👍

[–] Badabinski@kbin.earth 5 points 4 days ago (2 children)

It also lacks any form of dependency management AFAICT. I don't think there's any way to say you depend on another service. I'm guessing you can probably order things lexically? But that's, uh, shitty and bad.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 1 points 4 days ago* (last edited 4 days ago)

This whole thing is basically runit + some extra features. So dependencies work the same as runit. You just check if the dependency is running. If not, you exit. Then the init will keep restarting the service until it works. (Just guessing based on the README)

[–] Zucca@sopuli.xyz 1 points 4 days ago

Initial commit on Oct 21, 2023

If I'd implement a new init system, the dependency system would be one of the first on my TODO list. So... That's strange. 🤔