Please revise files in /etc/cloud tree
Bug #1849557 reported by
Mathieu Trudel-Lapierre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
On a typical install of an Ubuntu system, and in particular on a Ubuntu Core system, there are various files under /etc/cloud.
Most of these files (especially on UC) appear to be default files that are unmodified, and are furthermore bind-mounted such that they may be writable (Ubuntu Core-specific).
Please revise the files in /etc/cloud. If the files are defaults that are otherwise used unmodified on systems, they probably should live in a tree under /usr/share, which is the commonly used location for system defaults and other architecture-
tags: | added: writable-etc |
Changed in cloud-init (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: id-5cf575c4e6712e6048974772 |
To post a comment you must log in.
# find /etc/cloud cloud.cfg. d cloud.cfg. d/05_logging. cfg cloud.cfg. d/README cloud.cfg. d/90_dpkg. cfg build.info cloud.cfg templates templates/ chef_client. rb.tmpl templates/ ntp.conf. sles.tmpl templates/ hosts.freebsd. tmpl templates/ timesyncd. conf.tmpl templates/ chrony. conf.fedora. tmpl templates/ chrony. conf.sles. tmpl templates/ ntp.conf. fedora. tmpl templates/ hosts.redhat. tmpl templates/ hosts.debian. tmpl templates/ chrony. conf.opensuse. tmpl templates/ sources. list.ubuntu. tmpl templates/ chrony. conf.ubuntu. tmpl templates/ ntp.conf. debian. tmpl templates/ hosts.suse. tmpl templates/ chrony. conf.rhel. tmpl templates/ ntp.conf. opensuse. tmpl templates/ ntp.conf. rhel.tmpl templates/ sources. list.debian. tmpl templates/ chrony. conf.debian. tmpl templates/ ntp.conf. ubuntu. tmpl templates/ resolv. conf.tmpl
/etc/cloud
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
/etc/cloud/
templates could go to /usr/share, the rest are expected to be writable, save build.info; but that's part of the image build rather than cloud-init owned/generated files.