kafka-ops / julie

A solution to help you build automation and gitops in your Apache Kafka deployments. The Kafka gitops!
MIT License
417 stars 113 forks source link

Julie Auto-Complete breaks User-Session #557

Open Fobhep opened 1 year ago

Fobhep commented 1 year ago

This is a placeholder for now - will specify further still

Dugong42 commented 1 year ago

I ran into a similar issue when installing julie in my WSL Ubuntu from the v4.4.1 DEB file.

After installing it, I could not open new shells, instead I had the error :

-bash: LC_IDENTIFICATION: unbound variable

Commands ran with wsl -e <cmd> with no interactive shell still worked, so I thought there was something wrong with the startup scripts.

Uninstalling julie fixed my problem, though I don't know exactly what caused the issue.

Fobhep commented 1 year ago

yeah - I wonder whether we can fix this by removing the set -o nounset line from the script. I am only confused since I thought I had this working before w/o any issues :D

Fobhep commented 1 year ago

ok - imho this is due to https://github.com/systemd/systemd/issues/19987

I did not manage to check in the nick of time, whether that was fixed for systemd-249 already or only afterwards. I for myself have sytemd249 - @Dugong42 can you check your systemd version?

Fobhep commented 1 year ago

ok - wrong again.

#!/usr/bin/env bash
#set -o errexit
set -o nounset
set -o pipefail

works again if I remove the first bash-set-command. @purbon wdyt? could we make this a dirty-hot-fix to remove the bash-flags until we have a proper solution again? Keeping this way will likely break a bunch of user-sessions of people :P

Fobhep commented 1 year ago

Created a hotfix

Dugong42 commented 1 year ago

I did not manage to check in the nick of time, whether that was fixed for systemd-249 already or only afterwards. I for myself have sytemd249 - @Dugong42 can you check your systemd version?

Though the installed version is 245, systemd is not enabled on my WSL. So not sure if that helps...