Calls "service walinuxagent start" in Azure data source
Bug #1538522 reported by
Bastian Blank
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi
cloud-init calls "service walinuxagent start" in the Azure data source during "init" phase.
Currently walinuxagent.
| After=cloud-
This asks systemd to start if much later, after the "final" phase.
New enough systemd version as available in Ubuntu 15.10 and Debian Stretch will just ignore the relation, as it is a deadlock and start the service in this place. Older version as in Debian Jessie will block the whole boot.
Is there a reason to explicitely start walinuxagent instead of relying on order in systemd?
Bastian
Related branches
~oddbloke/cloud-init/+git/cloud-init:bug/lp1538522-azure-builtin-agent
- cloud-init Commiters: Pending requested
-
Diff: 166 lines (+30/-15)2 files modifiedcloudinit/sources/DataSourceAzure.py (+3/-2)
tests/unittests/test_datasource/test_azure.py (+27/-13)
~smoser/cloud-init:bug/lp1538522-azure-builtin-agent
- Dan Watkins: Approve
-
Diff: 29 lines (+3/-2)1 file modifiedcloudinit/sources/DataSourceAzure.py (+3/-2)
Changed in cloud-init: | |
status: | Confirmed → Fix Committed |
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Released |
To post a comment you must log in.
...and systems running NetworkManager store it somewhere *else*:
$ ps -fe | grep dhclient nm-dhcp- helper -pf /var/run/ dhclient- eth0.pid -lf /var/lib/ NetworkManager/ dhclient- e4599575- 5a21-46c1- bfe3-62cb23268b 69-eth0. lease -cf /var/lib/ NetworkManager/ dhclient- eth0.conf eth0
root 27312 27292 0 Apr11 ? 00:00:00 /sbin/dhclient -d -q -sf /usr/libexec/