kyua icon indicating copy to clipboard operation
kyua copied to clipboard

kyua fails to start with a non-existing homedir

Open nbraud opened this issue 5 years ago • 0 comments

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.

nbraud avatar Jul 18 '19 12:07 nbraud