man: explicitly say the NSS is not OK in generators
Inspired by: #44112 (cherry picked from commit 54b24a3855de37e5e19235c44acd113eb6ce6830)
This commit is contained in:
committed by
Luca Boccassi
parent
d5999b66a2
commit
b17f8cd9cc
@@ -259,8 +259,10 @@
|
||||
<listitem>
|
||||
<para>Generators are run very early at boot and cannot rely on any external services. They may not
|
||||
talk to any other process. That includes simple things such as logging to <citerefentry
|
||||
project='man-pages'><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>, or
|
||||
<command>systemd</command> itself (this means: no
|
||||
project='man-pages'><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
|
||||
<citerefentry
|
||||
project='man-pages'><refentrytitle>nss</refentrytitle><manvolnum>5</manvolnum></citerefentry> calls
|
||||
such as <function>getpwnam()</function>, or IPC calls to <command>systemd</command> itself (this means: no
|
||||
<citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>)!
|
||||
Non-essential file systems like <filename>/var/</filename> and <filename>/home/</filename> are
|
||||
mounted after generators have run. Generators can however rely on the most basic kernel functionality
|
||||
|
||||
Reference in New Issue
Block a user