HomePhorge

(#5908) Add support for new update-rc.d disable API
f5aabf52631aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5908) Add support for new update-rc.d disable API

Added support for the new disable API to update-rc.d and
added spec tests to check this functionality. This change was made
because in versions of sysv-rc >= 2.88, 'update-rc.d stop' is broken and
actually enables the service.

We only changed the disable case as the enable case still works on
systems which use sysv-rc 2.88 or greater (atm, only Debian Lenny). We
wanted to change as little as possible because update-rc.d prints a
message stating that the new enable/disable API is unstable and may
change in the future.

Paired-with:Matt Robinson, Jacob Helwig

Details

Provenance
Max Martin <max@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5693e4129159: Merge branch 'tickets/2.6.x/6256' into 2.6.next
Branches
Unknown
Tags
Unknown

Event Timeline

Max Martin <max@puppetlabs.com> committed rPUf5aabf52631a: (#5908) Add support for new update-rc.d disable API (authored by Max Martin <max@puppetlabs.com>).Mar 30 2011, 9:56 PM