Package: autofs5
Version: 5.0.4-3
Severity: important

I'll need to see how UCF behaves on future upgrades when I have more
time, so this is currently just what I have observed with previous
upgrades:

I have edited the default /etc/auto.master to include the line
/net    /etc/auto.net
however, it appears that upon upgrade of the package, this is
replaced by the default file again.  It's saved as
/etc/auto.master.ucf-old, but autofs no longer works since the
actual configuration has been reverted to the package default.

% ls -l /etc/auto.*
-rw-r--r-- 1 root root  657 Dec  6 23:57 /etc/auto.master
-rw-r--r-- 1 root root  344 Jun 21 10:27 /etc/auto.master.ucf-old
-rw-r--r-- 1 root root  524 Jul 29 18:58 /etc/auto.misc
-rwxr-xr-x 1 root root  885 Aug  2 19:35 /etc/auto.net
-rwxr-xr-x 1 root root 1374 Jul 29 18:58 /etc/auto.net.ucf-dist
-rwxr-xr-x 1 root root  885 Jun 21 10:35 /etc/auto.net.ucf-old
-rwxr-xr-x 1 root root  660 Jul 29 18:58 /etc/auto.smb

>From the dates I guess this was from 5.0.4-2, but it appears
it was broken again with the 5.0.4-3 upgrade since it's
been broken since then (I've never touched the files since
I originally configured it, and I've never been asked about
them by dpkg or ucf AFAICR).

It's possible this isn't a bug, but I'm reporting it in case
ucf isn't being used correctly and is in fact replacing the
sysadmin's hand-crafted configuration with its own default,
which would be a serious bug.

Is there any real need to use UCF, rather than just let
dpkg handle everything?


Regards,
Roger

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (550, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages autofs5 depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  ucf                           3.0025     Update Configuration File: preserv

Versions of packages autofs5 recommends:
ii  module-init-tools             3.11-1     tools for managing Linux kernel mo
ii  nfs-common                    1:1.2.0-4  NFS support files common to client

autofs5 suggests no packages.

-- no debconf information



-- 
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