ast icon indicating copy to clipboard operation
ast copied to clipboard

KornShell no longer in Amazon Linux 2

Open marcastel opened this issue 4 years ago • 3 comments

Since prior version is end of life, I have been looking into Amazon Linux 2 for my AWS instances.

KornShell is no longer part of the (base) distribution

This is catastrophic. We need (want) our POSIX Shell back.

Any ideas as how to get this corrected ? That is, a ksh93u-compatible KornShell named ksh, located in /bin and listed in /etc/shells.

I can provide a helping hand provided I have directives and some visibility on where we are going.

marcastel avatar Feb 11 '20 08:02 marcastel

that move seems hardly related to the ksh2020 situation and the ongoing readjustments of this project I presume. so it seems a "random coincidence" that it happens right now. if it is not random, I would say it is another indication that the reset of this repo to 93u+ and the planned "community fork" are the right way to proceed.

I have no idea how to rectify the situation, assuming that you writing to their support service and requesting to reinstate /bin/ksh will not have any effect whatsoever....

jghub avatar Feb 11 '20 18:02 jghub

@marcastel is it not possible to just install it withyum install ksh

dannyweldon avatar Feb 12 '20 02:02 dannyweldon

@dannyweldon Obviously yes. But this only does the job for manual installations.

I use cloud-init for my on premises and in the cloud virtual machines. Not having KornShell as a primary shell means that a) I cannot automatically create my users, and b) all my shell scripts cannot be run... or at the cost of a lot of (dirty) tweaking.

Not having KornShell as a primary shell is sort of going back three decades ago in the System V, Xenix and SCO quarrels. Then came POSIX. Then came Linux, which is not POSIX. And we are in for the same quarrels. You can lead a donkey to water, but you can't make it drink.

marcastel avatar Feb 12 '20 05:02 marcastel