You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# rustysd
2
-
Rustysd is a service manager that tries to replicate systemd behaviour for a subset of the configuration possibilities. It focuses on the core functionality of a service manager.
2
+
Rustysd is a service manager that tries to replicate systemd behaviour for a subset of the configuration possibilities. It focuses on the core functionality of a service manager, not requiring to be PID1 (aka init process).
3
3
4
4
## Will this replace systemd?
5
5
TLDR: No, rustysd is no dedicated replacement. It is an opportunity for the niches where systemd could not get it's foot down to profit (more easily) from the
@@ -21,8 +21,8 @@ freebsd.
21
21
For now this project is just out of interest how far I could come with this
22
22
and what would be needed to get a somewhat working system. It is very much a proof of concept / work in progress. For the love of god do not use this
23
23
in anything that is important.
24
-
It does look somewhat promising, the core parts are "working" (not thoroughly tested) but there is a lot of cleanup to be done. There is a whole lot of unwrap() calling
25
-
where error handling should be done properly. It would be a bit unhelpful if your service-manager starts panicing.
24
+
25
+
It does look somewhat promising, most needed features are there. There are a lot of tests missing and more care needs to be taken so that rustysd itself never panics.
26
26
27
27
### Short intro to systemd / rustysd
28
28
Systemd/rustysd operate on so called "units". These are smallish separate entities in the system like a single service. These units can be handled independently but
@@ -40,7 +40,6 @@ What is explicitly in scope of this project
40
40
1. Startup sorted by dependencies (parallel if possible for unrelated units)
41
41
1. Startup synchronization via *.target units
42
42
1. Socket activation of services
43
-
1. Kill services that have dependencies on failed services
44
43
45
44
What is explicitly out of scope (for now, this project is still very young):
46
45
1. Timers (Cron should do fine for 99% of usecases)
@@ -53,9 +52,9 @@ What is explicitly out of scope (for now, this project is still very young):
I dont think it is viable for a cross-platform project to support slices. In general I think it would be more sensible to put that weight on other tools.
55
+
I dont think it is viable for a cross-platform project to support slices. In general I think it would be more sensible to put that responsibility on other tools.
57
56
58
-
I imagine something along the lines of dockers 'runc' but maybe not specialized to the container environment. Let's call the imaginary tool 'restrict', the usage I
57
+
I imagine something along the lines of dockers 'runc' but not specialized to the container environment. Let's call the imaginary tool 'restrict', the usage I
@@ -94,7 +93,7 @@ to write a compatibility shim if an equivalents exist on the target platform. It
94
93
1. setting the current process as a subprocess reaper (might not be that important, other platforms might handle reparenting of orphaned processes differently than unix)
95
94
1. changing the user id to drop privileges
96
95
1. an implementation of getpwnam_r and getgrnam_r. These can be swapped for getpwnam/getgrnam if needed
97
-
* They can also be ignored, restricting the values of User, Group, and SupplementaryGroups to numerical values
96
+
* They could also be ignored, restricting the values of User, Group, and SupplementaryGroups to numerical values
98
97
99
98
## What works
100
99
This section should be somewhat up to date with what parts are (partly?) implemented and (partly?) tested. If you find anything does actually not work
0 commit comments