[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#150511: marked as done (tetex-bin: the postinst fails to preserve user changes in /etc/texmf/texmf.cnf and others)



Your message dated Tue, 17 Dec 2002 10:02:18 -0500
with message-id <E18OJEg-0000kS-00@auric.debian.org>
and subject line Bug#150511: fixed in tetex-bin 1.0.7+20021025-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Jun 2002 02:40:35 +0000
>From srivasta@golden-gryphon.com Wed Jun 19 21:40:35 2002
Return-path: <srivasta@golden-gryphon.com>
Received: from 12-218-240-201.client.mchsi.com (glaurung.green-gryphon.com) [12.218.240.201] (srivasta)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17KrsB-0002zZ-00; Wed, 19 Jun 2002 21:40:35 -0500
Received: from glaurung.green-gryphon.com (localhost [127.0.0.1])
	by glaurung.green-gryphon.com (8.12.4/8.12.4/Debian-2) with ESMTP id g5K2Xfve010439;
	Wed, 19 Jun 2002 21:33:41 -0500
Received: (from srivasta@localhost)
	by glaurung.green-gryphon.com (8.12.4/8.12.4/Debian-2) id g5K2XfPM010438;
	Wed, 19 Jun 2002 21:33:41 -0500
Message-Id: <200206200233.g5K2XfPM010438@glaurung.green-gryphon.com>
Subject: tetex-bin: the postinst fails to preserve user  changes in /etc/texmf/texmf.cnf and others
Reply-To: Manoj Srivastava <srivasta@debian.org>
From: "Manoj Srivastava" <srivasta@debian.org>
To: "Debian Bug Tracking System" <submit@bugs.debian.org>
X-Mailer: reportbug 1.99.40
Date: Wed, 19 Jun 2002 21:33:40 -0500
Delivered-To: submit@bugs.debian.org

Package: tetex-bin
Version: 1.0.7+20011202-7
Severity: serious
Justification: Policy 11.7.3

Hi,


	The postinst moves /etc/texmf/texmf.cnf, and
 /etc/texmf/fmtutil.cnf out of the way, and creates new versions,
 losing any user changes, in direct violation of policy. This is most
 certainly not desired behaviour, since I had spent a lot of time
 crafting the configuration files.

	The relevant parts of the policy manual are quoted below.

	manoj

-------------------------

11.7.1. Definitions
-------------------

     configuration file
          A file that affects the operation of a program, or provides site-
          or host-specific information, or otherwise customizes the
          behavior of a program.  Typically, configuration files are
          intended to be modified by the system administrator (if needed or
          desired) to conform to local policy or to provide more useful
          site-specific behavior.

     `conffile'
          A file listed in a package's `conffiles' file, and is treated
          specially by `dpkg' (see Section 6.6, `Details of
          configuration').

     The distinction between these two is important; they are not
     interchangeable concepts.  Almost all `conffile's are configuration
     files, but many configuration files are not `conffiles'.

     Note that a script that embeds configuration information (such as most
     of the files in `/etc/default' and `/etc/cron.{daily,weekly,monthly}')
     is de-facto a configuration file and should be treated as such.

11.7.2. Location
----------------

     Any configuration files created or used by your package must reside in
     `/etc'.  If there are several you should consider creating a
     subdirectory of `/etc' named after your package.

     If your package creates or uses configuration files outside of `/etc',
     and it is not feasible to modify the package to use the `/etc', you
     should still put the files in `/etc' and create symbolic links to
     those files from the location that the package requires.

11.7.3. Behavior
----------------

     Configuration file handling must conform to the following behavior:
        * local changes must be preserved during a package upgrade, and
        * configuration files must be preserved when the package is
          removed, and only deleted when the package is purged.

     The easy way to achieve this behavior is to make the configuration
     file a `conffile'.  This is appropriate only if it is possible to
     distribute a default version that will work for most installations,
     although some system administrators may choose to modify it.  This
     implies that the default version will be part of the package
     distribution, and must not be modified by the maintainer scripts
     during installation (or at any other time).

     In order to ensure that local changes are preserved correctly, no
     package may contain or make hard links to conffiles.[1]
======================================================================
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux glaurung 2.4.17 #1 Fri Dec 21 21:06:24 CST 2001 i586
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (ignored: LC_ALL set)

Versions of packages tetex-bin depends on:
ii  debianutils             1.16.3           Miscellaneous utilities specific t
ii  dpkg                    1.9.21           Package maintenance system for Deb
ii  ed                      0.2-19           The classic unix line editor
ii  libc6                   2.2.5-6          GNU C Library: Shared libraries an
ii  libkpathsea3            1.0.7+20011202-7 shared libkpathsea for teTeX
ii  libpng2                 1.0.12-3         PNG library - runtime
ii  libstdc++2.10-glibc2.2  1:2.95.4-9       The GNU stdc++ library
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  libxaw7                 4.1.0-17         X Athena widget set library
ii  tetex-base              1.0.2+20011202-3 basic teTeX library files
ii  xlibs                   4.1.0-17         X Window System client libraries
ii  zlib1g                  1:1.1.4-1        compression library - runtime

-- no debconf information


---------------------------------------
Received: (at 150511-close) by bugs.debian.org; 17 Dec 2002 15:03:42 +0000
>From katie@auric.debian.org Tue Dec 17 09:03:41 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18OJG1-0000rl-00; Tue, 17 Dec 2002 09:03:41 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18OJEg-0000kS-00; Tue, 17 Dec 2002 10:02:18 -0500
From: Atsuhito KOHDA <kohda@debian.org>
To: 150511-close@bugs.debian.org
X-Katie: $Revision: 1.29 $
Subject: Bug#150511: fixed in tetex-bin 1.0.7+20021025-6
Message-Id: <E18OJEg-0000kS-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Tue, 17 Dec 2002 10:02:18 -0500
Delivered-To: 150511-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
tetex-bin, which is due to be installed in the Debian FTP archive:

libkpathsea-dev_1.0.7+20021025-6_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_1.0.7+20021025-6_i386.deb
libkpathsea3_1.0.7+20021025-6_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_1.0.7+20021025-6_i386.deb
tetex-bin_1.0.7+20021025-6.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-6.diff.gz
tetex-bin_1.0.7+20021025-6.dsc
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-6.dsc
tetex-bin_1.0.7+20021025-6_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 150511@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Atsuhito KOHDA <kohda@debian.org> (supplier of updated tetex-bin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 13 Dec 2002 14:05:36 +0900
Source: tetex-bin
Binary: libkpathsea3 tetex-bin libkpathsea-dev
Architecture: source i386
Version: 1.0.7+20021025-6
Distribution: unstable
Urgency: low
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Atsuhito KOHDA <kohda@debian.org>
Description: 
 libkpathsea-dev - kpathsea.a and include files for teTeX
 libkpathsea3 - shared libkpathsea for teTeX
 tetex-bin  - teTeX binary files
Closes: 140927 150511 169825 170963 1728419
Changes: 
 tetex-bin (1.0.7+20021025-6) unstable; urgency=low
 .
   * Installed texmf/fontname directory which was migrated from tetex-base
     with the upstream change.  [kohda]  (Closes: #1728419)
   * Updated 95NonPath.cnf and fixed 45TeXinputs.cnf  [kohda]
   * Modified postinst so that if it failed to generate some fmt files,
     now it would try to regenerate them once again.  [kohda]
     (Closes: #170963, #169825)
   * Explained how to preserve private modifications with the new scheme
     in README.Debian  [kohda]  (Closes: #150511, #140927)
   * Modified fmtutil so it now reported the names of installed FMTs.  [kohda]
Files: 
 f24626437f9aa94ed2961cd440e453e8 959 tex optional tetex-bin_1.0.7+20021025-6.dsc
 29330b3369b920bfb4b5f895dfafe30d 46919 tex optional tetex-bin_1.0.7+20021025-6.diff.gz
 296384fc999ca65d77c0e1b56343ce13 2979522 tex optional tetex-bin_1.0.7+20021025-6_i386.deb
 3886008ae8066b03f418dd437259fab1 43302 libs optional libkpathsea3_1.0.7+20021025-6_i386.deb
 55a028a653054d850279e4f32baa45a5 62668 devel optional libkpathsea-dev_1.0.7+20021025-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9/uNn1IXdL1v6kOwRAtAOAJ9NH5DyTRjszmTwLkXB/4qwRkFsIgCghCx8
ACTCzXI5h6+daZC8N/1hdIc=
=m3qu
-----END PGP SIGNATURE-----



Reply to: