[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by Charlie Sharpsteen. Keywords changed from mac to mac customer Bug #3962: 0.25.5 fails to start if /var/lib does not exist https://projects.puppetlabs.com/issues/3962#change-88790 * Author: eric sorenson * Status: Closed * Priority: High * Assignee: * Category: installation * Target version: * Affected Puppet version: 0.25.5 * Keywords: mac customer * Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by eric sorenson. Nigel Kersten wrote: Eric, how are you installing Puppet on OS X? Are you making packages with createpackage.sh ? No I pull them together for our wacky cross-platform tarball based package format like this: pre ruby ./install.rb --destdir=/var/tmp/puppet-0.25.4-Ruby-1.8.7-any-20100203T0001Z --bindir=/bin --sbindir=/sbin --sitelibdir=/lib/ruby/site_ruby/1.8 --mandir=/man --no-rdoc for d in bin/* sbin/* ; do ruby -ln -i -e 'if $.==1; puts #!/usr/local/bin/ruby; else puts $_; end' $d done /pre Bug #3962: 0.25.5 fails to start if /var/lib does not exist https://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Closed Priority: High Assignee: Category: installation Target version: Affected Puppet version: 0.25.5 Keywords: mac Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by Nigel Kersten. yeah, I think this is something we leave to the packaging layer. We should be fixing this in the createpackage.sh script though. Bug #3962: 0.25.5 fails to start if /var/lib does not exist https://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Closed Priority: High Assignee: Category: installation Target version: Affected Puppet version: 0.25.5 Keywords: mac Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by James Turnbull. Target version deleted (2.7.x) Bug #3962: 0.25.5 fails to start if /var/lib does not exist https://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Closed Priority: High Assignee: Category: installation Target version: Affected Puppet version: 0.25.5 Keywords: mac Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by eric sorenson. BTW This is still broken in 2.6 ; I lost the local hand-patch I'd made to 0.25 when we upgraded and new OSX/Solaris hosts won't install without pre-populating a puppet.conf that has vardir=/var Bug #3962: 0.25.5 fails to start if /var/lib does not exist https://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Accepted Priority: Normal Assignee: Nigel Kersten Category: Target version: Affected Puppet version: 0.25.5 Keywords: mac Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by Nigel Kersten. Assignee changed from Matt Robinson to Nigel Kersten Keywords set to mac Bug #3962: 0.25.5 fails to start if /var/lib does not exist https://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Accepted Priority: Normal Assignee: Nigel Kersten Category: Target version: Affected Puppet version: 0.25.5 Keywords: mac Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-b...@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by Matt Robinson. Assigned to set to Matt Robinson Bug #3962: 0.25.5 fails to start if /var/lib does not exist http://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Accepted Priority: Normal Assigned to: Matt Robinson Category: Target version: Affected version: 0.25.5 Keywords: Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-b...@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by Nigel Kersten. Eric and any other interested Mac users... From re-reading the manpage for hier, I'm thinking we should maybe change to this location on OS X? /var/db/puppet Thoughts? Bug #3962: 0.25.5 fails to start if /var/lib does not exist http://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Accepted Priority: Normal Assigned to: Category: Target version: Affected version: 0.25.5 Keywords: Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-b...@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #3962] 0.25.5 fails to start if /var/lib does not exist
Issue #3962 has been updated by eric sorenson. Nigel Kersten wrote: Eric and any other interested Mac users... From re-reading the manpage for hier, I'm thinking we should maybe change to this location on OS X? /var/db/puppet Thoughts? Yep, +1, that's where this stuff goes. *BSD variants similarly use /var/db. ( http://www.freebsd.org/cgi/man.cgi?query=hiersektion=7 ) Solaris drops everything directly under /var. I don't have any AIX machines (...anymore, thank Cthulhu) but sources report both it and HPUX similarly do not have a /var/lib. Bug #3962: 0.25.5 fails to start if /var/lib does not exist http://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Accepted Priority: Normal Assigned to: Category: Target version: Affected version: 0.25.5 Keywords: Branch: Due to #86 and the 0.25.4-0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: pre err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] /pre patched, as root: pre debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] /pre not as root: pre debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] /pre -- 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 puppet-b...@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.