[Bug 2072699] [NEW] SRU: add a postinst script to rm livecd-rootfs' unminimize

Utkarsh Gupta 2072699 at bugs.launchpad.net
Wed Jul 10 20:58:39 UTC 2024


Public bug reported:

[ Impact ]

Right now, livecd-rootfs ships an unminimize script in
/usr/local/sbin/unminimize. With unminimize now separately packaged and
available in Noble+, we'd like to ensure there's only 1 unminimize
script installed in a cloud image or a ubuntu-server minimal setup. This
means, we'd like to drop the unminimize that is being shipped via
livecd-rootfs.

[ Test Plan ]

Build cloud and server minimal image and confirm there's only unminimize
in /usr/bin/unminimize and not in /usr/local/sbin/unminimize.

[ Where problems could occur ]

The problems could occur if the user has their own set up in
/usr/local/sbin/unminimize or if we accidentally delete something in
/usr/local/* but we try and take care of this edge case by grepping a
string in the unminimize script and only then delete the file.

** Affects: unminimize (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: unminimize (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: unminimize (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: unminimize (Ubuntu)
       Status: New => Fix Released

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

Title:
  SRU: add a postinst script to rm livecd-rootfs' unminimize

Status in unminimize package in Ubuntu:
  Fix Released
Status in unminimize source package in Noble:
  New

Bug description:
  [ Impact ]

  Right now, livecd-rootfs ships an unminimize script in
  /usr/local/sbin/unminimize. With unminimize now separately packaged
  and available in Noble+, we'd like to ensure there's only 1 unminimize
  script installed in a cloud image or a ubuntu-server minimal setup.
  This means, we'd like to drop the unminimize that is being shipped via
  livecd-rootfs.

  [ Test Plan ]

  Build cloud and server minimal image and confirm there's only
  unminimize in /usr/bin/unminimize and not in
  /usr/local/sbin/unminimize.

  [ Where problems could occur ]

  The problems could occur if the user has their own set up in
  /usr/local/sbin/unminimize or if we accidentally delete something in
  /usr/local/* but we try and take care of this edge case by grepping a
  string in the unminimize script and only then delete the file.

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




More information about the foundations-bugs mailing list