Not possible to stop a service after deleting /etc/init/service.conf file

Bug #1658917 reported by Nikhil Ranjan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Triaged
Low
Unassigned

Bug Description

If /etc/init/myservice.conf is deleted while myservice is still running then the service cannot be stopped afterwards.

# service myservice stop

will say

"myservice: unrecognized service".

The process associated with the service will continue to run and will restarts after killing.

Revision history for this message
Steve Langasek (vorlon) wrote :

This is a bug in the sysvinit-utils package that provides the 'service' command, not in upstart. You can still stop the service by running 'stop myservice' instead of 'service myservice stop'.

affects: upstart → sysvinit (Ubuntu)
Changed in sysvinit (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Nikhil Ranjan (niklabh)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.