Your message dated Thu, 07 Dec 2006 17:32:06 +0000 with message-id <E1GsN6M-0000VZ-HG@ries.debian.org> and subject line Bug#294197: fixed in tetex-bin 3.0-27 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)
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: upgrading tetex creates ls-R in user homedir if sudo is used
- From: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
- Date: Tue, 8 Feb 2005 13:44:14 +0100
- Message-id: <20050207155411.GA6148@cepheus.pub>
Package: tetex-base Version: 2.0.2c-6 Severity: minor Hello, whenever I upgrade tetex via `sudo apt-get upgrade` it creates the file ${HOME}/texmf/ls-R with owner=root and mode 600: zeisberg@cepheus:~/texmf$ ls -l total 0 drwx------ 3 zeisberg users 18 Jan 12 08:58 tex zeisberg@cepheus:~/texmf$ sudo /var/lib/dpkg/info/tetex-base.postinst configure Running initex. This may take some time. ... fmtutil: /var/lib/texmf/web2c/lambda.oft installed. fmtutil: /var/lib/texmf/web2c/omega.oft installed. fmtutil: /var/lib/texmf/web2c/amstex.fmt installed. fmtutil: /var/lib/texmf/web2c/latex.fmt installed. fmtutil: /var/lib/texmf/web2c/pdflatex.fmt installed. fmtutil: /var/lib/texmf/web2c/pdftex.fmt installed. fmtutil: /var/lib/texmf/web2c/tex.fmt installed. fmtutil: /var/lib/texmf/web2c/cont-en.efmt installed. fmtutil: /var/lib/texmf/web2c/elatex.efmt installed. fmtutil: /var/lib/texmf/web2c/etex.efmt installed. fmtutil: /var/lib/texmf/web2c/latex.efmt installed. fmtutil: /var/lib/texmf/web2c/mptopdf.efmt installed. fmtutil: /var/lib/texmf/web2c/pdfelatex.efmt installed. fmtutil: /var/lib/texmf/web2c/pdfetex.efmt installed. fmtutil: /var/lib/texmf/web2c/pdflatex.efmt installed. fmtutil: /var/lib/texmf/web2c/metafun.mem installed. fmtutil: /var/lib/texmf/web2c/mpost.mem installed. fmtutil: /var/lib/texmf/web2c/mf.base installed. zeisberg@cepheus:~/texmf$ ls -l total 4 -rw------- 1 root root 198 Feb 7 16:33 ls-R drwx------ 3 zeisberg users 18 Jan 12 08:58 tex The problem here is, that a) sudo doesn't unset HOME (which is for most cases a good behaviour) b) mktexlsr obiously uses ${HOME}/texmf and is not affected by umask[1] (I'm not sure, if b) alone is already a bug.) When I add HOME to the envvars that are unset'ed at the top of tetex-base.postinst, this file is not created. I noticed the problem, because xdvi (among others) beweils, that it cannot read this file. Regards Uwe [1] zeisberg@cepheus:~/texmf$ ls tex zeisberg@cepheus:~/texmf$ sudo -s root@cepheus:~/texmf# umask 22 root@cepheus:~/texmf# mktexlsr mktexlsr: Updating /home/zeisberg/texmf/ls-R... mktexlsr: Updating /usr/local/share/texmf/ls-R... mktexlsr: Updating /usr/local/lib/texmf/ls-R... mktexlsr: Updating /var/lib/texmf/ls-R... mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... mktexlsr: Updating /var/cache/fonts/ls-R... mktexlsr: Done. root@cepheus:~/texmf# exit zeisberg@cepheus:~/texmf$ ls -l total 4 -rw------- 1 root root 198 Feb 7 16:47 ls-R drwx------ 3 zeisberg users 18 Jan 12 08:58 tex -- Uwe Zeisberger cat /*dev/null; echo 'Hello World!'; cat > /dev/null <<*/ () { } int main() { printf("Hello World!\n");} /* */Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 294197-close@bugs.debian.org
- Subject: Bug#294197: fixed in tetex-bin 3.0-27
- From: Frank Küster <frank@debian.org>
- Date: Thu, 07 Dec 2006 17:32:06 +0000
- Message-id: <E1GsN6M-0000VZ-HG@ries.debian.org>
Source: tetex-bin Source-Version: 3.0-27 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_3.0-27_i386.deb to pool/main/t/tetex-bin/libkpathsea-dev_3.0-27_i386.deb libkpathsea4_3.0-27_i386.deb to pool/main/t/tetex-bin/libkpathsea4_3.0-27_i386.deb tetex-bin_3.0-27.diff.gz to pool/main/t/tetex-bin/tetex-bin_3.0-27.diff.gz tetex-bin_3.0-27.dsc to pool/main/t/tetex-bin/tetex-bin_3.0-27.dsc tetex-bin_3.0-27_i386.deb to pool/main/t/tetex-bin/tetex-bin_3.0-27_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 294197@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Frank Küster <frank@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: Wed, 6 Dec 2006 23:38:51 +0100 Source: tetex-bin Binary: tetex-bin libkpathsea-dev libkpathsea4 Architecture: source i386 Version: 3.0-27 Distribution: unstable Urgency: low Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org> Changed-By: Frank Küster <frank@debian.org> Description: libkpathsea-dev - path search library for teTeX (devel part) libkpathsea4 - path search library for teTeX (runtime part) tetex-bin - The teTeX programs Closes: 294197 Changes: tetex-bin (3.0-27) unstable; urgency=low . * Apply patch by Julian Gilbey <jdg@debian.org> to prevent mktexlsr from creating ls-R in root's home directory (closes: #294197) * Add a missing hunk for the patch in the last upload, this should really make texdoctk work Files: c98144413385798bb709473d17c67137 1011 tex optional tetex-bin_3.0-27.dsc 17b25f32aaf777d052a0207a7cba7667 120502 tex optional tetex-bin_3.0-27.diff.gz ca31b98261bfffbb64c9e2424ab230e5 3540192 tex optional tetex-bin_3.0-27_i386.deb 9cb5dfb0137932c3a63791d6c961f2fd 80970 libs optional libkpathsea4_3.0-27_i386.deb f675b87d2df339b8089daf011f03127f 70606 libdevel optional libkpathsea-dev_3.0-27_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFeE7o+xs9YyJS+hoRAiOnAKCWzBHxVLclR9KwrjGxbh3lINpTHQCfcqWl dHgyhgA3ffKiDFy4Kr0Dxl4= =OGTt -----END PGP SIGNATURE-----
--- End Message ---