> So as long as cloud-init.service declares itself to run after rc-
local.service
Sorry, I meant cloud-final.service.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1468103
Title:
As I explained, the notion of "the last thing during boot" is not well-
defined with a partially ordered and parallel init system like systemd
or upstart (or even sysvinit+startpar).
So as long as cloud-init.service declares itself to run after rc-
local.service, then rc-local.service necessarily
Tiago, your service file has even weaker dependencies like the standard
rc-local.service, so it'll run even earlier. It's not good advice to
create blanket "wrappers" around shell scripts without specifying any
dependency.
--
You received this bug notification because you are a member of Ubuntu
S
A simple fix is something like this:
Create the /etc/systemd/system/rc-local.service file with the following
contents:
[Unit]
Description=/etc/rc.local Compatibility
[Service]
Type=idle
ExecStart=/etc/rc.systemd
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Create a fil
> Independent of cloud-init, things in rc.local should be run as "the
last thing in boot".
So now we have "last thing except cloud-init" :-) There are other
services which order themselves after it, like getty@, plymouth-quit and
others, to avoid disturbing init.d/rc.local scripts with allocated V
Martin,
I dont think your suggestion is correct solution. Independent of cloud-
init, things in rc.local should be run as "the last thing in boot".
rc.local came from a simpler time. sysvinit ran rc.local as the last
thing, and that was that last thing that would run.
Many people will do:
a.) i
** Also affects: hundredpapercuts
Importance: Undecided
Status: New
** Changed in: hundredpapercuts
Status: New => Confirmed
** Changed in: cloud-init (Ubuntu)
Importance: Undecided => High
** Changed in: hundredpapercuts
Importance: Undecided => High
--
You received thi