PR #41776 introduced the io.systemd.StorageProvider Varlink interface and two backends ('block' exposes host block devices, 'fs' exposes regular files / dirs / subvolumes under /var/lib/storage), plus the storagectl(1) CLI to enumerate them. The only consumer so far was mount.storage. This series wires up the first of the three integrations called out in TODO.md: systemd-vmspawn --bind-volume=PROVIDER:VOLUME[:CONFIG][:K=V,...] Boot-time attach. Drives added this way are immutable at runtime. io.systemd.MachineInstance.AddStorage / .RemoveStorage Two new generic methods on the per-machine control socket. vmspawn implements them (this series); systemd-nspawn will reuse the same methods later. machinectl bind-volume MACHINE PROVIDER:VOLUME[:CONFIG][:K=V,...] machinectl unbind-volume MACHINE PROVIDER:VOLUME Runtime hotplug front-end: machinectl Acquire()s the fd locally and pushes it across to the target machine's MachineInstance socket. Volumes are identified by a user-visible name "<provider>:<volume>" (e.g. "block:/dev/sda"). The 3rd 'config' field is opaque to the shared layer and interpreted per backend — vmspawn maps it to a DiskType from disk_type_table[] (virtio-blk default, virtio-scsi, nvme, scsi-cd; same vocabulary as --extra-drive); future nspawn will read it as a mount path.
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
