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

kyua fails to start with a non-existing homedir #204

Open
nbraud opened this issue Jul 18, 2019 · 0 comments
Open

kyua fails to start with a non-existing homedir #204

nbraud opened this issue Jul 18, 2019 · 0 comments

Comments

@nbraud
Copy link

nbraud commented Jul 18, 2019

I'm currently packaging kyua for Debian (as a test dependency of pkgconf), and I noticed that kyua hard aborts when the current homedir does not exist; this is the case in one of the Debian build sandboxes, sbuild, which sets HOME=/sbuild-nonexistent.

This would make things much easier if kyua didn't needlessly abort under such conditions.
Alternatives include:

  • not saving logs when the homedir is inexistent/not-writeable;
  • using a temporary directory if ~/.kyua isn't available.
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

1 participant