Issue #14615 has been updated by eric sorenson.
Nick opened a new PR to fix the test failure: https://github.com/puppetlabs/puppet/pull/1620 ---------------------------------------- Bug #14615: puppet resource service will kill your gentoo system https://projects.puppetlabs.com/issues/14615#change-90107 * Author: Stefan Schulte * Status: Tests Insufficient * Priority: Normal * Assignee: * Category: service * Target version: 3.2.0 * Affected Puppet version: 2.7.14 * Keywords: gentoo, service customer * Branch: https://github.com/puppetlabs/puppet/pull/1473 ---------------------------------------- If executing `puppet resource service` on gentoo, puppet will get a list of services from `/etc/init.d` and will issue `<initscript> status` on all of them. This will immediatly reboot your system and you will be greeted with a filesystem check afterwards. I consider this "not expected behaviour" ;-) This happens as soon as puppet reaches the following standard gentoo script <pre> # equery belongs /etc/init.d/reboot.sh * Searching for /etc/init.d/reboot.sh ... sys-apps/sysvinit-2.88-r3 (/etc/init.d/reboot.sh) </pre> which does not implement any switches <pre> # cat /etc/init.d/reboot.sh # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 opts="-dpk" [ "${RC_DOWN_INTERFACE}" = "yes" ] && opts="${opts}i" /sbin/reboot "${opts}" 2>/dev/null # hmm, if the above failed, that's kind of odd ... # so let's force a reboot /sbin/reboot -f </pre> the gentoo service provider should have an exclude list of services like the redhat provider does. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
