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

Make buildah and podman work in jammy64 (fixes #3042, #3043) #3044

Merged
merged 3 commits into from
Apr 24, 2022

Conversation

dimkr
Copy link
Contributor

@dimkr dimkr commented Apr 19, 2022

Various development tools run containers, and it's good to have stuff like https://github.com/89luca89/distrobox working on Puppy.

apt install -y podman && run-as-spot podman run --rm -it alpine:3.15 works:

podman1
podman2

This is not perfect, some things are still broken or spit errors/warnings. But this PR fixes 80% of the big problems, with minimum changes. Should work well

EDIT: one thing is still problematic, for some reason /dev/net is 600 and spot can't access /dev/net/tun

@dimkr dimkr requested a review from 01micko April 19, 2022 19:39
@dimkr dimkr marked this pull request as ready for review April 20, 2022 08:19
*) continue ;;
esac
[ -z "$F7" ] && continue #precaution
# mknod: /dev/net/tun: No such file or directory
[ ! -d ${F2%/*} ] && mkdir -p -m $F3 ${F2%/*}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huge bug in this line. If /dev/net/tun is missing and needs to be 666, but /dev/net is missing, the latter should be 755 and not 666. Otherwise, spot can't ls /dev/net and /dev/net/tun is inaccessible.

@dimkr dimkr merged commit 66fb3fe into puppylinux-woof-CE:testing Apr 24, 2022
@dimkr dimkr deleted the bugfix/podman branch April 24, 2022 05:56
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

Successfully merging this pull request may close these issues.

None yet

2 participants