### ssh back in and see the bug.
$ journalctl -o short-precise | grep -i ordering.cycle
Oct 02 19:40:09.174479 xenial-1717477 systemd[1]: networking.service: Found ordering cycle on networking.service/start
Oct 02 19:40:09.174552 xenial-1717477 systemd[1]: networking.service: Breaking ordering cycle by deleting job apparmor.service/start
Oct 02 19:40:09.174565 xenial-1717477 systemd[1]: apparmor.service: Job apparmor.service/start deleted to break ordering cycle starting with networking.service/start
Oct 02 19:40:09.174576 xenial-1717477 systemd[1]: networking.service: Found ordering cycle on networking.service/start
Oct 02 19:40:09.174638 xenial-1717477 systemd[1]: networking.service: Breaking ordering cycle by deleting job local-fs.target/start
Oct 02 19:40:09.174650 xenial-1717477 systemd[1]: local-fs.target: Job local-fs.target/start deleted to break ordering cycle starting with networking.service/start
## launched instance on Openstack build.info
$ cat /etc/cloud/
build_name: server
serial: 20170929
$ git clone http:// git.launchpad. net/~smoser/ cloud-init/ +git/sru- info
$ sudo apt-get update -q && sudo apt-get install -q cloud-init 233-ge586fe35- 0ubuntu1~ 16.04.1) .
..
cloud-init is already the newest version (0.7.9-
$ dpkg-query --show cloud-init ge586fe35- 0ubuntu1~ 16.04.1
0.7.9-233-
$ ./sru-info/ bin/save- old-data orig-boot
$ bdev="/dev/vdb"; cloudconfig/ d' /etc/fstab
$ sudo umount $bdev || :
$ sudo sed -i '/comment=
$ sudo mkdir -p /mnt
$ sudo mkfs.ext4 -F "$bdev"
$ echo "$bdev /mnt auto defaults 0 2" | sudo tee -a /etc/fstab
$ cat /etc/fstab rootfs / ext4 defaults 0 0
LABEL=cloudimg-
/dev/vdb /mnt auto defaults 0 2
$ ./sru-info/ bin/do- reboot
### ssh back in and see the bug. service/ start service/ start service/ start deleted to break ordering cycle starting with networking. service/ start service/ start target/ start target/ start deleted to break ordering cycle starting with networking. service/ start
$ journalctl -o short-precise | grep -i ordering.cycle
Oct 02 19:40:09.174479 xenial-1717477 systemd[1]: networking.service: Found ordering cycle on networking.
Oct 02 19:40:09.174552 xenial-1717477 systemd[1]: networking.service: Breaking ordering cycle by deleting job apparmor.
Oct 02 19:40:09.174565 xenial-1717477 systemd[1]: apparmor.service: Job apparmor.
Oct 02 19:40:09.174576 xenial-1717477 systemd[1]: networking.service: Found ordering cycle on networking.
Oct 02 19:40:09.174638 xenial-1717477 systemd[1]: networking.service: Breaking ordering cycle by deleting job local-fs.
Oct 02 19:40:09.174650 xenial-1717477 systemd[1]: local-fs.target: Job local-fs.
### enable proposed to show fix. bin/enable- proposed nova.clouds. archive. ubuntu. com/ubuntu/ xenial-proposed main universe
$ sudo ./sru-info/
deb http://
$ sudo apt-get update -q && sudo apt-get install -qy cloud-init 233-ge586fe35- 0ubuntu1~ 16.04.2) over (0.7.9- 233-ge586fe35- 0ubuntu1~ 16.04.1) ... 233-ge586fe35- 0ubuntu1~ 16.04.2) ... ureadahead. conf to /etc/init/ ureadahead. conf.disabled by cloud-init'
...
Unpacking cloud-init (0.7.9-
Processing triggers for ureadahead (0.100.0-19) ...
Setting up cloud-init (0.7.9-
Leaving 'diversion of /etc/init/
$ sudo ./sru-info/ bin/save- old-data show-bug
$ sudo ./sru-info/ bin/do- reboot
## ssh back in
$ journalctl -o short-precise | grep -i ordering.cycle || echo "no cycles"
no cycles
$ grep WARN /var/log/cloud-init || echo "no warnings"
no warnings
$ cat /etc/fstab rootfs / ext4 defaults 0 0
LABEL=cloudimg-
/dev/vdb /mnt auto defaults 0 2
$ grep vdb /proc/mounts data=ordered 0 0
/dev/vdb /mnt ext4 rw,relatime,