Issue #18172 has been reported by Bart Bialek.
----------------------------------------
Bug #18172: Puppet issues a restart despite config copy failure
https://projects.puppetlabs.com/issues/18172
Author: Bart Bialek
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
We currently have sshd_config immutable for a reason. Puppet recognizes a
change in the config and restarts the service despite the config not really
being updated:
2012-12-17T14:31:47.227752-05:00 myhost puppet-agent[4642]:
(/Stage[main]/Securitylevel/File[/etc/ssh/sshd_config]/content) change from
{md5}504b89e2d56a71127c90954c2b2833b1 to {md5}cfb54dfc00a739eafd63cadb5c927d19
failed: Could not rename temporary file /etc/ssh/sshd_config.puppettmp_374 to
/etc/ssh/sshd_config: Operation not permitted -
/etc/ssh/sshd_config.puppettmp_374 or /etc/ssh/sshd_config at
/etc/puppet/production/manifests/includes/securitylevel.pp:8
2012-12-17T14:31:47.229710-05:00 myhost puppet-agent[4642]:
(/Stage[main]/default/Service[sshd]) Dependency File[/etc/ssh/sshd_config] has
failures: true2012-12-17T14:31:47.230240-05:00 myhost puppet-agent[4642]:
(/Stage[main]/default/Service[sshd]) Skipping because of failed dependencies
2012-12-17T14:31:47.560808-05:00 myhost puppet-agent[4642]:
(/Stage[main]/default/Service[sshd]) Triggered 'refresh' from 1 events
I believe the service restart should not take place under these conditions.
--
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.