Bug#618655: tftpd-hpa coflicts with portsentry (cannot bind tp UDP-port 69)
reassign 618655 portsentry thanks On 03/17/2011 11:33 AM, Bernd Harries wrote: > The Package won't install when portsentry is running and controlling > UDP-Port 69. The normal /etc/init.d/ -startscript fails and thus the > installation breaks. It may also be a problem of portsentry although the > normal tftpd cooperates with the existing portsentry. 69 is the tftp port, so there's no way we're going to use another default than that in tftpd-hpa. if you have set the debconf priority to low, tftpd-hpa asks you upon installation (or dpkg-reconfigure time) which port it should use. so it's easily configurable. however, as said, 69 is the default tftp port, so if portsentry is high-jacking that, it's a bug there. reassigning. -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.net/~daniel.baumann/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#618655: tftpd-hpa coflicts with portsentry (cannot bind tp UDP-port 69)
Package: tftpd-hpa Version: 5.0-22 Severity: normal The Package won't install when portsentry is running and controlling UDP-Port 69. The normal /etc/init.d/ -startscript fails and thus the installation breaks. It may also be a problem of portsentry although the normal tftpd cooperates with the existing portsentry. Because I don't know better, I took port 69 out of the UDP_PORTS= -list in /etc/portsentry/portsentry.conf . My tftpd-hpa startscript is only modified to locate the problem. Ciao, BHA -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages tftpd-hpa depends on: ii adduser 3.112+nmu2 add and remove users and groups ii cdebconf [debconf-2.0]0.153 Debian Configuration Management Sy ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra tftpd-hpa recommends no packages. Versions of packages tftpd-hpa suggests: ii syslinux-common 2:4.03+dfsg-12 collection of boot loaders (common -- Configuration Files: /etc/init.d/tftpd-hpa changed: PATH="/sbin:/bin:/usr/sbin:/usr/bin" DAEMON="/usr/sbin/in.tftpd" test -x "${DAEMON}" || exit 0 NAME="in.tftpd" DESC="HPA's tftpd" PIDFILE="/var/run/tftpd-hpa.pid" DEFAULTS="/etc/default/tftpd-hpa" if [ -r "${DEFAULTS}" ] then . "${DEFAULTS}" fi set -e . /lib/lsb/init-functions do_start() { # Ensure --secure and multiple server directories are not used at the # same time if [ "$(echo ${TFTP_DIRECTORY} | wc -w)" -ge 2 ] && \ echo ${TFTP_OPTIONS} | grep -qs secure then echo echo "When --secure is specified, exactly one directory can be specified." echo "Please correct your /etc/default/tftpd-hpa." exit 1 fi # Ensure server directories are existing for _DIRECTORY in ${TFTP_DIRECTORY} do if [ ! -d "${_DIRECTORY}" ] then echo "${_DIRECTORY} missing, aborting." exit 1 fi done echo "now start-stop-daemon --start --quiet --oknodo --exec ${DAEMON} -- --listen --user ${TFTP_USERNAME} --address ${TFTP_ADDRESS} ${TFTP_OPTIONS} ${TFTP_DIRECTORY} " start-stop-daemon --start --quiet --oknodo --exec ${DAEMON} -- \ --listen --user ${TFTP_USERNAME} --address ${TFTP_ADDRESS} \ ${TFTP_OPTIONS} ${TFTP_DIRECTORY} } do_stop () { start-stop-daemon --stop --quiet --oknodo --name ${NAME} } do_reload () { start-stop-daemon --stop --quiet --oknodo --name ${NAME} --signal 1 } case "${1}" in start) log_daemon_msg "Starting ${DESC}" "${NAME} " do_start log_end_msg ${?} ;; stop) log_daemon_msg "Stopping ${DESC}" "${NAME} " do_stop log_end_msg ${?} ;; restart|force-reload) log_daemon_msg "Restarting ${DESC}" "${NAME} " do_stop sleep 1 do_start log_end_msg ${?} ;; status) status_of_proc ${DAEMON} ${NAME} ;; *) echo "Usage: ${0} {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 -- debconf information: tftpd-hpa/address: 0.0.0.0:69 tftpd-hpa/directory: /srv/tftp tftpd-hpa/username: tftp tftpd-hpa/options: --secure -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org