HomePhorge

(#14615) Exclude helperscripts in gentoo service provider
0788ea2d3630Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#14615) Exclude helperscripts in gentoo service provider

The directory /etc/init.d does not only store normal initscripts but
also a few helper scripts (like functions.sh). The former behaviour was
to treat them as regular initscripts which can lead to dangerous results
especially when running puppet resource service. This command will
issue /etc/init.d/<script> status on every script inside
/etc/init.d. Because the helperscripts don't care about arguments,
this will cause the system to reboot when /etc/init.d/reboot.sh status is
executed.

Exclude helperscripts when searching inside /etc/init.d.

Details

Provenance
Stefan Schulte <stefan.schulte@taunusstein.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU638a6e433c22: Merge branch '2.7rc' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Stefan Schulte <stefan.schulte@taunusstein.net> committed rPU0788ea2d3630: (#14615) Exclude helperscripts in gentoo service provider (authored by Stefan Schulte <stefan.schulte@taunusstein.net>).May 22 2012, 10:55 PM