I replaced the whole code block with os.path.expanduser() which also
gets along without $HOME.
** Changed in: autopkgtest (Ubuntu)
Status: Triaged = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Branch linked: lp:debian/autopkgtest
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1065873
Title:
crashes in chroot with no HOME set
To manage notifications about this bug go to:
** Branch linked: lp:ubuntu/saucy-proposed/autopkgtest
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1065873
Title:
crashes in chroot with no HOME set
To manage notifications about this bug go to:
This bug was fixed in the package autopkgtest - 2.3
---
autopkgtest (2.3) unstable; urgency=low
* runner/adt-run.1: Fix bad affect modify wording. (LP: #1199500)
* Drop hosts/chinstrap. We haven't actually used this in many years, it has
been replaced with
Thanks for your report.
The error handling code is indeed broken, parser is not defined in this scope
in runner/adt-run:
if opts.gnupghome.startswith('~/'):
try: home = os.environ['HOME']
except KeyError:
parser.error(HOME
Proposition:
--- a/runner/adt-run
+++ b/runner/adt-run
@@ -733,7 +733,7 @@ def finalise_options():
if opts.gnupghome.startswith('~/'):
try: home = os.environ['HOME']
except KeyError:
- parser.error(HOME environment variable
+