Comment 7 for bug 1778936

Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

@xnox

Hello, I validated the fix on core18 but I still see the error trying to set the hostname

This line is failing:

+ test-snapd-sh.with-hostname-control-plug -c 'hostnamectl set-hostname localhost'
Could not set property: Failed to set static hostname: Read-only file system

I created a branch where I build snapd using systemd from proposed "systemd (= 237-3ubuntu10.10)", and then I use that snapd fo build the ubuntu core 18 where I execute the test.

The test which is failing is https://github.com/snapcore/snapd/blob/master/tests/main/interfaces-hostname-control/task.yaml.

Thanks