X Tutup
Skip to content

Commit d89cde0

Browse files
committed
docs: say that various cli progs are independent of pid1
1 parent ef0bea8 commit d89cde0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/PORTABILITY_AND_STABILITY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,26 @@ If you decide to reimplement one of the APIs for which "Reimplementable independ
128128
This is not an attempt to comprehensively list all users of these APIs. We are just listing the most obvious/prominent ones which come to our mind.
129129

130130
Of course, one last thing I can't make myself not ask you before we finish here, and before you start reimplementing these APIs in your distribution: are you sure it's time well spent if you work on reimplementing all this code instead of just spending it on adopting systemd on your distro as well?
131+
132+
## Independent operation of systemd programs
133+
134+
Some programs in the systemd suite are indended to operate independently of the
135+
running init process (or even without an init process, for example when
136+
creating system installation chroots). They can be safely called on systems with
137+
a different init process or for example in package installation scriptlets.
138+
139+
The following programs currently and in the future will support operation
140+
without communicating with the `systemd` process:
141+
`systemd-escape`,
142+
`systemd-id128`,
143+
`systemd-path`,
144+
`systemd-tmpfiles`,
145+
`systemd-sysctl`,
146+
`systemd-sysusers`.
147+
148+
Many other programs support operation without the system manager except when
149+
the specific functionality requires such communication. For example
150+
`journalctl` operates almost independently, but will query the boot id when
151+
`--boot` option is used. `systemd-journal-remote`, `systemd-journal-upload`,
152+
`systemd-journal-gatewayd`, `coredumpctl`, `busctl`, `systemctl --root` also
153+
fall into this category.

0 commit comments

Comments
 (0)
X Tutup