systemd VS openrc

Compare systemd vs openrc and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
systemd openrc
520 23
12,552 1,386
1.9% 2.3%
10.0 7.6
1 day ago 6 days ago
C C
GNU General Public License v3.0 only BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

systemd

Posts with mentions or reviews of systemd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-04.
  • Dlopen() Metadata for ELF Files
    1 project | news.ycombinator.com | 8 May 2024
  • PoC to demonstrate root permission hijacking by exploiting "systemd-run"
    2 projects | news.ycombinator.com | 4 May 2024
    No, the OP was not sent any harassment, the OP _did_ the harassment as it can be seen in the tweets. I mean, they are right there, just click on the links you shared. One of the OP's followers even openly called for the assassination of the project maintainer, and you have the galls to defend him? This is truly deranged stuff.

    And again, there is no "vulnerability", there is simply a person that doesn't know how Linux works and has learned something new. Which again it's fine, nobody knows everything and we all learn new things everyday, it's just that normal and sensible people don't use that to make grand claims on social media and start harassment campaigns culminating in death threats.

    Professional security researchers responsibly report real issues using the appropriate channels, such as defined at: https://github.com/systemd/systemd/security/policy this is not the work of a researcher, this is a grifter looking for self-promotion on social media.

  • Run0 – systemd based alternative to sudo announced
    5 projects | news.ycombinator.com | 1 May 2024
    > 3. even `adduser` will not allow it by default

    5. useradd does allow it (as noted in a comment). 6. Local users are not the only source, there things like LDAP and AD.

    7. POSIX allows it:

    * https://github.com/systemd/systemd/issues/6237#issuecomment-...

  • Systemd Rolling Out "run0" As sudo Alternative
    2 projects | news.ycombinator.com | 30 Apr 2024
    > I for one love to type out 13 extra characters

    FWIW, systemd is normally pretty good at providing autocomplete suggestions, so even if you don't want to set up an alias you'll probably just have to type `--b ` to set it.

    > I wonder what random ASCII escape sequences we can send.

    According to the man page source[0]:

    > The color specified should be an ANSI X3.64 SGR background color, i.e. strings such as `40`, `41`, …, `47`, `48;2;…`, `48;5;…`

    and a link to the relevant Wikipedia page[1]. Given systemd's generally decent track record wrt defects and security issues, and the simplicity of valid colour values, I expect there's a fairly robust parameter verifier in there.

    In fact, given the focus on starting the elevated command in a highly controlled environment, I'd expect the colour codes to be output to the originating terminal, not forwarded to the secure pty. That way, the only thing malformed escapes can affect is your own process, which you already have full control over anyway.

    (Happy to be shown if that's a mistaken expectation though.)

    [0] https://github.com/systemd/systemd/blob/main/man/run0.xml

    [1] https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_G...

  • Crash-only software: More than meets the eye
    1 project | news.ycombinator.com | 30 Apr 2024
  • Systemd Wants to Expand to Include a Sudo Replacement
    3 projects | news.ycombinator.com | 30 Apr 2024
    bash & zsh are supported by upstream: https://github.com/systemd/systemd/tree/main/shell-completio...
  • "Run0" as a Sudo Replacement
    3 projects | news.ycombinator.com | 30 Apr 2024
    the right person to replace sudo, not: https://github.com/systemd/systemd/issues/6237

    PS: https://pwnies.com/systemd-bugs/

  • Linux fu: getting started with systemd
    5 projects | news.ycombinator.com | 14 Apr 2024
    https://github.com/systemd/systemd/issues/32028#issuecomment...

    There are some very compelling arguments made there if you care to read them

  • Ubuntu 24.04 (and Debian) removed libsystemd from SSH server dependencies
    1 project | news.ycombinator.com | 13 Apr 2024
    Maybe it was because you weren't pointing out anything new?

    There was a pull request to stop linking libzma to systemd before the attack even took place

    https://github.com/systemd/systemd/pull/31550

    This was likely one of many things that pushed the attackers to work faster, and forced them into making mistakes.

  • Systemd minimizing required dependencies for libsystemd
    2 projects | news.ycombinator.com | 12 Apr 2024
    The PR for changing compression libraries to use dlopen() was opened several weeks before the xz-utils backdoor was revealed.

    https://github.com/systemd/systemd/pull/31550

openrc

Posts with mentions or reviews of openrc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-27.
  • OpenRC: can I autostart user services through loginctl?
    1 project | /r/Gentoo | 29 Jun 2023
    This isn't added yet but it's being worked on: https://github.com/OpenRC/openrc/pull/573
  • OpenRC is a dependency-based init system for Unix-like systems
    3 projects | news.ycombinator.com | 27 Jun 2023
    > It's also not a complete alternative, because it doesn't have anything for user session services like `systemd --user`.

    i am working on a implementation of that for openrc for a while now, it's been working nicely so far: https://github.com/OpenRC/openrc/pull/573

  • PSA: If you use Devuan, check your root password
    2 projects | /r/linux | 27 Apr 2023
    With openrc if I don't know what any service does, I can look into the scripts and just read how the config variables get evaluated and how they influence program startup. And no, these scripts are not super complex shell scripts like the sysv-rc legacy stuff on old debian which systemd somehow still gets compared with to propagate FUD. For simple things openrc scripts are barely any more complicated to read/write than systemd service files and for more complex stuff you don't have to trial-and-error your way through systemd's black-box.
  • Keyd on gento with openRC
    1 project | /r/Gentoo | 26 Mar 2023
    It's trivial to write your own openrc service for something.
  • Old vs new (systemd) style Linux daemons
    2 projects | news.ycombinator.com | 28 Oct 2022
    A lot of those things don't use plain bash either... Of that bigger things in that list:

    There is OpenWRT, which uses "procd" (a process management daemon written in C, like systemd but smaller) with its own system bus ubus (like dbus but smaller)

    There is Android with its own proprietary init system.

    And many others use OpenRC, which is 65% C and 30% shell (according to github). the init files do use shell syntax, but you are supposed to use their interpreter [0] "if you insist on using #!/bin/sh you're on your own" [0]. In fact, the recommended approach is declarative method when you specify name of main binary and their args.. just like systemd.

    The world is moving and sysvinit is left behind.

    [0] https://github.com/OpenRC/openrc/blob/master/service-script-...

  • ebuild request: auto-cpufreq
    3 projects | /r/Gentoo | 11 Oct 2022
    openrc doc
  • Need help to mount NAS shares
    1 project | /r/Gentoo | 21 Aug 2022
    You might also need to check the netmount configuration on your system to make sure it's set to the right interfaces, see https://github.com/OpenRC/openrc/blob/master/conf.d/netmount
  • Alpine Forge Minecraft Server
    1 project | /r/AlpineLinux | 10 Jul 2022
  • i found an Ohio lottery machine running Gentoo. i wish it would let me login.
    1 project | /r/Gentoo | 17 Apr 2022
    that's an old openrc... tagged 2008-05-10 https://github.com/OpenRC/openrc/releases/tag/openrc-0.2.4
  • Using Hyper-V Enhanced Session/Integration Services
    1 project | /r/Gentoo | 8 Feb 2022
    Take a look at https://github.com/OpenRC/openrc/blob/master/service-script-guide.md. But there should be plenty other resources on how to create openrc scripts.

What are some alternatives?

When comparing systemd and openrc you can also consider the following projects:

tini - A tiny but valid `init` for containers

systemd-stable - Backports of patches from systemd git to stable distributions

inotify-tools - inotify-tools is a C library and a set of command-line programs providing a simple interface to inotify.

System76 Power Management - System76 Power Management

s6 - The s6 supervision suite.

docker-node - Official Docker Image for Node.js :whale: :turtle: :rocket:

earlyoom - earlyoom - Early OOM Daemon for Linux

guru - [MIRROR] GURU: repository of new packages maintained collaboratively by users

supervisor - Supervisor process control system for Unix (supervisord)

dracut - dracut the event driven initramfs infrastructure

WTF-Devuan