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

Ɓukasz Zemczak 1807750 at bugs.launchpad.net
Thu Dec 13 15:13:25 UTC 2018


Thanks Rob! I have incorporated your fix in our github branch and
prepared the upload. This should land in xenial-proposed soon (I hope).

** Description changed:

- The launchpad builders do not have 'sudo' installed by default.  When
- attempting to verify bug #1799736 I found that the build would fail when
- 'sudo' could not be found.  The python3-ubuntu-image package should
- depend on 'sudo'
+ [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).

-- 
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:
  Confirmed

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