Commit: 56f7a456cc8b7d8fb1ebf0f3ed599f94bafe011d
Parent: 6a83d146706c7dbdf7772fc65f5a4d84eddc594f
Author: Guillem Jover <guillem@hadrons.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2019-12-16 21:08:58
Tree: ef4d3cf5123a0045ef6c40f964a201949578f684

shared/mainloop: Use connect() instead of bind() for sd_notify We are the client, so we should be using connect(2) instead of bind(2), otherwise when using non-abstract Unix sockets we will get an error that the address is already in use. This breaks the notify support in dpkg's start-stop-daemon.

Diffstat

M src/shared/mainloop-notify.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch