[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853744: cloud-init needs net-tools



Package: cloud-init
Version: 0.7.9-1
Severity: important
Tags: patch

Recently, net-tools was made optional.  Since cloud-init does not depend
on net-tools, this causes breakage:

$ sudo cloud-init init
Cloud-init v. 0.7.9 running 'init' at Tue, 31 Jan 2017 14:27:17 +0000. Up 1432.75 seconds.
2017-01-31 14:27:17,650 - util.py[WARNING]: Route info failed: Unexpected error while running command.
Command: ['netstat', '-rn']
Exit code: -
Reason: [Errno 2] No such file or directory: 'netstat'
Stdout: -
Stderr: -
ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!Net device info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Trivial fix proposal is attached.

Ross


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cloud-init depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  gdisk                  1.0.1-1
ii  ifupdown               0.8.18
ii  init-system-helpers    1.46
ii  lsb-release            9.20161125
ii  procps                 2:3.3.12-3
ii  python3                3.5.1-4
ii  python3-configobj      5.0.6-2
ii  python3-jinja2         2.8-1
ii  python3-jsonpatch      1.19-4
ii  python3-oauthlib       2.0.1-1
ii  python3-prettytable    0.7.2-3
ii  python3-requests       2.12.4-1
ii  python3-six            1.10.0-3
ii  python3-yaml           3.12-1
pn  python3:any            <none>

cloud-init recommends no packages.

cloud-init suggests no packages.

-- debconf information:
* cloud-init/datasources:        Ec2
diff --git a/debian/control b/debian/control
index c0c855a7..8136aaea 100644
--- a/debian/control
+++ b/debian/control
@@ -45,6 +45,7 @@ Depends:
   lsb-release,
   ifupdown,
   procps,
+  net-tools,
   ${misc:Depends},
   ${python3:Depends}
 Description: initialization system for infrastructure cloud instances

Reply to: