Project

General

Profile

Actions

Bug #15476

closed

csh should be mediated in the packaging

Added by Dominik Hassler 16 days ago. Updated 9 days ago.

Status:
Closed
Priority:
Low
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

We should make it easy for distributions to replace csh with tcsh.


Related issues

Related to illumos gate - Feature #15471: replace csh based which(1) with implementation in C from BSDNewDominik Hassler

Actions
Actions #1

Updated by Dominik Hassler 16 days ago

  • Related to Feature #15471: replace csh based which(1) with implementation in C from BSD added
Actions #2

Updated by Toomas Soome 14 days ago

Dominik Hassler wrote:

We should make it easy for distributions to replace csh with tcsh.

Or just drop csh from gate and let distributions to handle it. We really should not carry this old source around IMO.

Actions #3

Updated by Electric Monk 14 days ago

  • Gerrit CR set to 2715
Actions #4

Updated by Joshua M. Clulow 14 days ago

I'm in favour of deleting csh once nothing in the gate depends on it (e.g., which). But that will probably need to be an IPD, or at least a separate bug where we coordinate with all the distributions to make sure they have tcsh in place to the extent that they want to avoid disruption for their users.

This seems like a good first step in that direction that should not be disruptive.

Actions #5

Updated by Dominik Hassler 13 days ago

I verified that I can execute csh(1) as well as reading its man page. I also checked whether the mediator and the symlinks are in place:

hadfl@nemesis:~$ uname -a
SunOS nemesis 5.11 gate-ig_15476-ecc59c4b63c i86pc i386 i86pc
hadfl@nemesis:~$ pkg mediator csh
MEDIATOR   VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
csh        system            system     illumos
hadfl@nemesis:~$ ls -l /usr/bin/csh
lrwxrwxrwx   1 root     root          14 Mar 16 16:51 /usr/bin/csh -> ../has/bin/csh
hadfl@nemesis:~$ ls -l /usr/man/man1/csh.1
lrwxrwxrwx   1 root     root          33 Mar 16 16:51 /usr/man/man1/csh.1 -> ../../../has/man/man1has/csh.1has
Actions #6

Updated by Electric Monk 9 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 5418b7d90f4acb3e524771dad953c2cad85e61bb

commit  5418b7d90f4acb3e524771dad953c2cad85e61bb
Author: Dominik Hassler <hadfl@omnios.org>
Date:   2023-03-20T20:22:05.000Z

    15476 csh should be mediated in the packaging
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Andy Fiddaman <illumos@fiddaman.net>
    Approved by: Dan McDonald <danmcd@mnx.io>

Actions

Also available in: Atom PDF