Fix calls to hostnamectl occuring before dbus is up

https://bugzilla.redhat.com/show_bug.cgi?id=1417025
This commit is contained in:
Garrett Holmstrom 2017-01-26 18:43:20 -08:00
parent a366807dc3
commit 65d7e7be3d
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,11 @@
Index: cloud-init-0.7.9/systemd/cloud-init.service
===================================================================
--- cloud-init-0.7.9.orig/systemd/cloud-init.service
+++ cloud-init-0.7.9/systemd/cloud-init.service
@@ -1,6 +1,5 @@
[Unit]
Description=Initial cloud-init job (metadata service crawler)
-DefaultDependencies=no
Wants=cloud-init-local.service
Wants=sshd-keygen.service
Wants=sshd.service

View File

@ -1,6 +1,6 @@
Name: cloud-init
Version: 0.7.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Cloud instance init scripts
License: GPLv3
URL: http://launchpad.net/cloud-init
@ -37,6 +37,10 @@ Patch11: cloud-init-0.7.8-nm-controlled.patch
# Disable tests that require pylxd
Patch12: cloud-init-0.7.9-disable-lxd-tests.patch
# Fix calls to hostnamectl occurring before dbus is up
# https://bugzilla.redhat.com/show_bug.cgi?id=1417025
Patch13: cloud-init-0.7.9-defaultdeps.patch
BuildArch: noarch
BuildRequires: pkgconfig(systemd)
@ -173,6 +177,9 @@ nosetests-%{python3_version} tests/unittests/ \
%changelog
* Fri Jan 27 2017 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.9-2
- Fixed hostnamectl running before dbus is up [RH:1417025]
* Fri Jan 27 2017 Garrett Holmstrom <gholms@fedoraproject.org> - 0.7.8-5
- Re-applied rsyslog configuration fixes
- Disabled GCE tests broken by python-httpretty-0.8.14-1.20161011git70af1f8