Package: tftpd-hpa
Version: 5.0-5
Severity: normal

This system originally had tftpd-hpa 0.49-1 installed,
last Match. At that time, /etc/default/tftpd.hpa was created
with contents:

#Defaults for tftpd-hpa
RUN_DAEMON="no"
OPTIONS="-l -s /var/lib/tftpboot"

This file was never manually changed (says etckeeper).

I upgraded directly from 0.49-1 to 5.0-5. At that time, the
old file was wiped out and a new one with some #DEBCONF# token
inserted. This new file changes to the directory to /srv/tftp.

Of course, I only noticed that the config file had been changed
when I had a power failure and boxes failed to come up since
the tftp server was serving up an empty directory.

That this seemed to happen without even a warning is not good.
Debconf was apparently told to display the
tftpd-hpa/no-debconf-token message, at low priority. This
upgrade was a week ago, but I do not remember seeing it. The
question is asked at low priority; my debconf priority is high;
so it seems likely I never did see it.

(However, the config script would apparently exit nonzero
if the question was asked but not shown, since the db_input
command is unguarded there. I don't know how to reconcile this
with me not seeing the message. (BTW, you're misusing an error
template type here; errors are for well, hard errors; your
config script does not, normally, fail after displaying this
"error".))

In any event, even if I had seen the message, it says that
the config file will not be modified unless it contains 
the #DEBCONF# token. But that is false. In the preinst there
is code that checks if the config file has been unchanged
since lenny, and if so, blows it away. Even if the config file
has been locally modified, it *still* moves it out of the way
so the local modifications do not take effect.

I think that you have not thought this upgrade though. tftpd is
a crucial network service, it is not acceptable to discard local
changes to a configuration file, it is also not acceptable to
move the tftpd directory elsewhere without involving the
sysadmin in the move.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.30-1-iop32x
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages tftpd-hpa depends on:
ii  adduser                       3.111      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  libc6                         2.9-27     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.83+dfsg-1 Kernel loader which uses a FAT, ex

-- debconf information:
  tftpd-hpa/directory: /srv/tftp
  tftpd-hpa/username: tftp
* tftpd-hpa/no-debconf-token:
  tftpd-hpa/use_inetd: true

-- 
see shy jo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to