On 03/18/2014 10:07 AM, Lionel Cons wrote:
On 17 March 2014 10:02, Franz Schmidt <[email protected]> wrote:
Hi list,
is any of you using ksh on Linux? I have a problem with RedHat 6 systems
where the link /usr/bin/ksh -> / bin/ksh is missing, which breaks existing
scripts...
Would be interested if somebody has the same issue.
There's an entry in the RH support portal, but no access without $$$.
https://access.redhat.com/site/solutions/59186
CCing ast-users. My guess is that the link is part of an extra package
or config script.
Michal?
Lionel
Hi,
we've installed ksh only in /bin/ksh. Because pdksh in RHEL5 provided
/usr/bin/ksh and we introduced alternatives for switching. We've
switched both /bin/ksh and /usr/bin/ksh As this is no longer needed with
pdksh->mksh replacement, we did not use alternatives at first and
neither /use/bin/ksh symlink in ksh package. Later, because of
significant demand, we've added alternatives switching back. As neither
ksh nor mksh contained the /usr/bin/ksh symlink, there was no file
conflict to solve and the symlink was not added to the alternatives.
So the solution is:
a) for a few computers - create symlink manually
b) for more computers - create ksh-usrbin package and drop it in your
own package repository
$ rpmbuild -ba ksh-usrbin.spec
============== ksh-usrbin.spec ================
Name: ksh-usrbin
Version: 1
Release: 1
Summary: /usr/bin/ksh symlink
Group: System Environment/Shells
License: EPL
Requires: ksh
%description
/usr/bin/ksh symlink
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
ln -s /bin/ksh $RPM_BUILD_ROOT/usr/bin/ksh
%files
%{_bindir}/ksh
%changelog
==============================================
Michal
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users