It was found that systemd-logind malfunctioned, By restarting it — systemctl restart systemd-logind The problem is resolved.
tcsh script behavior change
Recently I noticed a tcsh behavior change. CentOS7, Rocky 8, Ubuntu 20.04, Fedora 41, and Linux Mint if you have a string variable in tcsh, like set a=”mystring” and attempt to get its path when treating is as a filename: set b=”$a:h” it will return $a itself. To be noted that the expect behavior when […]
Window 11 cannot install Asian Keyboard
It happened to me that when I attempt to install Chinese/Japan/Korean input method to my windows 11 box, it fails on installing the “Basic Typing” after attempted to download for about 30 seconds with error “Sorry, we’re having trouble installing this feature. You can try again later. Error code 0x0”. And all other components like […]
When dnf/yum update stuck on cleaning up…
Sometimes when you are doing dnf/yum update, the progress may stop on the last step – cleaning up packages for hours, if you have a super large data drive. This may be caused by an installing script falsely attempts to scan through multi-million files on your data drive that is not mounted in a regular […]
Restart docker failed on docker0 network interface
Sometimes when you attempt to restart docker.service, it fails on cannot restart docker0 network interface. In this case, you can simple do ifdown docker0 Then you can start docker.service again.
Replacing linux system drive over EFI boot while expanding partitions
If only to replace a system drive, doing a dd of old drive to new drive will work. However, in most of cases the driving force of replacing drives is that the drive size is not big enough to host increasing size of system files. In this case, only doing dd will screw you up […]
Stop tcsh log in script from interrupting scp
If you are using tcsh shell, and your login script has screen output like an echo line, scp will be interrupted. To prevent this, knowing that for an interactive ssh session, it will open a tty, but embedded session like scp will not generate a tty. Thus this can be distinguished by checking if the […]
rsync no mounts and ssh no profile
rsync -ax ssh -t user@host –noprofile
E-Prime 3 presentation can only run on CPU 0
E-Prime 3 got a new issue with recent Windows 10 update. The presentation nearly always stuck at the end of the first item. Diagnose showed that only when E-Prime/E-Run was running on CPU 0, it can finish properly. To enforce this, a shortcut is created for each E-Run file with the target as C:\Windows\System32\cmd.exe /c […]
Mellanox MSN2100 Switch fan tolerance
My Mellanox MSN2100 switch constantly has the “system status” LED on red since purchase. By looking into its system status: show system-health detail System status summary System status LED redServices:Status: OKHardware:Status: Not OKReasons: Failed to get speed tolerance for fan4Failed to get speed tolerance for fan3Failed to get speed tolerance for fan2Failed to get speed […]