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

init: set the HOME env var if root #92

Closed
wants to merge 1 commit into from
Closed

Conversation

matttbe
Copy link
Contributor

@matttbe matttbe commented Mar 14, 2024

When virtme-ng was running as root, the HOME dir was set to '/'.

Now it is set to '/root', the expected value.

Fixes: bcd99d9 ("virtme-init: docker host support")

Note: this PR depends on arighi/virtme-ng-init#7

When virtme-ng was running as root, the HOME dir was set to '/'.

Now it is set to '/root', the expected value.

Fixes: bcd99d9 ("virtme-init: docker host support")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
@arighi
Copy link
Owner

arighi commented Mar 15, 2024

This has been already applied by updating the virtme-ng-init module (sorry I missing this PR...). Closing for now, thanks.

@arighi arighi closed this Mar 15, 2024
@matttbe
Copy link
Contributor Author

matttbe commented Mar 15, 2024

Thank you for having merged the other PR. But I think you missed the updated of the old init script.

I can rebase and re-open a new one.

@arighi
Copy link
Owner

arighi commented Mar 15, 2024

Ah you're right! Yes, please, if you can rebase I'll apply this one as well. Thanks!

@matttbe
Copy link
Contributor Author

matttbe commented Mar 15, 2024

All good, done in #94

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