I tested the output of "runlevel" and the env under Debian sid with
sysvinit-core:

 - In an rcS script: runlevel says "unknown" (env has RUNLEVEL=S and 
PREVLEVEL=N)
 - In an rc[2345] script: runlevel says "N 2" (env has RUNLEVEL=2 and 
PREVLEVEL=N)

With systemd, runlevel says "unknown" until finishing the boot, and
indeed systemd-update-utmp only ran once. That's the bug we need to fix
here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575572

Title:
  apache2 fails to start if installed via cloud config (on Xenial)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1575572/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to