[Bug 1807750] Re: Use of 'sudo' without dependency on 'sudo' package

Ɓukasz Zemczak 1807750 at bugs.launchpad.net
Fri Jan 11 11:16:00 UTC 2019


Confirmed that python3-ubuntu-image 1.6+16.04ubuntu1 now ships with the
sudo dependency:

Package: python3-ubuntu-image
Architecture: all
Version: 1.6+16.04ubuntu1
(...)
Depends: ca-certificates, dosfstools, gdisk, grub-common, livecd-rootfs (>= 2.408.24), fakeroot, mtools (>= 4.0.18-2ubuntu0), python3-attr, python3-parted, python3-pkg-resources, python3-setuptools, python3-voluptuous, python3-yaml, snapd, sudo, python3:any (>= 3.3.2-2~)


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

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

Title:
  Use of 'sudo' without dependency on 'sudo' package

Status in ubuntu-image package in Ubuntu:
  Invalid
Status in ubuntu-image source package in Xenial:
  Fix Committed

Bug description:
  [Impact]

  Recently we have backported the ubuntu-image ubuntu-core build support in livecd-rootfs in xenial. Thanks to this we are now able to build ubuntu-core 16 images using SUITE=xenial.
  Sadly, in comparison to other series, the xenial ubuntu-image has additional logic used when preparing ext4 partitions due to an old mkfs.ext4 which is missing all the needed functionality. This additional logic (or hack) requires running a `sudo cp` to copy the rootfs contents onto the partition. The launchpad builders do not have 'sudo' installed by default. When attempting to verify bug #1799736 it was found that the build would fail when 'sudo' could not be found. The python3-ubuntu-image package should depend on 'sudo'

  [Test Case]

  The best test case would be to see if ubuntu-core SUITE=xenial
  (core16) images still fail to build due to sudo not being available
  after the package lands in xenial-proposed.

  [Regression Potential]

  The change is only a dependency addition so it should not have any
  real consequences. All systems so far had sudo by default, so no users
  will see any side-effects (and those that do, they couldn't use
  ubuntu-image anyway).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-image/+bug/1807750/+subscriptions



More information about the foundations-bugs mailing list