daemon-dbus process will not be stopped after cdc is stopped
What did you do?
ubuntu 20.04, run as the root user remove DBUS_SESSION_BUS_ADDRESS env run
./cdc version
ps -ef | grep dbus-daemon
detail https://asktug.com/t/topic/573263
What did you expect to see?
no more dbus-daemon process is created, or created dbus-daemon is stopped
What did you see instead?
one dbus-daemon process is created and not stopped.
Versions of the cluster
TiCDC version (execute cdc version):
Release Version: v5.3.0
Git Commit Hash: 20626babf21fc381d4364646c40dd84598533d66
Git Branch: heads/refs/tags/v5.3.0
UTC Build Time: 2021-11-22 10:37:02
Go Version: go version go1.16.4 linux/amd64
Failpoint Build: false
The fix PR #4927 has been purged along side all Pulsar code by #7087 back in v6.3.
But later the keyring dependency is brought back by #9393 since v7.3. So this issue is happening again (even if you are not using Pulsar). Reopening.
The root cause of this issue is 99designs/keyring#103, which their maintainer is reluctant to provide any fix. Aside from overwriting the environment variable, I suggest we find a way to get rid of this dependency, unless cdc have some use cases requiring access to GNOME Keyring / KWallet.