-
Notifications
You must be signed in to change notification settings - Fork 160
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
sys/devices/virtual/dmi/id/product_uuid: permission denied in ubuntu multipass environment #610
Comments
@andreasvh-conceto, thanks for the detailed description. As you pointed out, we fixed this issue a couple of months ago as part of #439, but unfortunately we haven't published a new release containing these changes yet. You can either build Sysbox from sources, or alternatively, I could provide you with a pre-release image (please login to our slack channel for the logistics). |
Hi @rodnymolina thanks for your quick reply. We tried to build the sysbox by doing the following in the multipass environment (arm architecture):
Error:
mkdircommand seems to fail. Any idea? Thanks again for ideas. |
Hi @andreasvh-conceto, that error looks like issue 596; what Linux kernel version does the host have? |
Hi @ctalledo thx for the referenced issue. kernel version is: As mentioned above it is a multipass instance with the docker template. We did not update the kernel. :) |
Hi @andreasvh-conceto, it's likely the same issue then ( The work-around is to configure Sysbox to not use shiftfs, by configuring the systemd service unit for the |
@andreasvh-conceto, you're reproducing issue #596, I forgot to mention that yesterday (I reproduced it in my multipass setup too). Just change your
|
@ctalledo @rodnymolina thanks for your workaround. The file Are there any plans for an official release in the next time related to the initial already fixed issue? Would be great :) Thanks a lot! |
@andreasvh-conceto, yes, we are planning to release v0.6.0 in February. Will close this issue now. Please let us know if have any other question. |
Hello,
currently we are facing the issue, that sysbox is not running in an ubuntu multipass environment. We can not start any container with sysbox runtime.
Error:
I saw a similiar issue 405 here which seemed to be fixed inside issue 439. On my machine in the multipass environment the product id is also not set. So
ls -l /sys/devices/virtual/dmi/id/product_uuid
gives me nothing. Inserting it manually is not possible - also permission denied.How to reproduce?
Install multipass:
for macos
brew install --cask multipass
for linux see here
Launch a docker multipass instance (adjust the mem or disk storage as you wish for this instance):
multipass launch docker --disk 40G --mem 8G --cpus 4 --name ubuntu
Access the shell
multipass shell ubuntu
install sysbox:
docker run --runtime=sysbox-runc --rm -it --hostname my_cont registry.nestybox.com/nestybox/ubuntu-bionic-systemd-docker
Expected behaviour: Container starts without error
Acutal behaviour: Running into error:
sys/devices/virtual/dmi/id/product_uuid: permission denied: unknown.
My multipass machine specs:
My machine specs:
Darwin MacBook-Pro.fritz.box 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103 arm64
My multipass isntance specs:
Any ideas for a workaround?
Thanks and best regards
Andreas
The text was updated successfully, but these errors were encountered: