On Tue, 14 Jun 2022 at 17:59:24 +0200, Andrei Borzenkov wrote:
On 14.06.2022 17:57, Wolfgang Mueller wrote:
Today at 13:00 my other computer suddenly became dark in KDE under Leap 15.4, recently installed. Then I opened a console and found out that tcsh does not work any more. I prepared three very simple scripts for testing purposes:
-rwxr-xr-x 1 wolfgang 28 Jun 14 15:41 script.tcsh -rwxr-xr-x 1 wolfgang 27 Jun 14 15:57 script.sh -rwxr-xr-x 1 wolfgang 29 Jun 14 15:45 script.bash
script.tcsh, consists of these 2 lines: #!/bin/csh echo 'Hi, world'
script.sh, consists of these 2 lines: #!/bin/sh echo 'Hi, world
and script.bash, consists of these 2 lines: #!/bin/bash echo 'Hi, world'
Invoking them directly fails, yielding the error messages: script.tcsh: Command not found. script.sh: Command not found. script.bash: Command not found.
Which is expected as current working directory is not in PATH by default.
When I invoke one of them specifying "tcsh", i.e. tcsh-prompt> tcsh script.tcsh the script hangs and has to be dropped with CTRL C. The same for tcsh-prompt> sh script.sh and tcsh-prompt> bash script.bash.
The only way to make the scripts work is invoking them in a bash session. Now bash-prompt> tcsh script.tcsh hangs again, but bash-prompt> sh script.sh and bash-prompt> bash script.bash work correctly, producing the output Hi, world
But even in a bash session, it is not possible to invoke the scripts directly.
Anyway, I urgently need tcsh, having a lot of scripts working under tcsh or csh only.
Could be something wrong with filesystem or hard disk. Upload full output of "journalctl -b" to https://susepaste.org/
Not knowing how to get access to the site indicated by you, I wrote the output of "journalctl -b" on my own site: http://www.ariannuccia.de/temp/Borzenkov/journalctl-b.html Best regards and thank you for your help, Wolfgang