debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #06012
[Bug 2112595] Re: `Domains=local` is appending `.local` to the FQDN
Hi there! This looks pretty much good to go, but we're missing the SRU documentation (test case, etc).
As the documentation¹ mentions, when calling out individual bugs we do need the normal SRU documentation (for those bugs) as found on https://documentation.ubuntu.com/sru/en/latest/reference/bug-template/
(This should be pretty easy, but it will make it easier for when an the
SRU team looks to release your update)
¹: https://documentation.ubuntu.com/sru/en/latest/reference/exception-
gce-compute-image-packages-Updates/#gce-compute-image-packages-
requesting-the-sru
--
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:
`Domains=local` is appending `.local` to the FQDN
Status in gce-compute-image-packages package in Ubuntu:
Fix Released
Bug description:
==== Bug
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
[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
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/2112595/+subscriptions
References