stage 3 script doesn't stop services due to incorrect service directory

Bug #1920070 reported by Erik Swanson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
runit (Ubuntu)
New
Undecided
Unassigned

Bug Description

The stage 3 script at /etc/runit/3 has commands to gracefully stop services, but they don't work because they assume services are at /service instead of /etc/service.

The patch 0001-default-directory-for-services-on-Debian-is-etc-servi.diff changed the service directory from /service to /etc/service but did not alter the included scripts that assume the service directory is /service.

This affects all runit package versions that include the above-mentioned patch (all versions, probably).

The attached trivial patch is based off the state of /etc/runit/3 in runit 2.1.2-9.2ubuntu1

Tags: patch
Revision history for this message
Erik Swanson (erik-swanson) wrote :
summary: - stage 3 script doesn't stop services due to incorrect services directory
+ stage 3 script doesn't stop services due to incorrect service directory
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "use-etc-service-in-stage-3-script.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Lorenzo Puliti (plorenzo) wrote :

This bug was fixed in runit 2.1.2-10 in Debian, any version in Jammy or later should be ok

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.