summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-09-13 15:11:17 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-09-13 15:15:23 +1000
commit923fd89a2a5d52a6ec9abeb02f6edc01c721fd91 (patch)
tree54f99d0b40058a474ce0fcf5ece7f2d0ff2fcf8a
parentcab5d85dea17f3ea09343955f29eb47c8b32a05d (diff)
downloadpuppet-923fd89a2a5d52a6ec9abeb02f6edc01c721fd91.tar.gz
puppet-923fd89a2a5d52a6ec9abeb02f6edc01c721fd91.tar.xz
puppet-923fd89a2a5d52a6ec9abeb02f6edc01c721fd91.zip
Fixed issues with file descriptors leaking into subprocesses
-rw-r--r--CHANGELOG12
-rw-r--r--lib/puppet/util.rb1
2 files changed, 11 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index fd65d05dd..441e68ec1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,8 +1,16 @@
0.24.x
+ Fixed issues with file descriptors leaking into subprocesses
+
+ Fixed #1568 - createpackage.sh
+
+ Fixed #1571 - Puppet::Util::binary returns incorrect results
+
+ Fixed #1553 - Puppet and Facter cannot both install the plist module into two different locations
+
+ Adjusted hpuxuseradd user provider to confine to HP-UX and fixed HP-UX user provider path regression
+
Fixed debug messages in package type - thanks to Todd Zullinger for this fix
- Adjusted hpuxuseradd user provider to confine to HP-UX
-
Fixed #1566 - changed password property of the user type
Fixed debug messages in package type
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index ff9858ed0..d6de3e2e1 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -316,6 +316,7 @@ module Util
$stdin.reopen("/dev/null")
$stdout.reopen(output_file)
$stderr.reopen(output_file)
+ 3.upto(256){|fd| IO::new(fd).close rescue nil}
if arguments[:gid]
Process.egid = arguments[:gid]
Process.gid = arguments[:gid] unless @@os == "Darwin"