Issue #887 has been updated by Kjetil Torgrim Homme.

Category changed from Solaris to exec

I was surprised that evalutation of a provider doesn't stop after a failing 
confine, but since it doesn't, this bug actually affects all operatingsystems.

there is a very simple fix:  since /bin is a symlink to /usr/bin on Solaris, 
use the full path "/bin/cat".

(a colleague had the exact same problem as the original reporter just now :-)

----------------------------------------
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: unplanned
Patch: None
Affected version: 0.24.8
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