Commit 0a1ee76
linux: fallback to receiver-side device creation when fsopen fails
When fsopen() is not available (returns ENOSYS), the host-side device
pre-creation in prepare_and_send_dev_mounts() cannot proceed since it
relies on the new mount API to create a detached tmpfs.
Instead of failing, send empty fds to the container process so that
libcrun_create_dev() falls back to its existing legacy path (bind
mounts or mknod) inside the container's mount namespace.
Closes: #2104
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>1 parent 487c9f5 commit 0a1ee76
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5440 | 5440 | | |
5441 | 5441 | | |
5442 | 5442 | | |
5443 | | - | |
| 5443 | + | |
5444 | 5444 | | |
5445 | 5445 | | |
5446 | 5446 | | |
| |||
0 commit comments