Remove unnecessary, buggy fmtutil code

Bug #27504 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
passivetex (Debian)
Fix Released
Unknown
passivetex (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Automatically imported from Debian bug report #344426 http://bugs.debian.org/344426

Revision history for this message
In , Frank Küster (frank-kuesterei) wrote : Splitting this bug, separate issues

clone 337436 -1
retitle -1 Remove unnecessary, buggy fmtutil code
user <email address hidden>
usertags -1 + teTeX-3.0-misc
thanks

--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #344426 http://bugs.debian.org/344426

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 04 Nov 2005 13:02:59 +0100
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: passivetex: destroys local configuration

Package: passivetex
Severity: serious
Version: 1.25-2

The package has two serious bugs, and some normal ones:

1. The package has in its postinst the line:

/usr/bin/fmtutil --cnffile /usr/share/tetex-bin/fmtutil.cnf --all > /dev/nu=
ll 2>&1

   Beside the fact that it should use fmtutil-sys as soon as teTeX-3.0 is
   in testing, and that it should not prepend a path to the binary, it has
   a major flaw:
=20=20=20
   It statically uses a template configuration file in
   /usr/share/tetex-bin instead of the actual configuration file
   (/var/lib/texmf/web2c/fmtutil.cnf, a file generated from files in
   /etc/texmf/fmt.d). This does not make any sense at all, and it
   creates formats according to the tetex-bin package default instead of
   local customization.
=20=20=20
   Furthermore, since passivetex is not listed anywhere in
   /usr/share/tetex-bin/fmtutil.cnf, the line only recreates formats that
   are already available anyway (created by tetex-bin's postinst script).

2. The postinst snippet below has the effect that if the local admin
   deletes the configuration file /etc/texmf/texmf.d/96passivetex.cnf,
   it is resurrected from the template file, which is a violation of
   Policy 10.7.3:

        if [ -f $conffile ] ; then
           :
        elif [ -f $conffile.disable ]; then
            mv $conffile.disable $conffile
        else
            cp $TMPLDIR/`basename $conffile` $conffile
        fi

   Furthermore, there is no Policy or tradition that a configuration
   file with suffix disable is treated specially. Therefore it might
   well be that local admin renamed the configuration file manually to
   $conffile.disable, and this would also be destroyed by this snippet.

   As a sidenote, it seems as if this configuration file has not been
   updated for years - the main_memory setting for passivetex is obviously
   supposed to increase the available memory size for initex, but in fact
   it is only half the size as the setting for all other programs.

3. In the prerm script, the configuration file discussed above is moved
   to $conffile.disable. This is not necessary, since texmf variable
   settings for programs that won't be run don't do any harm.
   Furthermore, after this is done, the program update-fmtutil is
   called, but for the change to have an effect update-texmf would be
   needed. This is only of normal severity, but when it's fixed the
   postrm script has to be adapted.

I don't know how passivetex is actually used, but the Makefile in the
examples directory calls xsltproc from the package of the same name,
without Depending on it, or listing it in Suggests/Recommends.

Regards, Frank

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=3Dde_DE@euro, LC_CTYPE=3Dde_DE@euro (charmap=3DISO-8859-15)

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 22 Dec 2005 17:55:38 +0100
From: =?iso-8859-1?q?Frank_K=FCster?= <email address hidden>
To: Debian Bug Control Server <email address hidden>
Subject: Splitting this bug, separate issues

clone 337436 -1
retitle -1 Remove unnecessary, buggy fmtutil code
user <email address hidden>
usertags -1 + teTeX-3.0-misc
thanks

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer

Revision history for this message
In , Martin Michlmayr (tbm) wrote : Removed

This package has been removed because: "buggy, few users".
--
Martin Michlmayr
http://www.cyrius.com/

Changed in passivetex:
status: Unconfirmed → Fix Released
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Package removed from Debian.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

Closing this bug as passivetex has been removed from Ubuntu (bug 82342).

Changed in passivetex:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.