That's ironically part of the problem. These CVM images are a snap/deb hyrbid.
I wasn't around when they started building them, but I believe it has to do
with the encryption model and LUKS headers specifically.
Regardless, the kernel/uki is a deb and the rootfs is a classic deb rootfs
that's directly writeable. There are no snaps on the image itself.
$ snap list
No snaps are installed yet. Try 'snap install hello-world'.
The main thing to note here is that there are other services that skip on this
VM:
- populate-writable.service via
ConditionPathExists=/sysroot/writable/system-data/_writable_defaults
- initrd-core-system-defaults.service via
ConditionPathExists=/sysroot/etc/system-image/writable-paths and
ConditionPathIsDirectory=/run/mnt/data/system-data
- sysroot-writable.mount via ConditionPathIsDirectory=/run/mnt/data/system-data
I think this service just needs to have a slightly different conditional. It
currently has:
ConditionPathExists=!/sysroot/etc/system-image/writable-paths
I think this may need to be:
ConditionPathExists=!/sysroot/etc/system-image/writable-paths
ConditionPathExists=/sysroot/usr/lib/tmpfiles.d/core-writable.conf
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160599
Title:
Azure CVM fde: initrd-core-tmpfiles-setup.service fails (core-
writable.conf not found)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2160599/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs