Skip to content
Discussion options

You must be logged in to vote

After some digging with the help of @giuseppe (thanks a lot) I could solve the problem.

Problem:
The problem was NOT podman or some Kernel configs. The real problem was that I have used an intitramfs with an init script that created a tmpfs overlay over the rootfs which used chroot to switch to the newly setuped rootfs. Unfortunately chroot does not work properly with linux mount namespaces. Thus the later errors.

Solution:
I just had to replace chroot with switch_root and everything worked as expected.

Some background info can be found here:

Replies: 3 comments 20 replies

Comment options

You must be logged in to vote
8 replies
@mwopfner
Comment options

@giuseppe
Comment options

@mwopfner
Comment options

@mwopfner
Comment options

@giuseppe
Comment options

Comment options

You must be logged in to vote
12 replies
@mwopfner
Comment options

@mwopfner
Comment options

@giuseppe
Comment options

@mwopfner
Comment options

@mwopfner
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mwopfner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants