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 environment variable"
                                " not set, needed for --gnupghome=`%s"
                                % opts.gnupghome)

Well the result would be the same if $HOME is not defined but at least
it would fail nicely

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Medium

** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1065873/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to