please re-add Support-system-image-read-only-etc.patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* core18 systems fail to update hostname
* this happens due to /etc/hostname actually being a symlink to a file under /etc/writable/, adjust hostnamed to take that into account when trying to update /etc/hostname
[Test Case]
* run a core18 system, check that dhcp acquire hostname is correctly updated in /etc/writable/
[Regression Potential]
* This is cherrypick of code that has gone missing since xenial.
* There is no change of behaviour for the classic systems.
* Currently, core18 systems simply fail to update hostname/
[Other Info]
* original bug report
The 16.04 version of systemd had a patch to support the read-only etc. For core18 we will also need this change because core18 is still not on a fully writable etc.
I will attach a debdiff against the current bionic version of systemd.
tags: | added: patch |
Changed in systemd (Ubuntu Cosmic): | |
status: | New → Fix Committed |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
description: | updated |
Changed in systemd (Ubuntu Focal): | |
status: | Fix Released → Triaged |
importance: | Undecided → Critical |
https:/ /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- cosmic/ cosmic/ amd64/s/ snapd/20180830_ 184959_ a6800@/ log.gz
appears to fail with this change in
2018-08-30 18:49:42 Successful tasks: 279 ubuntu- 18.10-amd64: tests/main/ dirs-not- shared- with-host: alternatives
2018-08-30 18:49:42 Aborted tasks: 0
2018-08-30 18:49:42 Failed tasks: 1
- autopkgtest:
error: unsuccessful run
Should this change be backed out of cosmic-proposed?