Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: chmod not implemented with overlayfs #49

Open
Sohalt opened this issue Jul 5, 2022 · 4 comments
Open

error: chmod not implemented with overlayfs #49

Sohalt opened this issue Jul 5, 2022 · 4 comments

Comments

@Sohalt
Copy link
Contributor

Sohalt commented Jul 5, 2022

When trying to use a writeableStoreOverlay I get errors like: error: chmod '/nix/store/as1xzrm2921pnxx4jvxj39jn4v88wdy1-gcc-11.3.0': Function not implemented.

Any idea why that is happening?

@astro
Copy link
Owner

astro commented Jul 5, 2022

Store is a volume, not a share (which doesn't work), right? What filesystem is the volume?

@Sohalt
Copy link
Contributor Author

Sohalt commented Jul 6, 2022

Yes, store is a volume with ext4 (defaults).

@Sohalt
Copy link
Contributor Author

Sohalt commented Jul 6, 2022

The error shows up with cloud-hypervisor using virtiofsd to share the host store. Using a different hypervisor and 9p works.
The issue is probably due to https://lore.kernel.org/lkml/4B9D76D5-C794-4A49-A76F-3D4C10385EE0@kohlschutter.com/

@astro
Copy link
Owner

astro commented Jul 8, 2022

Thanks for doing the research!

To close this and #43 we have to document which hypervisor/virtiofs/9p combinations are usable for the store overlay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants