Issue #9138 has been updated by Dan Bode.
Subject changed from test failure on rhel 6 to filebucket tests should reset
permission of the bucketdir to pe-puppet
The issue seems to be the fact that a test runs:
<pre>
on agents, puppet_filebucket("backup --local /tmp/checksum_test_file.txt")
</pre>
which can create a bucketdir as root if one does not already exist. If this
happens, the puppetmaster will not be able to function.
----------------------------------------
Bug #9138: filebucket tests should reset permission of the bucketdir to
pe-puppet
https://projects.puppetlabs.com/issues/9138
Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Patch: None
Keywords:
Branch:
I have done some exploring on the rhel6 test failures.
The issue shows up as an agent failure:
<pre>
<dd>config.ru:9: warning: already initialized constant ARGV
Could not prepare for execution: Got 1 failure(s) while initializing: change
from 770 to 750 failed: failed to chmod /var/opt/lib/pe-puppet/bucket:
Operation not permitted - /var/opt/lib/pe-puppet/bucket
</dd>
</pre>
It seems to be caused by:
<pre>
resource/file/content_attribute.rb:on agents, puppet_filebucket("backup --local
/tmp/checksum_test_file.txt")
</pre>
This command is leaving the permission on the bucket directory in a state where
the puppetmaster cannot manage them so it fails.
--
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.