[Pkg-netatalk-devel] Bug#1040065: Bug#1040065: afpd: systemd-logind ReleaseSession rejected by dbus-daemon
Daniel Markstedt
markstedt at gmail.com
Sun Jul 2 06:26:23 BST 2023
On Sat, Jul 1, 2023 at 3:27 PM Richard van den Berg <richard at vdberg.org> wrote:
>
> Package: netatalk
> Version: 3.1.12~ds-8
> Severity: normal
> Tags: patch
>
> I am using netatalk for time machine backups. After every session I see this
> line in /var/log/auth.log
>
> 2023-07-01T22:31:47.223949+02:00 my-server dbus-daemon[1538889]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.153636" (uid=145 pid=2690475 comm="/usr/sbin/afpd -d -F /etc/netatalk/afp.conf") interface="org.freedesktop.login1.Manager" member="ReleaseSession" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1538900 comm="/lib/systemd/systemd-logind")
>
> Today I finally found the solution at https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/1538004
>
> It is simple really, in /etc/pam.d/netatalk replace this line:
>
> @include common-session
>
> with this line:
>
> @include common-session-noninteractive
>
Hi Richard,
Thanks for reporting and tracking down the fix.
Do I understand correctly that the fix is confirmed to resolve the
issue for you?
Now, /etc/pam.d/netatalk is obviously a generated file, so for a
persistent fix the file that needs to change is macros/pam-check.m4
I think this should ideally be fixed upstream, so if you have a moment
to spare it'd be helpful if you filed an issue ticket at
https://github.com/Netatalk/netatalk/issues
Best,
Daniel
More information about the pkg-netatalk-devel
mailing list