← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2112595] Please test proposed package

 

Hello Chloé, or anyone else affected,

Accepted gce-compute-image-packages into jammy-proposed. The package
will build now and be available at
https://launchpad.net/ubuntu/+source/gce-compute-image-
packages/20250501.00-0ubuntu1~22.04.0 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gce-compute-image-packages
in Ubuntu.
https://bugs.launchpad.net/bugs/2112595

Title:
  [SRU] `Domains=local` is appending `.local` to the FQDN

Status in gce-compute-image-packages package in Ubuntu:
  Fix Released
Status in gce-compute-image-packages source package in Jammy:
  Fix Committed
Status in gce-compute-image-packages source package in Noble:
  Fix Committed
Status in gce-compute-image-packages source package in Plucky:
  Fix Committed

Bug description:
  =================== SRU ===================

  The latest release of gce-compute-packages (a.k.a google-compute-
  engine) 20250328.00-0ubuntu2 drops a config file into
  /etc/systemd/resolved.conf.d that adds a `.local` prefix to the FQDN.

  ````
  ubuntu@jammy-lp:~$ hostname -f
  jammy-lp.local
  ````

  [Impact]

  This will likely affect users with scripts calling `hostname` or those
  who rely on a known FQDN

  [Current Mitigation]

  Editing the `gce-resolved.conf` file to use `Domains=~local` suffices.
  A one line fix to use is:

  ```
  sudo sed --in-place 's,Domains=local,Domains=~local,g' /etc/systemd/resolved.conf.d/gce-resolved.conf
  ```

  followed by restarting the `systemd-resolved.service`:

  ```
  sudo systemctl restart systemd-resolved.service
  ```

  fixes the issue:

  ```
  ubuntu@jammy-lp:~$ hostname -f
  jammy-lp.c.ubuntu-kajiya.internal
  ```

  [Test Case]

  For this regression in particular, to test the fix is quite
  straightforward. After the new version has been installed, after
  running `sudo systemctl restart systemd-resolved.service`, `hostname
  -f` should return the proper FQDN as opposed to the shortname appended
  with local (i.e. `jammy-lp.c.ubuntu-kajiya.internal` vs. `jammy-
  lp.local`). For this bug specifically, that's all the testing needed.
  However, as we are very careful with any new releases of the guest
  agent pkgs, the following will also happen:

   * an image based on -proposed will be built for GCE and published to the ubuntu-os-cloud-image-proposed project
   * the CPC team will run internal validations (CTF) and Google's upstream test suite `cloud-image-tests` (CIT)
   * the GCE team will be asked to validate that the new package addresses the issues it is expected to address, and that the image passes their own internal image validation.

  If all the testing indicates that the new package is acceptable,
  verification can be considered done.

  Special care will also be taken to ensure that the SRU-ed version also
  plays nice with the sister SRU at LP: #2113788 as well.

  [Vendored Dependencies]

  N/A for gce-compute-image-packages

  [Where Problems Could Occur]

  For this bug specifically the risk is very low. The workaround listed
  above is already deployed on GCP images and has been for weeks with no
  reported regressions or issues. The fix implemented here is identical
  to the work around (just instead of `sed`-ing the file it is
  completely replaced with the fix instead). Between this information
  and CPC's own internal test harness (CTF), there is confidence that
  most if not all "edge cases" and/or obvious regressions concerns can
  be dismissed before the new version lands in `-updates`.

  [Other Information]

  This bug is used for tracking of releasing the new upstream version
  for all supported series, as per the approved policy mentioned in the
  following MRE:

  https://wiki.ubuntu.com/gce-compute-image-packages-Updates

  This package is only used on AMD64 and ARM64 but is built for all
  available architectures.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/2112595/+subscriptions



References