invoke-rc.d service start fails on services with upstart-only scripts

Bug #1691474 reported by Chris J Arges
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
init-system-helpers (Ubuntu)
Fix Released
High
Chris J Arges
Xenial
Incomplete
Undecided
Unassigned
Yakkety
Won't Fix
Undecided
Unassigned
Zesty
Won't Fix
Undecided
Unassigned

Bug Description

[Impact]
On 16.04+ if you using upstart as your primary init system "enabled" services that _only_ have upstart scripts fail to start with invoke-rc.d (with a default policy). This is problematic as #DEBHELPER# tokens in maintscripts rely on invoke-rc.d to start/stop services and fail to start services on installation.

[Test Case]
Boot into affected system with upstart as default init.
Try starting an 'upstart only' service with 'invoke-rc.d service start'.
It is expected this should work.

[Regression Potential]
14.04/upstart behavior is that invoke-rc.d works, and 16.04/systemd also has invoke-rc.d start working with enabled services and default policy. 16.04/upstart should be the same.

Tags: patch
Revision history for this message
Chris J Arges (arges) wrote :
Revision history for this message
Chris J Arges (arges) wrote :
Revision history for this message
Chris J Arges (arges) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in init-system-helpers (Ubuntu Xenial):
status: New → Confirmed
Changed in init-system-helpers (Ubuntu Yakkety):
status: New → Confirmed
Changed in init-system-helpers (Ubuntu Zesty):
status: New → Confirmed
Revision history for this message
Paride Legovini (paride) wrote :

I'm marking the main task as "Fix Released" as Ubuntu moved past upstart, so I believe this is not an issue anymore.

Is this issue still relevant on Xenial? Marking the Xenial task a Incomplete for the moment.

Tasks for EOL relases => Won't Fix.

Changed in init-system-helpers (Ubuntu Yakkety):
status: Confirmed → Won't Fix
Changed in init-system-helpers (Ubuntu Zesty):
status: Confirmed → Won't Fix
Changed in init-system-helpers (Ubuntu):
status: In Progress → Fix Released
Changed in init-system-helpers (Ubuntu Xenial):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers