Software Alternatives, Accelerators & Startups

sysvinit VS Dinit

Compare sysvinit VS Dinit and see what are their differences

sysvinit logo sysvinit

Savannah is a central point for development, distribution and maintenance of free software, both GNU and non-GNU.

Dinit logo Dinit

Dinit is a service supervisor with dependency support which can also act as the system "init" program.
  • sysvinit Landing page
    Landing page //
    2023-07-05
  • Dinit Landing page
    Landing page //
    2023-09-06

sysvinit features and specs

  • Simplicity
    SysVinit is known for its straightforward and simple design, making it easier to understand and manage for system administrators who are familiar with its traditional approach.
  • Mature and Stable
    SysVinit has been around for a long time, which means it is well-tested and stable. Many of its behaviors are well-documented, and there is a wealth of community knowledge available.
  • Compatibility
    Due to its long history, SysVinit is compatible with a wide range of Unix-like operating systems, making it a reliable choice for legacy systems.
  • Flexibility
    SysVinit allows users to write custom scripts for managing services, offering flexibility for specialized needs or environments.

Possible disadvantages of sysvinit

  • Lack of Parallelization
    SysVinit does not natively support starting services in parallel, which can lead to longer boot times as it starts services sequentially.
  • Complexity in Large Setups
    Even though SysVinit is simple, managing a large number of startup scripts can become complex and unwieldy as configurations grow.
  • Limited Dependency Handling
    SysVinit has a limited ability to handle dependencies between services, potentially resulting in issues during system startup if services are started in the wrong order.
  • Manual Configuration
    SysVinit requires more manual intervention to manage services, which can be time-consuming compared to more automated solutions like systemd.

Dinit features and specs

  • Lightweight
    Dinit is designed to be a lightweight system service manager, which means it consumes fewer resources compared to more comprehensive init systems. This makes it suitable for systems where resource usage is a critical concern.
  • Simple Configuration
    Dinit offers a relatively straightforward configuration, making it easier for users to set up and manage services compared to other complex init systems.
  • Fast Startup
    Due to its minimalist design, Dinit can provide quicker system startup times, which is beneficial in environments where boot speed is important.
  • Parallel Service Starting
    Dinit supports parallel starting of services, which can improve system boot times by allowing multiple services to be started simultaneously.
  • Dependency Management
    Dinit has built-in support for specifying dependencies between services, ensuring that services are started in the correct order.

Possible disadvantages of Dinit

  • Limited Features
    As a lightweight init system, Dinit may lack some of the advanced features found in more full-featured systems like systemd, such as extensive logging and sophisticated networking service management.
  • Smaller Community
    Dinit has a smaller user and developer community compared to widely adopted init systems, which can result in fewer resources, tutorials, and community support.
  • Less Mature
    Being a newer system, Dinit may not have gone through as extensive testing and usage in production environments as older init systems, potentially leading to undiscovered bugs or edge cases.
  • Compatibility
    Dinit might not be compatible with some existing scripts and services designed for more established init systems, requiring additional effort to migrate or maintain compatibility.
  • Limited Distribution Support
    Dinit may not be officially supported by many Linux distributions out of the box, requiring manual installation and configuration.

sysvinit videos

openrc vs sysvinit reboot time on Slackware Virtual Machines

Dinit videos

SystemD Runit Dinit OpenRC Boot Time #Void #Arch #Artix #Alpine #Linux

More videos:

  • Tutorial - How to start services using dinit.

Category Popularity

0-100% (relative to sysvinit and Dinit)
Log Management
49 49%
51% 51
Monitoring Tools
46 46%
54% 54
Fintech
54 54%
46% 46
Performance Monitoring
100 100%
0% 0

User comments

Share your experience with using sysvinit and Dinit. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Dinit seems to be a lot more popular than sysvinit. While we know about 11 links to Dinit, we've tracked only 1 mention of sysvinit. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

sysvinit mentions (1)

  • Distro balls
    It's a plus because Gentoo fully supports the choice of Systemd or OpenRC. It also has minit, dumb-init, sysvinit, cinit in tree for the more adventurous. No one was calling the AUR bloat, the parent comment just mentions that Gentoo has an equivalent project, GURU. Source: about 4 years ago

Dinit mentions (11)

  • Linux from Scratch Ends SysVinit Support
    I wrote up some issues with service reliability here https://github.com/andrewbaxter/puteron/?tab=readme-ov-file#origin-story Design-wise, I think having users modify service on/off state *and* systemd itself modify those states is a terrible design, which leads to stuff turning back on when you turn it off, or things turning off despite you wanting them on, etc. (also mentioned higher up) FWIW after making... - Source: Hacker News / 6 months ago
  • are there any good reasons for me to avoid systemd
    Still, I applaud efforts like s6 and Dinit as competition is a good thing in general. I hope they'll continue to be improved upon until they've become viable alternatives to systemd for most users. Source: about 3 years ago
  • Gentoo 66 init or dinit
    You can download dinit from github https://github.com/davmac314/dinit. (also read everything about it) Do a simple make && make install which should install it to /sbin/dinit No need to remove systemd or openrc. /sbin/init should be symlinked to whatever init system you use. Read the instructions on dinits page. All the services go into /etc/dinit.d. And you can "dinitctl enable servicename" to enable it. I... Source: about 3 years ago
  • A discussion about the Ultimate Linux Desktop
    It got mass-adopted while being imperfect, so that's to be expected. Thankfully its inception and the criticism that followed have paved the way for the likes of dinit and s6. Source: over 3 years ago
  • Run a script when connection is established and ready?
    I use dinit do manage services on my home server. One of them is Caddy, that shares TLS/SSL cert state with my remote server by using Redis on said remote server. However, since this means that I need to have established a remote connection first before starting Caddy, I would like to know of a method to check if tailscale has in fact finished connecting. Source: over 3 years ago
View more

What are some alternatives?

When comparing sysvinit and Dinit, you can also consider the following products

runit - runit is a cross-platform Unix init scheme with service supervision, a replacement for sysvinit...

s6 - s6 is a small suite of programs for UNIX, designed for process supervision. It can be used as an init system, or as separate supervision components.

systemd - systemd is a replacement for the init daemon for Linux (either System V or BSD-style).

Upstart - Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and...

nosh - The nosh package is a suite of system-level utilities for initializing and running a BSD or Linux...

LineageOS - Operating system for smartphones and tablet computers, based on the Android