[Bug 1065873] Re: crashes in chroot with no HOME set

2013-07-19 Thread Martin Pitt
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.

[Bug 1065873] Re: crashes in chroot with no HOME set

2013-07-19 Thread Launchpad Bug Tracker
** 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:

[Bug 1065873] Re: crashes in chroot with no HOME set

2013-07-19 Thread Launchpad Bug Tracker
** 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:

[Bug 1065873] Re: crashes in chroot with no HOME set

2013-07-19 Thread Launchpad Bug Tracker
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

[Bug 1065873] Re: crashes in chroot with no HOME set

2012-10-12 Thread Jean-Baptiste Lallement
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

[Bug 1065873] Re: crashes in chroot with no HOME set

2012-10-12 Thread Jean-Baptiste Lallement
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 +