Issue #18172 has been updated by eric sorenson.

Status changed from Unreviewed to Needs More Information
Assignee set to Bart Bialek

Hi Bart, thanks for the problem report.  Could you please post minimal example 
code that shows the problem?   It's hard to know exactly what's going on. 

Can you also post the version number of puppet that you're using in the 
"Affected Version" field? Thanks

I’ve put this ticket’s status into “Needs more Information” and assigned it to 
you. Please either (a) update it with the information I’ve requested and 
re-assign it to me if you need more help, or (b) change the status to “Closed” 
if you were able to resolve the issue on your own.

----------------------------------------
Bug #18172: Puppet issues a restart despite config copy failure
https://projects.puppetlabs.com/issues/18172#change-84078

Author: Bart Bialek
Status: Needs More Information
Priority: Normal
Assignee: Bart Bialek
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: true
    2012-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 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.


Reply via email to