atftpd: invalid IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
atftp (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
[Impact]
atftpd crashes with the message "atftpd: invalid IP address" in syslog if the parameter "--port XY" isn't given by hand or by "/etc/default/
[Text Case]
Unfortunately there is no port set in "/etc/default/
Accroding to "man atftpd" it should use some default. "Default is standard
tftp port as determined by getservbyname."
The atftpd seems to stumble doing "getservbyname". This is definetly a BUG.
[Regression Potential]
<fill me in with a discussion of how regressions would typically manifest as a result of this change. It's assumed that all candidate patches are well-tested and have low overall risk of regression; but if there's an area of concern be sure to call it out so testers can check it.>
[Original Report]Cannot start atftpd due to invalid IP address
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: atftpd 0.7.dfsg-11
ProcVersionSign
Uname: Linux 3.2.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Tue Apr 3 16:48:44 2012
EcryptfsInUse: Yes
InstallationMedia: This
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: atftp
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Related branches
- Mathieu Trudel-Lapierre: Disapprove
- Ubuntu branches: Pending requested
-
Diff: 50 lines (+10/-11)3 files modifieddebian/atftpd.postinst (+1/-10)
debian/changelog (+8/-0)
tftpd.c (+1/-1)
description: | updated |
Error message only appears in /var/log/syslog, will not appear when start atftpd from command line