[PKG-Openstack-devel] Bug#828823: Don't include cloud-initramfs-growroot in cloud images

Gaudenz Steinlin gaudenz at debian.org
Tue Jun 28 07:10:47 UTC 2016


Package: openstack-debian-images
Version: 1.13
Severity: wishlist
Tags: patch

Please remove cloud-initramfs-growroot from the images at least for
testing/unstable. Newer kernels (since 3.8) can change the partition of
the root filesystem while it's mounted, so this is no longer needed.
There is support for growing the root partition already in cloud-init.
All other major distributions use this mechanism.

The advantage of growing the partition with cloud-init is that the
behavior can be overriden by an external data source (metadata server,
config drive, ...) without modifying the image. The behavior of
cloud-initramfs-growroot can not be overriden in this way.

This would also be nice to have in jessie. The required kernel support
is available in jessie, but cloud-init from backports is needed to
activate the growpart module.

The attached patch removes cloud-initramfs-growroot from the image (not
for wheezy).

Gaudenz

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-initramfs-growroot.patch
Type: text/x-diff
Size: 1818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160628/1be7b9b6/attachment.patch>


More information about the Openstack-devel mailing list