[Bug 1835846] [NEW] include dmsetup in core snaps

Steve Langasek steve.langasek at canonical.com
Mon Jul 8 23:52:44 UTC 2019


Public bug reported:

[Justification]
The dmsetup package includes udev rules that are essential for any system using device mapper, which includes any system using crypsetup; and we want to support full-disk encryption in Ubuntu Core.

[Test case]
Do a livefs build test with PROJECT=ubuntu-core SUBPROJECT=system-image EXTRA_PPAS='snappy-dev/image snappy-dev/edge' IMAGEFORMAT=plain to confirm that the build succeeds.  All other CI will be handled downstream of the livecd-rootfs SRU as part of the snap build and publication process.

[Regression potential]
This adds a further package into the core and core16 snaps, which will increase the size.  The size increase is only marginal (~230KiB uncompressed), but may still adversely impact some installs by pushing the snap size over some limit.

This also changes the boot-time behavior of udev by introducing new udev
rules.  These rules are well-tested and should only have effect on a
system which is configured to create device-mapper devices, which is not
going to be the case for a stock Ubuntu Core system; however, some risk
of regression exists.

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  include dmsetup in core snaps

Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  [Justification]
  The dmsetup package includes udev rules that are essential for any system using device mapper, which includes any system using crypsetup; and we want to support full-disk encryption in Ubuntu Core.

  [Test case]
  Do a livefs build test with PROJECT=ubuntu-core SUBPROJECT=system-image EXTRA_PPAS='snappy-dev/image snappy-dev/edge' IMAGEFORMAT=plain to confirm that the build succeeds.  All other CI will be handled downstream of the livecd-rootfs SRU as part of the snap build and publication process.

  [Regression potential]
  This adds a further package into the core and core16 snaps, which will increase the size.  The size increase is only marginal (~230KiB uncompressed), but may still adversely impact some installs by pushing the snap size over some limit.

  This also changes the boot-time behavior of udev by introducing new
  udev rules.  These rules are well-tested and should only have effect
  on a system which is configured to create device-mapper devices, which
  is not going to be the case for a stock Ubuntu Core system; however,
  some risk of regression exists.

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



More information about the foundations-bugs mailing list