[Pkg-samba-maint] Bug#993347: Bug#993347: samba: recent systemd update (DSA-4942-1) makes samba-ad-dc complain about PID's.

Mathieu Parent math.parent at gmail.com
Tue Aug 31 09:41:21 BST 2021


Le mar. 31 août 2021 à 10:21, louis at van-belle.nl <louis at van-belle.nl> a écrit :
>
> Package: samba
> Version: 2:4.13.5+dfsg-2
> Severity: important
> X-Debbugs-Cc: louis at van-belle.nl
>
> Hai
>
> current samba-ad-dc complains about Type=notify(-all)
>
> We are getting the mssage.
> Got notification message from PID xxxxx, but reception only permitted for main PID yyyy
>
> Suspectily the update in Systemd while Bullseye was in freeze triggered above message
> (see https://www.debian.org/security/2021/dsa-4942)
>
> The fix is simple.
> Change in samba-ad-dc.service Type=Notify to Type=Fork
> it only effects (as far i can tell) the AD-DC setups.

Thanks Louis for this.

Maybe a better fix is to use:

NotifyAccess=all

https://www.freedesktop.org/software/systemd/man/systemd.service.html#NotifyAccess=

Cheers
-- 
Mathieu Parent



More information about the Pkg-samba-maint mailing list