Issue #2705 has been updated by Luke Kanies.

Status changed from Unreviewed to Duplicate


----------------------------------------
Bug #2705: Fails to create reports for new nodes
http://projects.reductivelabs.com/issues/2705

Author: R.I. Pienaar aka Volcane
Status: Duplicate
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.0
Keywords: 
Branch: 


On a master that was upgraded from 0.24.8 to 0.25.0 I am seeing issues with 
reports,

<pre>
15:29:31 puppet1> puppetmasterd[15895]: Report rrdgraph failed: Invalid owner 
puppet on setting hostdir. Valid owners are root, service.
15:29:31 puppet1> puppetmasterd[15895]: Report store failed: Invalid owner 
puppet on setting client-ordev1.foo.net-dir. Valid owners are root, service.
</pre>

The odd thing is that this is only happening for new clinets, old clients - 
ones from 0.24.8 days - are happily sending reports and working just fine, 
configs hasn't changed etc

I had a look in the code but it's not making sense:

>From puppet/util/settings/file_setting.rb
<pre>
AllowedOwners = %w{root service}
AllowedGroups = %w{service}
</pre>

and later on

<pre>
raise SettingError, "Invalid owner %s on setting %s. Valid owners are %s." % 
[value, name, AllowedOwners.join(', ')]
</pre>

So it seems that somehow weirdly these users/groups are hardcoded and I can't 
imagine why 'service' would be the only group allowed, unlress 'service' is 
some magic token doesn't mean the unix user group 'service', ditto for user - 
especially since the master drops privs to user puppet generally.

I dont know, filing ticket since it doesn't make sense to me.




-- 
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to