Add io.systemd.Basic.OSRelease metric families that reports select fields from os-release. $ cat /etc/os-release NAME="Fedora Linux" VERSION="45 (Cloud Edition Prerelease)" RELEASE_TYPE=development ID=fedora VERSION_ID=45 VERSION_CODENAME="" PRETTY_NAME="Fedora Linux 45 (Cloud Edition Prerelease)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:45" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=rawhide SUPPORT_END=2027-11-24 VARIANT="Cloud Edition" VARIANT_ID=cloud $ varlinkctl call --more ./build/systemd-report-basic io.systemd.Metrics.List {} | jq --seq -c ... {"name":"io.systemd.Basic.OSRelease.NAME","value":"Fedora Linux 44 (Workstation Edition)"} {"name":"io.systemd.Basic.OSRelease.ID","value":"fedora"} {"name":"io.systemd.Basic.OSRelease.CPE_NAME","value":"cpe:/o:fedoraproject:fedora:44"} {"name":"io.systemd.Basic.OSRelease.VARIANT_ID","value":"workstation"} {"name":"io.systemd.Basic.OSRelease.VERSION_ID","value":"44"} {"name":"io.systemd.Basic.OSRelease.SUPPORT_END","value":"2027-05-19"} I picked the fields that contain useful information about the specific version/image/variant/experiment/flavour of the system. Also, either NAME or PRETTY_NAME is included. This one is intended for human readers to be able to identify the OS version easily.
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, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS, and also repositories with packages built from the latest stable release
