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

Missing $HOME in env #108

Closed
babykart opened this issue Sep 28, 2019 · 3 comments
Closed

Missing $HOME in env #108

babykart opened this issue Sep 28, 2019 · 3 comments

Comments

@babykart
Copy link

$HOME is a missing environment variable in running container with crun:

podman run --name bb -ti docker.io/library/busybox sh
/ # env
HOSTNAME=77fcb215cce2
SHLVL=1
container=podman
TERM=xterm
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/

With runc:

 podman run --name bb -ti docker.io/library/busybox sh
/ # env
HOSTNAME=7913850b674c
SHLVL=1
HOME=/root
container=podman
TERM=xterm
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/
@giuseppe
Copy link
Member

there is already an opened PR: #104

Do you have any chance to try it out and confirm it solves the issue you are seeing?

@babykart
Copy link
Author

I confirm: the patch 1c87552 fix the issue.

@rhatdan
Copy link
Member

rhatdan commented Sep 29, 2019

Since I merged the FIX PR. Closing.

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

No branches or pull requests

3 participants