[Discuss] Linux command-line mystery: why does "cd" hang?
Kent Borg
kentborg at borg.org
Wed Sep 9 09:31:25 EDT 2026
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.
More information about the Discuss
mailing list