Package: tftpd-hpa
Version: 5.0-2
Severity: normal
Tags: patch
Hi,
tftpd-hpa by default generates a /etc/default/tftpd-hpa that looks like
this:
-----8<-----
# /etc/default/tftpd-hpa
## The configuration of this file is managed by debconf.
## Do not edit this file manually, use:
## dpkg-reconfigure tftpd-hpa
USERNAME"tftp"
DIRECTORY="/srv/tftp"
----->8-----
Note the missing '=' in the USERNAME line.
This is due to a missing = character in the postinst. Did you actually
test this before uploading?
Anyway, patch:
--- /var/lib/dpkg/info/tftpd-hpa.postinst 2009-07-21 12:09:36.517009836
+0200
+++ tftpd-hpa.postinst 2009-07-21 12:11:33.777314669 +0200
@@ -47,7 +47,7 @@
EOF
else
- sed -i -e "s|^USERNAME=.*$|USERNAME\"${_USERNAME}\"|"
-e "s|^DIRECTORY=.*$|DIRECTORY=\"${_DIRECTORY}\"|" /etc/default/tftpd-hpa
+ sed -i -e "s|^USERNAME=.*$|USERNAME=\"${_USERNAME}\"|"
-e "s|^DIRECTORY=.*$|DIRECTORY=\"${_DIRECTORY}\"|" /etc/default/tftpd-hpa
fi
;;
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tftpd-hpa depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii libc6 2.9-21 GNU C Library: Shared libraries
ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra
tftpd-hpa recommends no packages.
Versions of packages tftpd-hpa suggests:
ii syslinux-common 2:3.82+dfsg-1 Kernel loader which uses a FAT, ex
-- debconf information:
tftpd-hpa/directory: /srv/tftp
tftpd-hpa/username: tftp
tftpd-hpa/use_inetd: true
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]