regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

Regolith booting terminals with zombie processes #922

Open Sturgelose opened 9 months ago

Sturgelose commented 9 months ago

Describe the bug Regolith is starting my terminals in a weird way.

For some reason, aliases of omz are not being loaded, the kubectl plugin seems to start a new executing in the background every time I open the terminal.

However, if I open a new tab, things work, and if I open exactly the same terminal and same config in Ubuntu Wayland (no regolith) all works as expected!

So, I somehow ended finding out that whatever terminal I try with in regolith, the first tab is "broken" and leaving zombie processes that consume memory. But in Ubuntu Wayland, same config testing all terminals, all works fine.

It feels like regolith is not loading properly the terminal context somehow for any terminal in my system? And again, I'm pointing regolith because being a terminal, I'd expect having exactly the same behaviour either in regolith than Ubuntu Wasyland.

To Reproduce Steps to reproduce this behavior:

(tested with tilix, gnome-terminal and terminator)

  1. Open a terminal in regolith (CTRL+Enter)
  2. OMZ aliases do not work, a command to fetch kubectl status from OMZ ends zombie
  3. Open a new tab in the same terminal window, all fine
  4. omz reload in the original tab (which didn't use to work) and all works fine.
  5. Close terminals and I have a new kubectl command zombie consuming memory

Extra: repeat the same steps in Ubuntu Wayland and aliases do work in the first test and no zombie processes.

Expected behavior No zombie processes and terminal booting properly. In fact the same behaviour as in Gnome Wayland

Screenshots If applicable, add screenshots to help explain your problem.

Configuration file(s) Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.

Installation Details

Additional context Add any other context about the problem here.