Issue #5530 has been updated by Dominic Maraglia.
Fix verfied in: puppet=>â2.6.7-35-gec3178fâ, facter=>â1.5.8â on non-Solaris platform. Problem likely fixed for all platforms. Test checked in: [email protected]:puppetlabs/puppet-acceptance.git 41600e3..a7d5ff9 master -> master ---------------------------------------- Bug #5530: puppet master fails to create "$vardir/rrd" https://projects.puppetlabs.com/issues/5530 Author: derek olsen Status: Duplicate Priority: Normal Assignee: James Turnbull Category: installation Target version: Affected Puppet version: 2.6.0 Keywords: master solaris Branch: We are running Solaris 10 x86. I've noticed in our environment that when puppet master is started it does not create all of the required directories on startup. The directory /var/lib/puppet/rrd does not get created and we must do that manually (and set the proper ownership). >From the error message it seems like the process is changing users from root >to puppet before the rrd directory get's created. Here is the debug output. Before this run the /etc/puppet and /var/lib/puppet directories had been recursively removed. While logged in as root puppet master --no-daemonize --debug [rest of debug removed] <pre> notice: Starting Puppet master version 2.6.4 debug: No file server configuration file; autocreating modules mount with default permissions debug: No file server configuration file; autocreating plugins mount with default permissions err: /File[/var/lib/puppet/rrd]/ensure: change from absent to directory failed: Could not set 'directory on ensure: Permission denied - /var/lib/puppet/rrd debug: Finishing transaction 75176000 Could not run: Got 1 failure(s) while initializing: change from absent to directory failed: Could not set 'directory on ensure: Permission denied - /var/lib/puppet/rrd </pre> Here is the truss output for the mkdir rrd dir which failed. <pre> 22331: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFF F] 22331: lstat64("/var/lib/puppet/rrd", 0x08031D50) Err#2 ENOENT 22331: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFF F] 22331: brk(0x096F9B10) = 0 22331: brk(0x096FBB10) = 0 22331: stat64("/var/lib/puppet", 0x08033C00) = 0 22331: mkdir("/var/lib/puppet/rrd", 0777) Err#13 EACCES [ALL] 22331: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFF </pre> Please let me know if you need further information. Thanks. Derek. -- 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.
