> Did you set a mediator to adjust OI's perl?
> # pkg mediator
This is the first time I've heard mention of a mediator. I did notice
the several versions of perl on my system but did not realize I needed
a mediator to make one decisive.
> My WAG is you set perl -V 5.24 but left system-perl -V 5.22.
> /usr/perl5/bin/cpan likely invokes /usr/perl5/5.22/bin/perl, assuming
> you have PATH=/usr/sbin:/usr/bin:/usr/perl5/bin, which has a broken or
> non-existent Term::ReadKey and Term::ReadLine::Perl
I followed your direction below
>
pkg.openindiana.org has runtime/perl-534, I have tested using it in
> a non-global zone and cannot reproduce your memory bomb.
> # pkg set-mediator -V 5.34 perl
> # pkg set-mediator -V 5.34 system-perl
>
I set the mediator as advised. I then checked with both perl -V and
perl -version to see what was displayed. Still 5.24 ... I thought
perhaps a reboot was necessary and did a reboot.
Once the os was up I went to /usr/perl5/5.34/bin to make sure I was
calling the right cpan I typed cpan and entered the shell. I then
started to search for a module `m /lchown/' soon as I hit enter the
dreaded ghost program took over the cpan shell and has rendered the
entire OS unusable.
A day or two ago I created another OI host (vbox vm as the original)
I have been getting it up to date and so forth. Cpan on it has none
of this problem.
After calling pkg set-mediator -V 5.34 perl and ditto system-perl. Is
it correct that perl -V and perl -version should still point to 5.24?
I note too that `which perl' shows /usr/perl5/5.24/bin/perl
On the new OI OS I mentioned, I also followed your suggestion for
setting mediator... Also rebooted it. That OS also shows the same
things as reported above for the problem OS. (But without the ghost
program).
Admittedly I have no idea what setting a mediator really does. But
curious to know if the reported outputs is expected?