[Bug 2078583] Re: unminimize script missing in 24.04

Launchpad Bug Tracker 2078583 at bugs.launchpad.net
Thu Dec 5 09:56:51 UTC 2024


This bug was fixed in the package livecd-rootfs - 24.04.81

---------------
livecd-rootfs (24.04.81) noble; urgency=medium

  * Introduce unminimize as a package in OCI images. (LP: #2078583)

livecd-rootfs (24.04.80) noble; urgency=medium

  * Explicitly create home directory for buildd system user to avoid issues
    with installing and running snaps. (LP: #2083240)

 -- Utkarsh Gupta <utkarsh at ubuntu.com>  Wed, 20 Nov 2024 15:43:55 +0530

** Changed in: livecd-rootfs (Ubuntu Noble)
       Status: Fix Committed => Fix Released

-- 
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/2078583

Title:
  unminimize script missing in 24.04

Status in livecd-rootfs:
  New
Status in Ubuntu Docker Images:
  New
Status in livecd-rootfs package in Ubuntu:
  Invalid
Status in livecd-rootfs source package in Noble:
  Fix Released

Bug description:
  [SRU]
  =====

  [Impact]
  `unminimize` was at one point available/already installed in noble (24.04) OCI images, but since the move to "split it out" from `livecd-rootfs` it is no longer installed and is causing issues for some users. This is technically a regression, therefore we will reintroduce it to noble (only).

  [Test Case]

  Using the proposed branch, artefacts will be built and inspected to validate that `unminimize` is indeed now present in the images. Other users have also kindly provided their workflows here which we can also use as verification. The following will be run:
  ```
  RUN set -eux \
      && /usr/local/sbin/unminimize
  ```

  Additionally, the man pages should be now be present in the container
  (as a result of unminimize being run).

  If the above runs successfully, we can consider verification done.

  [Vendored Dependencies]

  N/A

  [Where Problems Could Occur]

  The biggest possible issue has already been mitigated (by symlinking
  the newly installed `/usr/bin/unminimize` to
  `/usr/local/sbin/unminimize`; therefore making this change transparent
  to current users). Other issues could possibly stem from the
  `unminimize` package itself. However, `unminimize` is is `main` and as
  such is subject to the thorough testing/ownership/etc. so we can
  assume the package is good.

  [Other Information]

  The SRU bug is _only_ for noble - the `unminimize` package has been
  entirely split out from `livecd-rootfs` in all releases noble+.
  However this has caused a regression to some users as this bug shows.
  Therefore `unminimize` is being reintroduced to noble but will remain
  separate (i.e. not pre-installed) in releases going forward.

  === Original bug ===

  The unminimize script seems to be missing from the latest 24.04 image,
  it was there previously:

  xxx at xxx:~$ docker run --pull=always --rm -it public.ecr.aws/lts/ubuntu:24.04
  24.04: Pulling from lts/ubuntu
  Digest: sha256:e6e66381e1ded976f2cdb0e87d1fe820710aff3ac7800bf252e8a0deeca0f135
  Status: Image is up to date for public.ecr.aws/lts/ubuntu:24.04
  root at d7dd66dec218:/# cat /etc/update-motd.d/60-unminimize
  #!/bin/sh
  #
  # This file is not managed by a package.  If you no longer want to
  # see this message you can safely remove the file.
  echo ""
  echo "This system has been minimized by removing packages and content that are"
  echo "not required on a system that users do not log into."
  echo ""
  echo "To restore this content, you can run the 'unminimize' command."
  root at d7dd66dec218:/# unminimize
  bash: unminimize: command not found

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




More information about the foundations-bugs mailing list