Activity log for bug #1791691

Date Who What changed Old value New value Message
2018-09-10 14:36:56 Scott Moser bug added bug
2018-09-10 14:37:01 Scott Moser cloud-images: status New Confirmed
2018-09-10 14:37:03 Scott Moser cloud-images: importance Undecided Critical
2018-09-10 14:40:11 Scott Moser description systemd units have broken PATH in recent cloud images. The PATH set for them is PATH=:/snap/bin. Previously value is PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # cat /etc/cloud/build.info build_name: server serial: 20180906 Booted in lxc, that fails providing # cat /run/cloud-init/result.json { "v1": { "datasource": null, "errors": [ "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -", "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -", "('ssh-authkey-fingerprints', KeyError('getpwnam(): name not found: ubuntu',))" ] } } systemd units have broken PATH in recent cloud images. The PATH set for them is   PATH=:/snap/bin. Previously value is   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # cat /etc/cloud/build.info build_name: server serial: 20180906 Booted in lxc that fails like: # lxc launch ubuntu-daily:cosmic c3 # lxc exec c3 cat /run/cloud-init/result.json {  "v1": {   "datasource": null,   "errors": [    "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -",    "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -",    "('ssh-authkey-fingerprints', KeyError('getpwnam(): name not found: ubuntu',))"   ]  } }
2018-09-10 14:51:47 Dan Watkins bug task added snapd (Ubuntu)
2018-09-10 15:00:33 Dimitri John Ledkov snapd (Ubuntu): importance Undecided Critical
2018-09-10 15:19:38 Dimitri John Ledkov nominated for series Ubuntu Cosmic
2018-09-10 15:19:38 Dimitri John Ledkov bug task added snapd (Ubuntu Cosmic)
2018-09-10 15:19:38 Dimitri John Ledkov nominated for series Ubuntu Bionic
2018-09-10 15:19:38 Dimitri John Ledkov bug task added snapd (Ubuntu Bionic)
2018-09-10 15:19:46 Dimitri John Ledkov tags block-proposed
2018-09-10 15:25:29 Dimitri John Ledkov information type Public Public Security
2018-09-10 15:38:14 Michael Vogt snapd (Ubuntu Bionic): status New In Progress
2018-09-10 15:38:17 Michael Vogt snapd (Ubuntu Cosmic): status New In Progress
2018-09-10 15:56:27 Joshua Powers bug added subscriber Joshua Powers
2018-09-10 20:28:26 Andreas Hasenack bug added subscriber Andreas Hasenack
2018-09-11 19:25:04 Scott Moser attachment added Example python generator for debugging. https://bugs.launchpad.net/cloud-images/+bug/1791691/+attachment/5187696/+files/mytest-env-generator.py
2018-09-11 19:43:53 Scott Moser description systemd units have broken PATH in recent cloud images. The PATH set for them is   PATH=:/snap/bin. Previously value is   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # cat /etc/cloud/build.info build_name: server serial: 20180906 Booted in lxc that fails like: # lxc launch ubuntu-daily:cosmic c3 # lxc exec c3 cat /run/cloud-init/result.json {  "v1": {   "datasource": null,   "errors": [    "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -",    "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -",    "('ssh-authkey-fingerprints', KeyError('getpwnam(): name not found: ubuntu',))"   ]  } } systemd units have broken PATH in recent cloud images. The PATH set for them is   PATH=:/snap/bin. Previously value is   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # cat /etc/cloud/build.info build_name: server serial: 20180906 Booted in lxc that fails like: # lxc launch ubuntu-daily:cosmic c3 # lxc exec c3 cat /run/cloud-init/result.json {  "v1": {   "datasource": null,   "errors": [    "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -",    "Unexpected error while running command.\nCommand: ['netplan', 'generate']\nExit code: -\nReason: [Errno 2] No such file or directory: b'netplan': b'netplan'\nStdout: -\nStderr: -",    "('ssh-authkey-fingerprints', KeyError('getpwnam(): name not found: ubuntu',))"   ]  } } Related bugs: * bug 1771382: ds-identify: does not have expected PATH.
2018-09-11 20:10:16 Launchpad Janitor merge proposal linked https://code.launchpad.net/~smoser/ubuntu/+source/snapd/+git/snapd/+merge/354728
2018-09-12 09:07:07 Christian Ehrhardt  bug added subscriber  Christian Ehrhardt 
2018-09-13 13:22:22 Michael Vogt tags block-proposed
2018-09-24 07:26:42 Michael Vogt snapd (Ubuntu Cosmic): status In Progress Fix Released
2019-03-18 11:35:42 gerardo roman cloud-images: status Confirmed In Progress
2019-03-18 11:35:46 gerardo roman cloud-images: status In Progress Incomplete
2019-03-18 11:36:04 gerardo roman cloud-images: status Incomplete Fix Committed
2019-03-18 11:36:50 gerardo roman cloud-images: status Fix Committed New
2019-03-18 11:37:00 gerardo roman cloud-images: status New Fix Released
2019-03-18 11:37:33 gerardo roman affects cloud-images arduino-debug
2019-04-02 09:01:00 Colin Watson affects arduino-debug cloud-images
2019-04-02 09:01:14 Colin Watson cloud-images: status Fix Released Confirmed
2019-06-26 08:07:47 Dimitri John Ledkov bug task added initramfs-tools (Ubuntu)
2019-09-17 09:31:47 Marc Deslauriers information type Public Security Public
2022-07-01 08:19:37 ray jones bug added subscriber ray jones
2023-03-15 19:44:03 John Chittum cloud-images: status Confirmed Fix Released
2023-09-13 11:45:52 Benjamin Drung initramfs-tools (Ubuntu): status New Invalid
2023-09-13 11:45:59 Benjamin Drung initramfs-tools (Ubuntu Bionic): status New Invalid
2023-09-13 11:46:04 Benjamin Drung initramfs-tools (Ubuntu Cosmic): status New Invalid