InitKit
dinit
InitKit | dinit | |
---|---|---|
1 | 21 | |
360 | 591 | |
0.0% | - | |
0.0 | 9.2 | |
almost 3 years ago | 11 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
InitKit
dinit
-
Chimera Linux
The author has a high-level overview doc here: https://github.com/davmac314/dinit/blob/master/doc/COMPARISO...
Now, of course, with service management the devil is in the details, so before you use something as system-wide init, I find it useful to ask yourself: How do they restart services? Do they give up at some point? How do they notify administrators of failures? Do they detect crashloops? How configurable is the logger? What CLIs are there to debug the state of the system (which service was first to fail, where is its definition)? How to make ephemeral or parametrised services? How to add pre-start, post-start, pre-stop, post-stop hooks? Can you use environment variables in your commands, and where do they come from?
I don't think you can find answers to some of these questions in docs. Once you do learn the answers, they may be disappointing - I indeed found myself quite disappointed in systemd after having to debug many failed-to-boot machines. With s6, I never run it, but there are few choices that raise eyebrows, e.g. the restart delay is hardcoded in source code to be 1 second. With dinit, I have yet to finish reading all its manpages, but at least timeout and restart policies are configurable.
-
Show HN: Dinit – specialized init for Docker containers
Not to be confused with https://github.com/davmac314/dinit
-
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.
-
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 threw the services I have on my system up at https://gitlab.com/fictitiousexistence-public/dinit-gentoo/ You can copy them and enable / disable whatever you need. Most services I jacked from artix since they have a supported instance of dinit.
-
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.
-
Which do you use systemd or openrc? Why do you use what you use?
this page by Davin McCall, creator of dinit.
-
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.
-
Fastest way to boot Void Linux?
I've used a ton of improvements but I know this community knows a lot more about some parts than me. So here I come. I'm currently using efibootmgr to create an efistub to bypass grub. Using base-minimal with ncurses so terminal apps work. Also I use this in my /etc/dracut.conf.d/local.conf: hostonly="yes" omit_dracutmodules=" network plymouth " And that works perfectly. Don't know exactly what network or plymouth are for but they are not strictly required. Also I use dinit: void_dinit, dinit. This works perfectly fine and works like expected after a little troubleshooting. Also for making dinit about 2x faster is swapping coreutils to sbase. I only use ls from gnu coreutils which is something I may want to switch but I haven't come to finding a good alternative to ls that has colors (exa exists but is 11x as big) Things that I could think of that could improve stuff are: kernel, maybe initramfs. Maybe something else I've looked over. What is all made by GNU anyway? I may have forgot something Void Linux uses.
-
What do you guys think about this?
systemd: Yes; it's awaiting its "PipeWire". Thankfully, the likes of s6 and dinit are very promising. Though I can actually appreciate that systemd is addressed. As ultimately it helps in raising awareness that will benefit whatever software will replace it eventually.
-
The (GNU/)Linux rabbit hole has been a negative influence on my mental state
Arguably this is less troublesome to solve compared to the other concerns. As we're inevitably waiting for the system supervision suite that will be to systemd what PipeWire has been to PulseAudio. I'm very optimistic about this as both s6 and Dinit are shaping up lovely.
What are some alternatives?
InitWare - The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
s6 - The s6 supervision suite.
finit - Fast init for Linux. Cookies included
init - KISS Linux - Init Framework
monomux - Monophone Terminal Multiplexer - Less intrusive than tmux, smarter than screen
runit_sv_addons - Three short add-on scripts for runit "sv"
core - Liman allows you to centrally manage all servers, clients and network devices in your organization remotely, with stable and secure way. You can improve the features with expandable extensions.
minibase - small static userspace tools for Linux
farmhash
smletsexchangeconnector - SMLets PowerShell based Exchange Connector for controlling Microsoft System Center Service Manager 2016+
awesome-unix - All the UNIX and UNIX-Like: Linux, BSD, macOS, Illumos, 9front, and more.
rustysd - A service manager that is able to run "traditional" systemd services, written in rust