Issue #887 has been updated by Luke Kanies.

Target version changed from Puppet - unplanned to Puppet - 0.25.2

This really shouldn't be that hard of a fix - just replace each call to pkgget 
with 'withenv :PAGER => "/usr/bin/cat" { ... }'.

Or rather, alias the method to do exactly that.
----------------------------------------
Bug #887: Environment variable leak in blastwave provider
http://projects.reductivelabs.com/issues/887

Author: Francois Deppierraz
Status: Accepted
Priority: Normal
Assigned to: 
Category: exec
Target version: 0.25.2
Patch: None
Affected version: 0.25.1
Keywords: 
Branch: 


In provider/package/blastwave.rb:

<pre>
    # This is so stupid, but then, so is blastwave.
    ENV[[PAGER]] = "/usr/bin/cat"
</pre>

This environment variable leaks in all other types (such as exec). This could 
lead to strange behaviours of script launched by an exec because under some OS 
/usr/bin/cat does not exist.

This problem appeared during an automated Vmware Workstation installation, the 
vmware-install.pl script failed when run with PAGER=/usr/bin/cat. 


-- 
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://reductivelabs.com/redmine/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.


Reply via email to