* invoke-rc.d: Under systemd, "runlevel" only switches to 3 or 5 when
multi-user.target/graphical.target have been reached, not before.
Adjust the runlevel check accordingly. This is only relevant for the check
for wrong/dangling rcN.d/ symlinks, so just pin it to "5" (the precise
value does not matter much). Fixing this in systemd requires bigger
architectural changes, so use this tiny (and backportable) bandaid for the
time being. (LP: #1575572)
-- Martin Pitt <email address hidden> Fri, 06 May 2016 20:51:40 -0500
This bug was fixed in the package init-system-helpers - 1.29ubuntu2
---------------
init-system-helpers (1.29ubuntu2) xenial; urgency=medium
* invoke-rc.d: Under systemd, "runlevel" only switches to 3 or 5 when user.target/ graphical. target have been reached, not before.
multi-
Adjust the runlevel check accordingly. This is only relevant for the check
for wrong/dangling rcN.d/ symlinks, so just pin it to "5" (the precise
value does not matter much). Fixing this in systemd requires bigger
architectural changes, so use this tiny (and backportable) bandaid for the
time being. (LP: #1575572)
-- Martin Pitt <email address hidden> Fri, 06 May 2016 20:51:40 -0500