-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Milestone
Description
Describe the bug
While attempting to get afpstats
working on macOS, I found that afpd
often crashes when a client connects to a server that has afpstats = yes
set, whether dbus is running or not.
To Reproduce
- Install
netatalk
from Homebrew - set
afpstats = yes
in [Global] of afp.conf - ensure dbus is not running
sudo netatalkd start
- (optional) run
afpstats
to get error:org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /opt/homebrew/var/run/dbus/system_bus_socket: Connection refused
- from another Mac: connect to the server
Expected/Actual behavior
- expected: The client Mac would connect.
- actual: The client Mac gives "There was a problem connecting to the server" right after authenticating, and afpd sometimes crashes on the server
Simply removing afpstats = yes
allows netatalk to work properly.
Environment
- Server OS: macOS Sonoma arm64
- Client OS: macOS Monterey x86_64
- Netatalk Version: 4.3.0
Configuration
[Global]
log file = /var/log/netatalk.log
log level = default:maxdebug
afpstats = yes
[Homes]
basedir regex = /Users
Logs
see attachments
Metadata
Metadata
Assignees
Labels
No labels