← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1713169] Re: Remove wrong dependency on initramfs-tools

 

This bug was fixed in the package apparmor - 2.10.95-0ubuntu2.7

---------------
apparmor (2.10.95-0ubuntu2.7) xenial; urgency=medium

  * Remove initramfs-tools from the dependencies; this isn't used and the
    dependency has been dropped in later releases.  LP: #1713169.

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Fri, 25 Aug 2017
16:54:53 -0700

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

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1713169

Title:
  Remove wrong dependency on initramfs-tools

Status in apparmor package in Ubuntu:
  Fix Released
Status in apparmor source package in Xenial:
  Fix Released

Bug description:
  [SRU Justification]
  In xenial and earlier, apparmor depends on initramfs-tools.  In zesty and later, this dependency has been dropped, as explained in the Debian changelog for 2.9.0-3+exp1 and merged into Ubuntu in 2.10.95-4ubuntu1:

    * Drop dependency from apparmor on initramfs-tools: the early modules
      loading code that needed it was removed a while ago (Closes: #771240).

  This is a wrong dependency in xenial as well, which also includes no
  early boot code.  We should drop this dependency, to support building
  of images with initramfs-tools removed for systems that we know don't
  require an initramfs.

  [Test case]
  1. On a xenial default chroot/container install, try to run 'sudo apt purge initramfs-tools'.
  2. Verify that this tries to remove apparmor.
  3. Cancel the removal.
  4. Install apparmor from xenial-proposed.
  5. Run 'sudo apt purge initramfs-tools' again.
  6. Verify that apparmor is not removed.

  [Regression Potential]
  If apparmor were somehow using initramfs-tools without it being obvious from the package contents, then removing initramfs-tools from the dependencies could in some rare corner cases cause misbehavior of the system.  However, there are currently no Ubuntu images or stock system installs which do not pull in initramfs-tools by other paths (e.g. by way of the kernel packages) so this risk is minimal.

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


References