Issue #2095 has been updated by Russell Van Tassell.
Just reproduced this on CentOS 6.0 ... if the master is brought up without a site.pp manifest, it just complains when the permissions disappear and other agents try to connect to it. <blockquote> Aug 31 16:48:43 puppet puppet-master[2566]: Permission denied - /etc/puppet/manifests/site.pp on node machinename.sub.mydomain.com Aug 31 16:48:43 puppet puppet-master[2566]: Permission denied - /etc/puppet/manifests/site.pp on node machinename.sub.mydomain.com </blockquote> However, once the site.pp file and basic modules are added, it immediately and *silently* crashes if its permissions are yanked (sudo chmod go= /etc/puppet). Even better, if you try to restart it the master, the logs seem to show normal startup, but nothing else: <blockquote> Aug 31 17:04:23 puppet puppet-master[14250]: Reopening log files Aug 31 17:04:23 puppet puppet-master[14250]: Starting Puppet master version 2.7.3 </blockquote> However, the process actually **fails** to start. Fixed the permissions on /etc/puppet (sudo chmod go+rx /etc/puppet) allows the daemon to again function normally. ---------------------------------------- Bug #2095: Changing the permissions of /etc/puppet/puppet.conf via puppet crashes puppetmaster https://projects.puppetlabs.com/issues/2095 Author: Trevor Hemsley Status: Re-opened Priority: Normal Assignee: Nigel Kersten Category: file Target version: Affected Puppet version: 0.24.7 Keywords: Branch: class puppetperms { file {"/etc/puppet/puppet.conf": owner => root, group => root, mode => 600 } } then invoke puppetd --test --tags puppetperms on the puppetmaster server machine. The perms get changed, puppetmaster gets notified then crashes. In syslog I see this puppetd[6381]: (//Node[infra]/puppetperms/File[/etc/puppet/puppet.conf]/mode) mode changed '644' to '600' puppetd[6381]: Finished catalog run in 7.08 seconds puppetmasterd[26866]: Reparsing /etc/puppet/puppet.conf But puppetmaster is now dead. Restart puppetmaster and all is OK again. Can happily run puppetd --test --tags puppetperms while the perms are correct. Reset them via chmod 700 /etc/puppet/puppet.conf and puppetmaster immediately crashes without even running puppetd --test --tags puppetperms. BTW, puppetd does not run as a daemon on any of these machines, it's only run manually. -- 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.
