Systemd Introduces A New & Practical Service For Dealing With PStore
Written by Michael Larabel in systemd on 20 July 2019 at 11:29 AM EDT. 36 Comments
Adding to the list of new features for systemd 243 is another last-minute addition to this growing init system... Systemd picked up a new service and while some may view it as bloat, should be quite practical at least for those encountering kernel crashes from time to time.

Linux for several years now has offered a Pstore file-system that maps to persistent storage for recording kernel panics/errors and other debug logs that can be retained when a kernel crashes or system reboot happens and other behavior where normally all information is lost.

That persistent storage is on motherboards in the form of memory for UEFI variables or ACPI ERST and generally very small (circa 64K). So only the very latest debug information can be stored and if you don't archive it quickly can be wiped out. What systemd now has is a Pstore service to back-up this data from pstore to the disk.

Systemd's Pstore service will now archive the information from /sys/fs/pstore to /var/lib/systemd/pstore in order to preserve that information and allow the space for logging future errors. Of course, hopefully your system isn't hitting kernel panics so often, but if you habitually use Linux Git or are a kernel developer, often dealing with finicky hardware, etc, this Pstore back-up service may prove quite handy.

More details on the systemd Pstore service via this commit. This new service will be found in the upcoming systemd 243 release.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week