On 03/18/2014 12:10 PM, Matt Lewandowsky wrote:
Looking at the spec file in ksh-20120801-10.el6_5.3.src.rpm, the following
line is the only one which delivers a ksh binary:

install -c -m 755 arch/*/bin/ksh $RPM_BUILD_ROOT/bin/ksh93

There is also %post section which adds alternatives symlink for /bin/ksh and ksh man page.

Filing a bug in the Red Hat Bugzilla might get it fixed in RHEL 7,

In RHEL-7 there is UsrMove bug/feature (depends on ones P.O.V.), /bin being symlink for /usr/bin, so ksh (and other executables) lives in both /bin and /usr/bin automatically (likewise for /sbin and /usr/sbin)


already fixed in the beta for 7. I would suggest that it is unlikely to be
fixed for released major versions, based upon their history of not delivering
new files for existing packages.

In fact this maybe could happen this time. Major reason was to have all shells in one place in the future and we had to draw the line somewhere. As the UsrMove feature makes the future goal pointless and because ksh in RHEL7 will be in both /bin and /usr/bin, there is a chance that the request for /usr/bin/ksh would be approved by management. (If someone files such request in support portal and mentions UsrMove in RHEL7).

This is merely a Red Hat packaging issue, and not an AST problem nor a ksh93
problem. If you use kickstart to install, it might be a good idea to have a
local package which merely has a /usr/bin/ksh -> /bin/ksh symlink if you want
to use your scripts unmodified with a /usr/bin/ksh shebang.

Sure, kickstart is another solution

Michal
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to