nixos/systemd: enable systemd-pstore.service
As described in issue #81138, the Install section of upstream units is currently ignored, so we make it part of the sysinit.target manually.
This commit is contained in:
@@ -1035,6 +1035,12 @@ environment.systemPackages = [
|
||||
</programlisting>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The newly enabled <literal>systemd-pstore.service</literal> now automatically evacuates crashdumps and panic logs from the persistent storage to <literal>/var/lib/systemd/pstore</literal>.
|
||||
This prevents NVRAM from filling up, which ensures the latest diagnostic data is always stored and alleviates problems with writing new boot configurations.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user