Comment 3 for bug 1538004

Revision history for this message
Dan Smith (danms) wrote :

This bug seems to be preventing me from using afpd at all. It seems like a dbus/systemd policy issue. Here are my logs when trying to log into afpd remotely:

Mar 12 08:28:11 challenger systemd-logind[5961]: New session c684 of user dan.
Mar 12 08:28:11 challenger systemd[1]: Started Session c684 of user dan.
Mar 12 08:28:11 challenger afpd[23024]: Login by dan (AFP3.4)
Mar 12 08:28:12 challenger collectd[29229]: smart plugin: unable to get temperature for /dev/sda.
Mar 12 08:28:13 challenger afpd[23024]: AFP logout by dan
Mar 12 08:28:13 challenger afpd[23024]: dsi_stream_read: len:0, unexpected EOF
Mar 12 08:28:13 challenger afpd[23024]: afp_over_dsi: client logged out, terminating DSI session
Mar 12 08:28:13 challenger afpd[23024]: pam_unix(netatalk:session): session closed for user dan
Mar 12 08:28:13 challenger dbus[6025]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.1615" (uid=1000 pid=23024 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=5961 comm="/lib/systemd/systemd-logind ")
Mar 12 08:28:13 challenger afpd[23024]: pam_systemd(netatalk:session): Failed to release session: Access denied
Mar 12 08:28:13 challenger afpd[23024]: PAM audit_log_acct_message() failed: Operation not permitted
Mar 12 08:28:13 challenger afpd[23024]: AFP statistics: 0.58 KB read, 0.44 KB written
Mar 12 08:28:13 challenger systemd-logind[5961]: Removed session c684.

Maybe related to this upstream systemd bug?

https://github.com/systemd/systemd/issues/6375