Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Linux command-line mystery: why does "cd" hang?



On 9/8/26 7:33 PM, Daniel Barrett wrote:
> Thanks to Gregory Galperin, I was able to zero in on the culprit:
>
>    /etc/profile.d/80-systemd-osc-context.sh
>
> which is a symlink to:
>
>    /usr/lib/systemd/profile.d/80-systemd-osc-context.sh

Never heard of it?no it isn't on my Debian machines.

[web search]

Ah, so it tries to solve the problem of a terminal that is doing nested 
things and letting the user know what is going on. The example from 
their web page:

> |1 |
>       
> |local shell -> SSH remote server -> Docker/Podman/systemd-nspawn 
> container -> run0 elevated command |
>
That the something like this could get tangled up in itself seems very 
plausible.

And it reinforces my dislike of systemd, and suspicion that Docker is 
the first thing people throw at any problem making the starting size and 
complexity always large whether it needs to be or not.


-kb, the Kent who is clearly becoming grumpy.



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org