With the patches from bug 1812670 reverted/removed, this should be now fixed in systemd at versions:
bionic-proposed: https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.15
cosmic-proposed: https://launchpad.net/ubuntu/+source/systemd/239-7ubuntu10.10
With the patches from bug 1812670 reverted/removed, this should be now fixed in systemd at versions:
bionic-proposed: https:/ /launchpad. net/ubuntu/ +source/ systemd/ 237-3ubuntu10. 15
cosmic-proposed: https:/ /launchpad. net/ubuntu/ +source/ systemd/ 239-7ubuntu10. 10