Issue #14964 has been updated by Matthaus Litteken.
Released in Puppet 3.0.0-rc4 ---------------------------------------- Bug #14964: Puppet fails to unlink stdout tempfile if child process is launched asynchronously https://projects.puppetlabs.com/issues/14964#change-70023 Author: Josh Cooper Status: Closed Priority: Normal Assignee: Josh Cooper Category: windows Target version: 2.7.19 Affected Puppet version: 2.7.6 Keywords: windows exec start Branch: https://github.com/puppetlabs/puppet/pull/927 Executing the following generates an error because the notepad.exe process inherits a copy of the stdout tempfile handle, preventing puppet from being able to unlink it: <pre> c:/work/puppet> envpuppet puppet apply -e "exec { 'cmd.exe /c start notepad.exe': path => $path }" --trace c:/puppetwinbuilder/sys/ruby/lib/ruby/1.8/tempfile.rb:170:in `unlink' c:/puppetwinbuilder/sys/ruby/lib/ruby/1.8/tempfile.rb:170:in `callback' c:/puppetwinbuilder/sys/ruby/lib/ruby/1.8/tempfile.rb:119:in `call' c:/puppetwinbuilder/sys/ruby/lib/ruby/1.8/tempfile.rb:119:in `close!' c:/puppetwinbuilder/sys/ruby/lib/ruby/1.8/tempfile.rb:110:in `close' c:/work/puppet/ext/../lib/puppet/util.rb:425:in `wait_for_output' c:/work/puppet/ext/../lib/puppet/util.rb:418:in `times' c:/work/puppet/ext/../lib/puppet/util.rb:418:in `wait_for_output' c:/work/puppet/ext/../lib/puppet/util.rb:401:in `execute' ... err: /Stage[main]//Exec[cmd.exe /c start notepad.exe]/returns: change from notrun to 0 failed: Permission denied - C:/Users/albert/AppData/Local/Temp/puppet20120611-804-150gmfc-0 notice: Finished catalog run in 1.50 seconds </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 [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.
