Issue #17866 has been updated by Ryan Uber. Status changed from Closed to Re-opened Affected Puppet version changed from 3.0.0 to 3.1.0-rc1 Branch changed from https://github.com/puppetlabs/puppet/pull/1308 to https://github.com/puppetlabs/puppet/pull/1385
Unfortunately, if built on RHEL6, this issue persists due to a bug in the newer version (4.8) of rpmbuild. The issue is described in more detail in RH #681540, but what it boils down to is a fix from another rpmbuild bug is causing the %defattr tag to override the in-line %attr tags (should be the other way around). If you build puppet on EL5 (rpmbuild v4.4), you will not see this issue. If you build puppet on EL6 (rpmbuild v4.8), this bug surfaces. To work around it I've added a new pull request at: https://github.com/puppetlabs/puppet/pull/1385 The work-around simply uses multiple %defattr statements rather than in-line %attr statements for the /var/{lib,run,log}/puppet directories. This should be forward-compatible so we shouldn't need to revisit this once RHEL gets a newer version (4.9+) of rpmbuild, where the issue should be resolved. ---------------------------------------- Bug #17866: Puppet RPM's break themselves https://projects.puppetlabs.com/issues/17866#change-80871 Author: Ryan Uber Status: Re-opened Priority: Normal Assignee: Matthaus Owens Category: package Target version: 3.1.0 Affected Puppet version: 3.1.0-rc1 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/1385 Puppet breaks its own RPM verify by changing pre-installed permissions on /var/log/puppet from 755 to 750. Issue only appears in puppet >= 3.0 RPM's. Steps to reproduce: 1) Install puppet from Puppet Labs RPM: rpm -ivh http://yum.puppetlabs.com/el/6/products/x86_64/puppet-3.0.1-1.el6.noarch.rpm 2) Verify the install (works fine this time): rpm -V puppet 3) Run something that writes a log: puppet apply --noop -e 'include my_module' 4) Verify RPM again: rpm -V puppet .M....... /var/log/puppet -- 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.
