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

Launchpad Bug Tracker 1065873 at bugs.launchpad.net
Fri Jul 19 17:40:09 UTC 2013


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 https://launchpad.net/auto-package-testing, Jenkins,
    and blocking migration to release until tests pass. (LP: #381210)
  * Promote apt-utils from Recommends to Depends:, to avoid test failures due
    to not finding apt-ftparchive. (LP: #1065874)
  * Promote pbuilder from Recommends: to Depends:, as we always call
    pbuilder-satisfydepends-classic. (LP: #1065874)
  * runner/adt-run: Stop explicitly checking for $HOME (with broken error
    message) when giving --gnupg-home, use os.path.expanduser() instead.
    (LP: #1065873)
  * runner/adt-run: Fix timeout --help output.
  * runner/adt-run: Fix bomb() to clean up the testbed before removing it.
    Afterwards (in cleanup()) we don't have a testbed object any more to run
    commands in. (LP: #1157292)
  * runner/adt-run: Fix UnicodeDecodeError crash if stderr contains non-ASCII
    characters. (LP: #1100283)
  * Add "allow-stderr" restriction for tests where re-routing or disabling
    stderr is impractical. (LP: #1197005)
  * runner-adt-run: Support architecture specifiers in Depends: field.
    (LP: #1165128)
  * runner/adt-run: Remove/fix some unused variables, spotted by pyflakes.

 -- Martin Pitt <mpitt at debian.org>  Fri, 19 Jul 2013 11:58:15 +0200

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1065873

Title:
  crashes in chroot with no HOME set

Status in “autopkgtest” package in Ubuntu:
  Fix Released

Bug description:
  In a pbuilder chroot it crashes without HOME set:

  # adt-run --no-built-binaries --built-tree=. --- adt-virt-null
  adt-run: trace: ** init
  adt-run: trace: ** start
  adt-run: trace: $ vserver: adt-virt-null
  adt-run: unexpected, exceptional, error:
  Traceback (most recent call last):
    File "/usr/bin/adt-run", line 1881, in main
      finalise_options()
    File "/usr/bin/adt-run", line 736, in finalise_options
      parser.error("HOME environment variable"
  NameError: global name 'parser' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1065873/+subscriptions




More information about the foundations-bugs mailing list