Code Monkey home page Code Monkey logo

Comments (4)

ChenQi1989 avatar ChenQi1989 commented on August 14, 2024

I have seen different behaviors regarding this /var/tmp/mantle-qemuXXXX/swtpm-sock. Very strange.
I have three hosts.
Host 1) The error is as above.
Host 2) No error.
Host 3) No error at first, then I recreated /var/tmp to be a symlink to /data/var/tmp. The similar error appeared.

All hosts are Ubuntu 22. And /var/tmp & /data/var/tmp have permission 1777.

How I could further check this issue?

from coreos-assembler.

ChenQi1989 avatar ChenQi1989 commented on August 14, 2024

Even if I remove the '-v=/var/tmp:/var/tmp', I still get the same error. So the problem seems irrelevant with the host /var/tmp.

  • podman run --rm -ti --security-opt=label=disable --privileged --uidmap=1000:0:1 --uidmap=0:1:1000 --uidmap=1001:1001:64536 -v=/home/chenqi/projects/Fedora-Co
    reOS/fcos:/srv/ --device=/dev/kvm --device=/dev/fuse --tmpfs=/tmp --name=cosa quay.io/coreos-assembler/coreos-assembler:latest build

from coreos-assembler.

ChenQi1989 avatar ChenQi1989 commented on August 14, 2024

OK. I think I found the root cause.
The problem is about the usr.bin.swtpm apparmor profile.

Solution:
sudo ln -s /etc/apparmor.d/usr.bin.swtpm /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/disable/usr.bin.swtpm

from coreos-assembler.

ChenQi1989 avatar ChenQi1989 commented on August 14, 2024

In case other people are seeing the same issue, please see above comments.

from coreos-assembler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.