Core18 image ships with broken symlinks for /etc/hostname, /etc/timezone and /etc/localtime

Downloaded the images from:

and found that /etc/writable is empty:

$ ls /etc/writable

but /etc has several symlinks that point into it:

lrwxrwxrwx 1 root root 22 Oct 18 15:49 hostname -> /etc/writable/hostname
lrwxrwxrwx 1 root root 23 Oct 18 15:49 localtime -> /etc/writable/localtime
lrwxrwxrwx 1 root root 22 Oct 18 15:49 timezone -> /etc/writable/timezone

I think this causes hostnamectl to fail:

$ sudo hostnamectl set-hostname foo
Could not set property: Failed to set static hostname: Read-only file system

Thanks for this report!

The symlinks should be fixed once gets merged.

As for the hostnamectl issue, this is which has a fix in LP since a while, I will chat with the appropriate people about how to push this forward.

@mvo - FYI, UC20 is affected by this (as of 2020-04-22).