[Pkg-netatalk-devel] Bug#1051103: netatalk: Unknown error: 211 from macOS when trying to mount in 3.1.15~ds-2 or later

David Gilman davidgilman1 at gmail.com
Sat Sep 2 20:18:47 BST 2023


Package: netatalk
Version: 3.1.15~ds-2
Severity: important
X-Debbugs-Cc: davidgilman1 at gmail.com

Dear Maintainer,

After the update from 3.1.15~ds-1 to 3.1.15~ds-2 any attempt to mount an
exported AFP share from macOS results in "Unknown error: 211" on the Mac
side. This was not fixed in 3.1.15~ds-3.

I was able to confirm the regression by downgrading from -3 to -2 to -1
on the same setup to find that it was working on -1 and not -2.

Note that my Debian side configuration is a bit of a monster, I am
pinning netatalk from sid, but am otherwise on bookworm. The Mac is
running macOS 13.5.1.

I have attached some hopefully relevant system logs from the Mac.

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (990, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages netatalk depends on:
ii  init-system-helpers      1.65.2
ii  libacl1                  2.3.1-3
ii  libavahi-client3         0.8-10
ii  libavahi-common3         0.8-10
ii  libc6                    2.36-9+deb12u1
ii  libcrack2                2.9.6-5+b1
ii  libcrypt1                1:4.4.33-2
ii  libdb5.3                 5.3.28+dfsg2-1
ii  libdbus-glib-1-2         0.112-3
ii  libevent-2.1-7           2.1.12-stable-8
ii  libgcrypt20              1.10.1-3
ii  libglib2.0-0             2.74.6-2
ii  libgssapi-krb5-2         1.20.1-2
ii  libkrb5-3                1.20.1-2
ii  libldap-2.5-0            2.5.13+dfsg-5
ii  libmariadb3              1:10.11.3-1
ii  libpam-modules           1.5.2-6
ii  libpam0g                 1.5.2-6
ii  libssl3                  3.0.9-1
ii  libtalloc2               2.4.0-f2
ii  libtdb1                  1.4.8-2
ii  libtirpc3                1.3.3+ds-1
ii  libtracker-sparql-3.0-0  3.4.2-1
ii  libwrap0                 7.6.q-32
ii  netbase                  6.4
ii  perl                     5.36.0-7

Versions of packages netatalk recommends:
pn  avahi-daemon      <none>
pn  cracklib-runtime  <none>
ii  dbus              1.14.8-2~deb12u1
ii  lsof              4.95.0-1
ii  procps            2:4.0.2-3
ii  python3           3.11.2-1+b1
pn  python3-dbus      <none>
pn  tracker           <none>
pn  tracker-miner-fs  <none>

Versions of packages netatalk suggests:
pn  quota  <none>

-- Configuration Files:
/etc/netatalk/afp.conf changed [not included]

-- no debconf information
-------------- next part --------------
default	15:00:17.038995-0400	mount_afp	Received configuration update from daemon (initial)
default	15:00:17.041529-0400	mDNSResponder	[R264] DNSServiceCreateConnection START PID[1484](mount_afp)
default	15:00:17.041601-0400	mDNSResponder	[R265] DNSServiceQueryRecord(1D000, 0, <mask.hash: 'xb4GXrLGH70Ucek5Dx1p0Q=='>, Addr) START PID[1484](mount_afp)
default	15:00:17.041635-0400	mDNSResponder	[R265->Q0] InitDNSConfig: Setting StopTime on the uDNS question 0x7f8f93815af8 <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (Addr)
default	15:00:17.041706-0400	mDNSResponder	[R266] DNSServiceQueryRecord(1D000, 0, <mask.hash: 'xb4GXrLGH70Ucek5Dx1p0Q=='>, AAAA) START PID[1484](mount_afp)
default	15:00:17.041723-0400	mDNSResponder	[R266->Q0] InitDNSConfig: Setting StopTime on the uDNS question 0x7f8f93816af8 <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (AAAA)
default	15:00:17.041762-0400	mDNSResponder	[R265->Q0] GenerateNegativeResponse: Generating negative response for question <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (Addr)
default	15:00:17.041780-0400	mDNSResponder	<private>
default	15:00:17.041794-0400	mDNSResponder	<private>
default	15:00:17.041927-0400	mDNSResponder	[R265->Q47952] Question for <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> (Addr) assigned DNS service 1
default	15:00:17.041946-0400	mDNSResponder	[R266->Q0] GenerateNegativeResponse: Generating negative response for question <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (AAAA)
default	15:00:17.041960-0400	mDNSResponder	<private>
default	15:00:17.041970-0400	mDNSResponder	<private>
default	15:00:17.042035-0400	mDNSResponder	[R266->Q62378] Question for <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> (AAAA) assigned DNS service 1
default	15:00:17.042052-0400	mDNSResponder	[Q62378] DetermineUnicastQuerySuppression: Query suppressed for <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> AAAA (AAAA records are unusable)
default	15:00:17.043278-0400	mDNSResponder	[R266->Q62378] GenerateNegativeResponse: Generating negative response for question <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> (AAAA)
default	15:00:17.043364-0400	mDNSResponder	[R266->Q62378] DNSServiceQueryRecord(<mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, AAAA) RESULT ADD interface 0: (mortal, DNSSEC Indeterminate)<mask.hash: 'WYiTWRaFKuHna/SgEX+ueA=='>
default	15:00:17.043581-0400	mDNSResponder	[Q47952] Sent 31-byte query #1 to <IPv4:BBBFcAkb> over UDP via en0/4 -- id: 0xEC80 (60544), flags: 0x0100 (Q/Query, RD, NoError), counts: 1/0/0/0, BBABmgpA IN A?
default	15:00:17.046798-0400	mDNSResponder	[Q47952] Received acceptable 47-byte response from <IPv4:BBBFcAkb> over UDP via en0/4 -- id: 0xEC80 (60544), flags: 0x8580 (R/Query, AA, RD, RA, NoError), counts: 1/1/0/0, BBABmgpA IN A?, 0 IN A BBrCwlmp
default	15:00:17.046890-0400	mDNSResponder	[Q47952] Handling concluded querier: BBABmgpA A IN
default	15:00:17.046979-0400	mDNSResponder	[R265->Q47952] DNSServiceQueryRecord(<mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, A) RESULT ADD interface 0: (mortal, DNSSEC Indeterminate)<mask.hash: 'JC5BPex5B6U2poB4tDivXQ=='>
default	15:00:17.047068-0400	mDNSResponder	NEHelperTrackerAddIPForAllFlows: completed for app <1484 : 780669ba-6d89-35fa-b043-805ea1dded34> <app approved 0> <is_tracker 0>
default	15:00:17.047393-0400	mount_afp	networkd_settings_read_from_file initialized networkd settings by reading plist directly
default	15:00:17.047224-0400	mDNSResponder	[R265] DNSServiceQueryRecord(1D000, 0, <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, Addr) STOP PID[1484](mount_afp)
default	15:00:17.047280-0400	mDNSResponder	[R266] DNSServiceQueryRecord(1D000, 0, <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, AAAA) STOP PID[1484](mount_afp)
default	15:00:17.047593-0400	mount_afp	networkd_settings_read_from_file initialized networkd settings by reading plist directly
default	15:00:17.050420-0400	mount_afp	FindValidIPAddress - connect failed socket 0, optionValue 61
default	15:00:17.050570-0400	mount_afp	Entering exit handler.
default	15:00:17.050601-0400	mount_afp	Queueing exit procedure onto XPC queue. Any further messages sent will be discarded. activeSendTransactions=0
default	15:00:17.051101-0400	mDNSResponder	[R264] DNSServiceCreateConnection STOP PID[1484](mount_afp)
default	15:00:17.051152-0400	automountd	mount of /System/Volumes/Data/nfs failed: Unknown error: 211
default	15:00:17.050741-0400	mount_afp	Cancelling XPC connection. Any further reply handler invocations will not retry messages
default	15:00:17.050767-0400	mount_afp	Exiting exit handler.
default	15:00:17.054809-0400	mount_afp	Received configuration update from daemon (initial)
default	15:00:17.057312-0400	mDNSResponder	[R267] DNSServiceCreateConnection START PID[1485](mount_afp)
default	15:00:17.057368-0400	mDNSResponder	[R268] DNSServiceQueryRecord(1D000, 0, <mask.hash: 'xb4GXrLGH70Ucek5Dx1p0Q=='>, Addr) START PID[1485](mount_afp)
default	15:00:17.057389-0400	mDNSResponder	[R268->Q0] InitDNSConfig: Setting StopTime on the uDNS question 0x7f8f94010cf8 <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (Addr)
default	15:00:17.057441-0400	mDNSResponder	[R269] DNSServiceQueryRecord(1D000, 0, <mask.hash: 'xb4GXrLGH70Ucek5Dx1p0Q=='>, AAAA) START PID[1485](mount_afp)
default	15:00:17.057463-0400	mDNSResponder	[R269->Q0] InitDNSConfig: Setting StopTime on the uDNS question 0x7f8f9501d4f8 <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (AAAA)
default	15:00:17.057502-0400	mDNSResponder	[R268->Q0] GenerateNegativeResponse: Generating negative response for question <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (Addr)
default	15:00:17.057521-0400	mDNSResponder	<private>
default	15:00:17.057532-0400	mDNSResponder	<private>
default	15:00:17.057626-0400	mDNSResponder	[R268->Q61853] Question for <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> (Addr) assigned DNS service 1
default	15:00:17.057645-0400	mDNSResponder	[R269->Q0] GenerateNegativeResponse: Generating negative response for question <mask.hash: '818c/DcTV0qOmKbL4DEBQA=='> (AAAA)
default	15:00:17.057657-0400	mDNSResponder	<private>
default	15:00:17.057667-0400	mDNSResponder	<private>
default	15:00:17.057734-0400	mDNSResponder	[R269->Q55875] Question for <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> (AAAA) assigned DNS service 1
default	15:00:17.057754-0400	mDNSResponder	[Q55875] DetermineUnicastQuerySuppression: Query suppressed for <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> AAAA (AAAA records are unusable)
default	15:00:17.058962-0400	mDNSResponder	[R268->Q61853] DNSServiceQueryRecord(<mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, A) RESULT ADD interface 0: (mortal, DNSSEC Indeterminate)<mask.hash: 'JC5BPex5B6U2poB4tDivXQ=='>
default	15:00:17.059017-0400	mDNSResponder	NEHelperTrackerAddIPForAllFlows: completed for app <1485 : 780669ba-6d89-35fa-b043-805ea1dded34> <app approved 0> <is_tracker 0>
default	15:00:17.059058-0400	mDNSResponder	[R269->Q55875] GenerateNegativeResponse: Generating negative response for question <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='> (AAAA)
default	15:00:17.059081-0400	mDNSResponder	[R269->Q55875] DNSServiceQueryRecord(<mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, AAAA) RESULT ADD interface 0: (mortal, DNSSEC Indeterminate)<mask.hash: 'WYiTWRaFKuHna/SgEX+ueA=='>
default	15:00:17.059264-0400	mount_afp	networkd_settings_read_from_file initialized networkd settings by reading plist directly
default	15:00:17.059154-0400	mDNSResponder	[R268] DNSServiceQueryRecord(1D000, 0, <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, Addr) STOP PID[1485](mount_afp)
default	15:00:17.059181-0400	mDNSResponder	[R269] DNSServiceQueryRecord(1D000, 0, <mask.hash: '8dGOKX4ztYMc1BuY/xkHOA=='>, AAAA) STOP PID[1485](mount_afp)
default	15:00:17.059398-0400	mount_afp	networkd_settings_read_from_file initialized networkd settings by reading plist directly
default	15:00:17.061969-0400	mount_afp	FindValidIPAddress - connect failed socket 0, optionValue 61
default	15:00:17.062087-0400	mount_afp	Entering exit handler.
default	15:00:17.062105-0400	mount_afp	Queueing exit procedure onto XPC queue. Any further messages sent will be discarded. activeSendTransactions=0
default	15:00:17.062532-0400	mDNSResponder	[R267] DNSServiceCreateConnection STOP PID[1485](mount_afp)
default	15:00:17.062200-0400	mount_afp	Cancelling XPC connection. Any further reply handler invocations will not retry messages
default	15:00:17.062227-0400	mount_afp	Exiting exit handler.


More information about the pkg-netatalk-devel mailing list