atalkd won't start in ubuntu 18.04
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.
ProcVersionSign
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: netatalk
UpgradeStatus: Upgraded to bionic on 2019-05-20 (77 days ago)
modified.
modified.
modified.
modified.
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
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/ bbc0d89c056be3a 2b5efa6bf5428f7 ba8f07a1d0
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.