]> git.ipfire.org Git - thirdparty/systemd.git/commit
volume: add an "io.systemd.StorageProvider" IPC API that is supposed to be used by...
authorLennart Poettering <lennart@amutable.com>
Wed, 29 Apr 2026 13:51:52 +0000 (15:51 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Apr 2026 13:51:52 +0000 (15:51 +0200)
commite4e3ec811aeeef8481b66d667b8a2ed14432c02b
treee7de7a3e98895d6d4c0ac8d7499facb979de723b
parent53f7c1a8cc1536333114151da6d1385046eb83ab
parenteccfd2c97b66694ee1b7c18f47837f1dc17ea839
volume: add an "io.systemd.StorageProvider" IPC API that is supposed to be used by vmspawn/nspawn/pid1 to provide storage volumes in a generic fashion (#41776)

BindPath= in unit files, and --bind= in nspawn/vmspawn doesn't really
cut it to connect arbitrary storage infra to it. Let's do something
about it, and implement a simple, light-weight API for acquiring an fd
to a storage volume. Benefits:

1. the interface can be implemented by anyone, connecting anything to
vmspawn/nspawn/service management
2. very lose coupling: just bind a socket into a well-known dir, done
3. mounting can happen on-demand