atalkd won't start in ubuntu 18.04

Bug #1839015 reported by padarjohn
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
netatalk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I recently upgraded my 14.04LTS system to 18.04LTS. Now I can't get appletalk to work. I've been using Netatalk with the same configuration files for literally decades. After upgrading to 18.04 I can no longer start atalkd. When I try to start atalkd I get

atalkd[7429]: setifaddr: eth0 (1-65534): Invalid argument. try specifying a smaller net range. kernel: [306678.802055] Too many routes/iface.

Changing the -net value in atalkd.conf has no effect.

My original atalkd.conf file consists of a single line:
eth0 -phase 2 -net 0-65534 -addr 65280.163

I've tried
eth0 -net 9461-9471
as well as just
eth0
with exactly the same result. I don't know where the 1-65534 is coming from.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netatalk 2.2.6-1ubuntu0.18.04.2
ProcVersionSignature: Ubuntu 4.15.0-50.54-generic 4.15.18
Uname: Linux 4.15.0-50-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 5 10:48:20 2019
InstallationDate: Installed on 2015-06-07 (1519 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: netatalk
UpgradeStatus: Upgraded to bionic on 2019-05-20 (77 days ago)
modified.conffile..etc.default.netatalk: [modified]
modified.conffile..etc.netatalk.AppleVolumes.default: [modified]
modified.conffile..etc.netatalk.AppleVolumes.system: [modified]
modified.conffile..etc.netatalk.afp_ldap.conf: [modified]
modified.conffile..etc.netatalk.afpd.conf: [modified]
modified.conffile..etc.netatalk.atalkd.conf: [modified]
modified.conffile..etc.netatalk.papd.conf: [modified]
mtime.conffile..etc.default.netatalk: 2015-06-15T16:43:55.877446
mtime.conffile..etc.netatalk.AppleVolumes.default: 2015-06-07T23:17:49.681494
mtime.conffile..etc.netatalk.AppleVolumes.system: 2013-11-02T10:31:50
mtime.conffile..etc.netatalk.afp_ldap.conf: 2013-11-02T10:31:50
mtime.conffile..etc.netatalk.afpd.conf: 2019-08-05T10:53:13.818567
mtime.conffile..etc.netatalk.atalkd.conf: 2019-08-03T10:10:10.794813
mtime.conffile..etc.netatalk.papd.conf: 2015-06-15T16:31:28.144424

Revision history for this message
padarjohn (john-meissen) wrote :
Revision history for this message
Doug Brown (macg3) wrote :

I ran into this same problem after upgrading to 18.04. The root cause is this patch, which was included in 2.2.6:

https://github.com/Netatalk/Netatalk/commit/bbc0d89c056be3a2b5efa6bf5428f7ba8f07a1d0

It tries to fix things for NetBSD, but in the process breaks things in Linux.

This is disgusting, but I manually patched the atalkd binary on my amd64 server to undo the patch, thus fixing this issue (netatalk 2.2.6-1ubuntu0.18.04.2):

At 0x70AA, change the byte from 0x01 to 0x00.
At 0x70BA, change the byte from 0x01 to 0x00.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netatalk (Ubuntu):
status: New → Confirmed
Revision history for this message
dmarks (markstedt) wrote :

Netatalk 2.2.7 has been released today that addresses this bug: https://github.com/Netatalk/Netatalk/releases/tag/netatalk-2-2-7

The bug was patched in this PR: https://github.com/Netatalk/Netatalk/pull/131

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.