-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging switch from valid simple
unit to notify
unit results in abandoned processes.
#27935
Comments
simple
unit to invalid inotify
unit results in abandoned processes.simple
unit to invalid notify
unit results in abandoned processes.
Any update on this? This is a serious problem and a very quick solution. |
OK I'll do it myself. The original systemd unit I wrote left default |
Hello @jboero, The systemd unit for Vault is type The dangling dbus processes you're seeing are likely caused by an upstream dependency which has not been fixed yet. A workaround that ought to resolve it for you would be to define the # /etc/vault.d/vault.env
DBUS_SESSION_BUS_ADDRESS=$XDG_RUNTIME_DIR/bus For further information you can refer to our support article. If that doesn't resolve it please let us know. |
Hi @ryancragun thanks for the update. I didn't realize you had added native dbus support to Vault. I did just try to reproduce this on various versions of systemd and I see it's not a problem on older RHEL 8 environments. This happens since a new systemd
|
simple
unit to invalid notify
unit results in abandoned processes.simple
unit to notify
unit results in abandoned processes.
Excellent thank you for investigating. Well done Mike Oprea |
[UPDATE] this problem is reproduced with systemd v255.10.
Hi a while ago the packaging systemd units were apparently changed from
simple
tonotify
type but I'm seeing problems with unreaped failed processes. I don't think the notifications are being handled correctly. Does anybody else notice these problems?Comit by @RickyGrassmuck please advise.
b09f3c0
Failed processes are not handled and restarting a failed service just forks another instance.
And the pgrep
When using
notify
typeExecStart
should point to a script that handles dbus hooks, not the raw service binary: https://askubuntu.com/questions/1120023/how-to-use-systemd-notify[UPDATE] dbus support was added to Vault so this is no longer a problem.
The text was updated successfully, but these errors were encountered: