This also fixes a memory leak in the old code. valgrind systemctl -t socket --root=/ list-unit-files >/dev/null ==2601899== Memcheck, a memory error detector ==2601899== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==2601899== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info ==2601899== Command: systemctl -t socket --root=/ list-unit-files ==2601899== ==2601899== ==2601899== HEAP SUMMARY: ==2601899== in use at exit: 39,984 bytes in 994 blocks ==2601899== total heap usage: 344,414 allocs, 343,420 frees, 2,001,612,404 bytes allocated ==2601899== ==2601899== LEAK SUMMARY: ==2601899== definitely lost: 7,952 bytes in 497 blocks ==2601899== indirectly lost: 32,032 bytes in 497 blocks ==2601899== possibly lost: 0 bytes in 0 blocks ==2601899== still reachable: 0 bytes in 0 blocks ==2601899== suppressed: 0 bytes in 0 blocks ==2601899== Rerun with --leak-check=full to see details of leaked memory ==2601899== ==2601899== For lists of detected and suppressed errors, rerun with: -s ==2601899== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.