[Bug 1384417] Re: Running adt-run without root installs the click for all users

Launchpad Bug Tracker 1384417 at bugs.launchpad.net
Thu Nov 27 18:50:13 UTC 2014


This bug was fixed in the package autopkgtest - 3.8.1

---------------
autopkgtest (3.8.1) unstable; urgency=medium


  * If the testbed does not have root privileges (e. g. missing sudo
    password), install click packages with pkcon and skip the AppArmor rule
    adjustment. This makes non-root click tests at least work for
    non-Autopilot cases. (LP: #1384417)
  * Make --shell-fail also apply to test dependency installation failure.
  * Run root tests through "su" as well (if possible), to ensure that these
    also get a proper PAM/logind session with all runners. (LP: #1393474)
  * Skip the test_tmp_install tests if apt-get download does not work. This
    might happen in some build environments which completely disable
    networking or don't have working apt-get download for some reason.
    (Closes: #769687)
  * Don't put the log FIFO into the output directory. This avoids keeping it
    in --output-dir, which fails if the output dir happens to be in the tested
    tree itself. (LP: #1393426)
  * adt-setup-vm: Don't purge man-db. It uninstalls way too much on images
    which aren't just minimal environments.
  * adt-setup-vm: Drop bogus "X-Start-Before" line in generated init.d script.
    (Closes: #770517)
  * Respect DEB_BUILD_OPTIONS=nocheck (side issue in #769687)

 -- Martin Pitt <mpitt at debian.org>  Thu, 27 Nov 2014 10:54:02 +0100

** 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/1384417

Title:
  Running adt-run without root installs the click for all users

Status in “autopkgtest” package in Ubuntu:
  Fix Released

Bug description:
  If you run:

  adt-run ubuntu-clock-app/ --click com.ubuntu.clock_3.2.158_armhf.click
  --- ssh -s adb

  for instance, you get this error:

  Cannot install /tmp/adt-run.ixZeib/com.ubuntu.clock_3.2.158_armhf.click: Cannot acquire permission to write to /opt/click.ubuntu.com; either run as root with --user, or use "pkcon install-local" instead
  adt-run [21:18:00]: ERROR: unexpected error: click install failed with status 1

  adt-run must be run with "-- -p password" to allow the click to be installed, instead.
  If we don't have root the click shouldn't be installed for all users.

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



More information about the foundations-bugs mailing list