Package: cloud-init
Version: 0.7.6~bzr976-2
Severity: normal

Dear Maintainer,

cloud-init doesn't provide systemd startup files but only the sysv one.

So when systemd-sysv creates the compatibility startup files for
systemd, cloud-init-local.service depends of 'sysinit.target',
that depends of 'networking.service'.
(see the outpout of systemctl list-dependencies below).

But the service 'cloud-init-local' must start before networking.
That service is designed to configure network stuffs and some other
stuffs. And ensures that no dhcp/autoconfiguration are done to avoid 
any (tiny) security issue.

Backporting systemd startup files from upstream should fix the issue.
I'm unsure we can fix it without that.

Cheers,
Mehdi Abaakouk

# systemctl list-dependencies  cloud-init-local.service 
cloud-init-local.service
● ├─system.slice
● └─basic.target
●   ├─paths.target
●   ├─slices.target
●   │ ├─-.slice
●   │ └─system.slice
●   ├─sockets.target
●   │ ├─systemd-initctl.socket
●   │ ├─systemd-journald-dev-log.socket
●   │ ├─systemd-journald.socket
●   │ ├─systemd-shutdownd.socket
●   │ ├─systemd-udevd-control.socket
●   │ └─systemd-udevd-kernel.socket
●   ├─sysinit.target
●   │ ├─debian-fixup.service
●   │ ├─dev-hugepages.mount
●   │ ├─dev-mqueue.mount
●   │ ├─kbd.service
●   │ ├─kmod-static-nodes.service
●   │ ├─networking.service
●   │ ├─proc-sys-fs-binfmt_misc.automount
●   │ ├─sys-fs-fuse-connections.mount
●   │ ├─sys-kernel-config.mount
●   │ ├─sys-kernel-debug.mount
●   │ ├─systemd-ask-password-console.path
●   │ ├─systemd-binfmt.service
●   │ ├─systemd-journal-flush.service
●   │ ├─systemd-journald.service
●   │ ├─systemd-modules-load.service
●   │ ├─systemd-random-seed.service
●   │ ├─systemd-sysctl.service
●   │ ├─systemd-tmpfiles-setup-dev.service
●   │ ├─systemd-tmpfiles-setup.service
●   │ ├─systemd-udev-trigger.service
●   │ ├─systemd-udevd.service
●   │ ├─systemd-update-utmp.service
●   │ ├─udev-finish.service
●   │ ├─cryptsetup.target
●   │ ├─local-fs.target
●   │ │ ├─-.mount
●   │ │ ├─systemd-fsck-root.service
●   │ │ └─systemd-remount-fs.service
●   │ └─swap.target
●   └─timers.target
●     └─systemd-tmpfiles-clean.timer


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to