Issue #12725 has been updated by Josh Cooper. Status changed from Accepted to In Topic Branch Pending Review Branch set to https://github.com/puppetlabs/puppet/pull/523
---------------------------------------- Bug #12725: Can't kick a windows agent https://projects.puppetlabs.com/issues/12725#change-55428 Author: Josh Cooper Status: In Topic Branch Pending Review Priority: Normal Assignee: Josh Cooper Category: windows Target version: 2.7.x Affected Puppet version: 2.7.6 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/523 As reported by Andrei Pashkevich <http://groups.google.com/group/puppet-users/browse_thread/thread/5ca3ddc063fad382> If you pass --listen to a windows puppet agent, it will attempt to set the CLOSE-ON-EXEC flag on the http log file, and fail, because Fnctl::FD_CLOEXEC is only defined on Unix platforms. The way to prevent file descriptors from being inherited by child processes on Windows is to use SetHandleInformation <http://msdn.microsoft.com/en-us/library/windows/desktop/ms724935(v=vs.85).aspx> and clear the `HANDLE_FLAG_INHERIT` flag. -- 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.
