joshiemoore / snakeware

A free Linux distro with a Python-based userspace
MIT License
1.72k stars 100 forks source link

python based init system #100

Open alexandruavadanii opened 4 years ago

alexandruavadanii commented 4 years ago

In the readme's todo list there is currently an entry for replacing busybox's init with a python based solution.

Although there are quite a few init systems out there, not many of them are written in python. I looked around a bit and found some OSS projects that fit the description, although not all of them would work as a drop-in replacement for the current init:

  1. supervisord [1] - mature, active, but it is not intended to be run as PID 1 though;
  2. murdur [2] - seems to be calling a lot of binaries in /bin or /sbin, so although it's written in python, it's not free of external binary dependencies;

I'm just writing this down in case someone else looks at init and wonders what pure python implementations are already out there.

[1] https://github.com/Supervisor/supervisor [2] https://github.com/pisilinux/mudur

KAMiKAZOW commented 4 years ago

This exists as well: https://github.com/YtvwlD/yarfi