sigsteve / vagrant-caasp

Vagrant deployment of SUSE CaaS Platform (Kubernetes) v4.5
31 stars 15 forks source link

Need subuid/subgid set for podman to work rootless #73

Closed alexarnoldy closed 5 years ago

alexarnoldy commented 5 years ago

This needs to be added so podman will work as a non-root users (rootless in the docs): usermod -v 10000000-20000000 -w 10000000-20000000 sles

alexarnoldy commented 5 years ago

BTW, I found that the subuid/subgid entries that were in place for the user sles didn't work. I didn't try the user vagrant.

Here's the contents of the files, now that the user sles on master-1 can execute podman without error: sles@caasp4-master-1:~> grep -v suse /etc/sub*id /etc/subgid:vagrant:100000:65536 /etc/subgid:sles:10000000:10000001 /etc/subuid:vagrant:100000:65536 /etc/subuid:sles:10000000:1000000

I will propagate those files to the other nodes and ensure they work as well.