I can reproduce what I think is the same problem on the original Ubuntu 22.04 live image ubuntu-22.04-desktop-amd64.iso (sha256: b85286d9855f549ed9895763519f6a295a7698fb9c5c5345811b3eefadfb6f07):
* boot a virtual machine with the live image in the virtual CD-ROM drive, and no hard drive
* wait for it to boot
* "Try Ubuntu"
* open a gnome-terminal
* in the terminal: sudo systemctl daemon-reexec
I can reproduce what I think is the same problem on the original Ubuntu 22.04 live image ubuntu- 22.04-desktop- amd64.iso (sha256: b85286d9855f549 ed9895763519f6a 295a7698fb9c5c5 345811b3eefadfb 6f07):
* boot a virtual machine with the live image in the virtual CD-ROM drive, and no hard drive
* wait for it to boot
* "Try Ubuntu"
* open a gnome-terminal
* in the terminal: sudo systemctl daemon-reexec
I'm retrying it in the equivalent 22.04.2 image.