Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2017:0871 - Bug Fix Advisory
Issued:
2017-04-04
Updated:
2017-04-04

RHBA-2017:0871 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

cloud-init and cloud-utils-growpart bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated cloud-init and cloud-utils-growpart packages that fix various bugs and add one enhancement are now available for the Red Hat Common channel of Red Hat Enterprise Linux 7.

Description

The cloud-init package provides a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install ssh keys, and to let the user run various scripts.

The cloud-utils-growpart package provides the growpart script for growing a partition. It is primarily used in cloud images to grow the root partition during the first boot.

This update fixes the following bugs:

  • The cloud-init package did not have a dependency on the pyserial package, which is required to support the SmartOS cloud data source. This update adds the missing dependency. (BZ#1226187)
  • Cloud-init 0.7.6 introduced optional support for the Jinja2 templating engine, but also included templates that required Jinja2, such as the ones used in the "chef" configuration module. Because Jinja2 was not included as a dependency of the cloud-init package, this caused some templates to fail to render correctly. This update includes Jinja2 as a dependency of cloud-init. (BZ#1215913)
  • Due to a race condition between the cloud-init application and the NetworkManager utility, systems with cloud-init set up in some cases booted with an incorrect network configuration. This update ensures that the cloud-init-local service runs before NetworkManager starts and that the cloud-init service runs afterwards. As a result, the described problem no longer occurs. (BZ#1363633)
  • Previously, if the host name was set to "localhost.localdomain", the cloud-init application expanded the host name to "localhost.localdomain.localdomain", which could cause a variety of networking problems with the host. Now, cloud-init correctly handles the the described situation, which prevents the networking problems. (BZ#1389048)
  • The rsyslog configuration installed by the cloud-init application used deprecated configuration file syntax, which caused warnings logged by rsyslog. This update uses the syntax expected by the current version of rsyslog, and warning messages are no longer logged in the described situation. (BZ#1315615)
  • Prior to this update, using the growpart command on a disk larger than 2 TB that had an MBR partition table caused the partition table not to be updated correctly. As a consequence, the partition was in some cases shrunk, which corrupted the file system on the disk. With this update, growpart handles disks larger than 2 TB properly, and the described problem no longer occurs. (BZ#1321373)

In addition, this update adds the following enhancement:

  • The rh_subscription plug-in has been added to the cloud-init package. The plug-in can be used to automatically register a system with Red Hat Network by using either a username-password pair or an organization and an activation key. (BZ#1227393)

Users of cloud-init and cloud-utils-growpart are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux Server 7 x86_64

Fixes

  • BZ - 1215913 - cloud-init 0.7.6-2 does not process templates correctly
  • BZ - 1226187 - cloud-init package missing pyserial
  • BZ - 1227393 - Add rh_subscription plugin to cloud-init in RHEL 7.x
  • BZ - 1321373 - growpart on disk larger than 2TB fails
  • BZ - 1363633 - [cloud-init] - cloud-init should finish before NetworkManager starts or run ifdown ifup after cloud-init is finished

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 7

SRPM
cloud-init-0.7.9-3.el7.src.rpm SHA-256: 7f20821203cf42e25f050b7fc3ddc38982c42b24bf8e98a3bd598c6f2894fffd
cloud-utils-growpart-0.29-1.el7.src.rpm SHA-256: b8ef97447fdd5978fc9acc5ce19e959d610dd46d814149d74781a513344ea88d
pyserial-2.6-5.el7.src.rpm SHA-256: a261e68733c88862040ac72b3e2d52c5b8a3ea87347a7b22cbb99a30436fc8a9
x86_64
cloud-init-0.7.9-3.el7.x86_64.rpm SHA-256: 8d4c13b4b6a2a7eab6a1470f78bdec1a5d5071efd03d55a5e2ccf84b67e5eed2
cloud-utils-growpart-0.29-1.el7.noarch.rpm SHA-256: 06f08fcd4cf8da50913e04c357b19fe0edbde6e0e25b63e61e728455d56f0499
pyserial-2.6-5.el7.noarch.rpm SHA-256: 1e4ca8d38c6ad0476a31c810346ccdefe11ab4b06e93d902b7270b8010e5edb4

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility