Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Verifying empty rootfs: Requiring directory contains only mount points: Function not implemented (os error 38)

未关闭
#2,580 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
43/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux, rust

调研方向

Start by reading commit 1a1863b0, “install: Simplify offline deployment mounting,” and trace the empty-rootfs verification path that produces the reported error. Check whether WSL lacks the syscall used there and identify a viable fallback; done when disk image export works on WSL without that syscall while preserving the existing verification behavior.

由索引模型根据 Issue 内容生成。

描述

Just around last week, I was able to use bootc / osbuilder to create (cross-arch amd64 (host) arm64(target) ) disk images from WSL - but it seems recently there was a change in bootc and the project is using a new syscall that being used that isn't supported on WSL (yet). Claude indicates that it's likely 'open_tree' from commit 1a1863b0 — "install: Simplify offline deployment mounting" from @cgwalters

error: Installing to filesystem: Verifying empty rootfs: Requiring directory contains only mount points: Function not implemented (os error 38)
Traceback (most recent call last):
  File "/run/osbuild/bin/org.osbuild.bootc.install-to-filesystem", line 92, in <module>
    r = main(args["options"], args["inputs"], args["paths"])
  File "/run/osbuild/bin/org.osbuild.bootc.install-to-filesystem", line 84, in main
    subprocess.run(pargs, env=env, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)

This is the error that is generates now, was quite happy I was no longer starting to need a VM to do an image export, so I hope this could be fixed. I understand that bootc is development mostly done on distributions, that can likely target newer kernel features. That being said, would it be possible to probe the kernel for supported/missing syscalls, and have fall back if syscall isn't supported?

Exporting of a disk images, often the only (practical-) way of getting started before you can start pulling from the container repository.

主要语言
Rust
星标
2.3k
派生
230
平均合并
2 天 19 小时
30 天内合并 PR
42

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bootc-dev/bootc 的其他 Issue

查看 bootc-dev/bootc 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。