-
Notifications
You must be signed in to change notification settings - Fork 355
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
problem with non root user #2298
Labels
kind/bug
Something isn't working
Comments
it seems that sudo requires the password which is not provided. Line 195 in f07e804
maybe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happen?
i'm trying to install k8s. if i let
--user
be root everything goes well, however if i let user be non root the process will fail, andsu
doesn't solve the problemRelevant log output?
[ERROR] [root.go:75] sealer-v0.11.0: failed to detect rootfs cache /var/lib/sealer/data/my-cluster/rootfs/cache/image/1e08f61a9b71299e05ede5884a96e0e15c4554b6974432960e73ddafabfc3074 on host 192.168.195.22: failed to new sftp client of host(192.168.195.22): failed to execute cmd(sudo grep -oP "Subsystem\s+sftp\s+\K.*" /etc/ssh/sshd_config): Process exited with status 1
What you expected to happen?
success
How to reproduce it (as minimally and precisely as possible)?
sudo sealer run docker.io/sealerio/kubernetes:v1-22-15-sealerio-2 --masters 192.168.195.22 -u user -p passwd
Anything else we need to know?
No response
What is the version of Sealer you using?
0.11.0
What is your OS environment?
Ubuntu 22.04.2 LTS
What is the Kernel version?
Linux 5.15.90.1-microsoft-standard-WSL2
Other environment you want to tell us?
No response
The text was updated successfully, but these errors were encountered: