The last command will hang for 90 seconds, after which the logs (`sudo journalctl -xe`) will say:
```
Nov 15 06:10:20 localhost systemd[1]: dev-loop6.device: Job dev-loop6.device/start timed out.
Nov 15 06:10:20 localhost systemd[1]: Timed out waiting for device /dev/loop6.
-- Subject: Unit dev-loop6.device has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit dev-loop6.device has failed.
--
-- The result is RESULT.
Nov 15 06:10:20 localhost systemd[1]: Dependency failed for Mount unit for hello-world, revision 29.
-- Subject: Unit snap-hello\x2dworld-29.mount has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit snap-hello\x2dworld-29.mount has failed.
--
-- The result is RESULT.
Nov 15 06:10:20 localhost systemd[1]: snap-hello\x2dworld-29.mount: Job snap-hello\x2dworld-29.mount/start failed with result 'dependency'.
Nov 15 06:10:20 localhost systemd[1]: dev-loop6.device: Job dev-loop6.device/start failed with result 'timeout'.
```
One more update: I verified that the steps from comment #17 can be used to reproduce the issue in an Ubuntu Core image started in qemu, and without using the spread. I verified it with the 20211105 image provided by Lukas in https:/ /people. ubuntu. com/~slyon/ uc18/ and also with the default amd64 core image from https:/ /cdimage. ubuntu. com/ubuntu- core/18/ stable/ current/
To reproduce it, start the image in QEMU:
qemu- system- x86_64 -enable-kvm -smp 2 -m 1500 \ mynet0, hostfwd= tcp::8022- :22,hostfwd= tcp::8090- :80 \ net-pci, netdev= mynet0 \ Downloads/ uc18-20211105+ systemd+ 3G.img, format= raw \ share/OVMF/ OVMF_CODE. fd,if=pflash, format= raw,unit= 0,readonly= on
-netdev user,id=
-device virtio-
-drive file=~/
-drive file=/usr/
configure it as usual, and install a snap. Then:
sudo snap install hello-world x2dworld- 29.mount' x2dworld- 29.mount' x2dworld- 29.mount'
sudo systemctl start 'snap-hello\
sudo systemctl daemon-reload
sudo systemctl stop 'snap-hello\
sudo systemctl start 'snap-hello\
The last command will hang for 90 seconds, after which the logs (`sudo journalctl -xe`) will say:
``` device/ start timed out. www.ubuntu. com/support x2dworld- 29.mount has failed www.ubuntu. com/support x2dworld- 29.mount has failed. x2dworld- 29.mount: Job snap-hello\ x2dworld- 29.mount/ start failed with result 'dependency'. device/ start failed with result 'timeout'.
Nov 15 06:10:20 localhost systemd[1]: dev-loop6.device: Job dev-loop6.
Nov 15 06:10:20 localhost systemd[1]: Timed out waiting for device /dev/loop6.
-- Subject: Unit dev-loop6.device has failed
-- Defined-By: systemd
-- Support: http://
--
-- Unit dev-loop6.device has failed.
--
-- The result is RESULT.
Nov 15 06:10:20 localhost systemd[1]: Dependency failed for Mount unit for hello-world, revision 29.
-- Subject: Unit snap-hello\
-- Defined-By: systemd
-- Support: http://
--
-- Unit snap-hello\
--
-- The result is RESULT.
Nov 15 06:10:20 localhost systemd[1]: snap-hello\
Nov 15 06:10:20 localhost systemd[1]: dev-loop6.device: Job dev-loop6.
```