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

Bug#167185: marked as done (tetex-bin: postrm script fails when homedirectory of user calling the script is non-existant)



Your message dated Mon, 18 Nov 2002 23:20:33 -0500
with message-id <E18DzsH-0000mu-00@auric.debian.org>
and subject line Bug#167185: fixed in tetex-bin 1.0.7+20021025-1
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; 31 Oct 2002 04:39:37 +0000
>From cts@gleep.ddts.net Wed Oct 30 22:39:36 2002
Return-path: <cts@gleep.ddts.net>
Received: from pool-141-156-174-209.esr.east.verizon.net (gleep.earth.sol) [141.156.174.209] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18777I-0005zT-00; Wed, 30 Oct 2002 22:39:36 -0600
Received: from cts by gleep.earth.sol with local (Exim 3.35 #1 (Debian))
	id 18777V-0006Uu-00; Wed, 30 Oct 2002 23:39:49 -0500
From: "Christian T. Steigies" <cts@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-bin: postrm script fails when homedirectory of user calling the script is non-existant
X-Mailer: reportbug 1.50
Date: Wed, 30 Oct 2002 23:39:49 -0500
Message-Id: <E18777V-0006Uu-00@gleep.earth.sol>
Sender: "Christian T. Steigies" <cts@gleep.ddts.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: tetex-bin
Version: 1.0.7+20011202-7
Severity: normal

I was building a package for m68k that requires tetex-bin. The build takes
place in a chroot. I do not have a home directory there for the user (cts)
that started sbuild, the script used by all buildds. After the sucessful
build of the package, sbuild tried to remove tetex-bin again, and fails:

Purging configuration files for tetex-bin ...
/var/lib/dpkg/info/tetex-bin.postrm: line 36: cd: /home/cts: No such file or directory
dpkg: error processing tetex-bin (--purge):  subprocess post-removal script returned error exit status 1

The full log is at:
http://buildd.debian.org/fetch.php?&pkg=geomview&ver=1.8.1-3&arch=m68k&stamp=1035996566&file=log&as=raw

This is where the script fails:
            if [ -d /var/cache/fonts ]; then
                cd /var/cache/fonts
                rm -rf source tfm pk
                cd
                ^^ fails because the user has no homedir
                rmdir /var/cache/fonts 2>/dev/null || true
            fi
            ;;

I suggest you change that to cd / or something else that definetely exists.
I aggree its pretty uncommon for the home directory of the user who calls
the postrm script not to exist, but maybe for buildd's its more common.

Christian

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux gleep 2.4.19 #1 Tue Sep 3 19:04:17 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro

Versions of packages tetex-bin depends on:
ii  debianutils             1.16             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-14.3       GNU C Library: Shared libraries an
ii  libkpathsea3            1.0.7+20011202-7 shared libkpathsea for teTeX
ii  libpng2                 1.0.12-3.woody.2 PNG library - runtime
ii  libstdc++2.10-glibc2.2  1:2.95.4-7       The GNU stdc++ library
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  libxaw7                 4.1.0-16         X Athena widget set library
ii  tetex-base              1.0.2+20011202-2 basic teTeX library files
ii  xlibs                   4.1.0-16         X Window System client libraries
ii  zlib1g                  1:1.1.4-6        compression library - runtime


---------------------------------------
Received: (at 167185-close) by bugs.debian.org; 19 Nov 2002 04:23:35 +0000
>From katie@auric.debian.org Mon Nov 18 22:23:35 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 18DzvD-00007A-00; Mon, 18 Nov 2002 22:23:35 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18DzsH-0000mu-00; Mon, 18 Nov 2002 23:20:33 -0500
From: Atsuhito KOHDA <kohda@debian.org>
To: 167185-close@bugs.debian.org
X-Katie: $Revision: 1.28 $
Subject: Bug#167185: fixed in tetex-bin 1.0.7+20021025-1
Message-Id: <E18DzsH-0000mu-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 18 Nov 2002 23:20:33 -0500
Delivered-To: 167185-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-1_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_1.0.7+20021025-1_i386.deb
libkpathsea3_1.0.7+20021025-1_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_1.0.7+20021025-1_i386.deb
tetex-bin_1.0.7+20021025-1.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-1.diff.gz
tetex-bin_1.0.7+20021025-1.dsc
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-1.dsc
tetex-bin_1.0.7+20021025-1_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-1_i386.deb
tetex-bin_1.0.7+20021025.orig.tar.gz
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025.orig.tar.gz



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 167185@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: Mon, 18 Nov 2002 11:45:33 +0900
Source: tetex-bin
Binary: libkpathsea3 tetex-bin libkpathsea-dev
Architecture: source i386
Version: 1.0.7+20021025-1
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: 69609 73670 148171 159372 161516 165436 167058 167185
Changes: 
 tetex-bin (1.0.7+20021025-1) unstable; urgency=low
 .
   * New Upstream Release (20021025 beta version)
    - web2c 7.3.9 in 20021025 version.
    - now could be built with the new bison.  (Closes: #167058)
    - dvipsk/finclude.c was fixed in upstream. (Closes: #165436)
    - context would now work fine.  (Closes: #161516, #148171)
   * Added README.Debian but yet very brief one.  [kohda]
   * Added menu support and Depends: perl-tk for texdoctk.  [kohda]
   * Used the original tarball and applied necesary patches explicitly
     to clarify our modifications.  [kohda]
    - Fixed patch for texmf.in; we didn't use this file or generated texmf.cnf
      directly but I hoped that the fix would clarify our changed for files
      in texmf.d
    - Along with the above, we updated 45TeXinputs, 95NonPath
    - patch for texk/klibtool seems crucial (patch-deb)!!!
    - patch for texk/web2c/pdftexdir/pdfcrypt-full.c, writefont.c, writet1.c
      and texk/web2c/web2c/convert was done (patch-src).
      patch for texk/dvipsk/protos.h seemed unnecessary now.
    - patch for texk/makeindexk/Makefile.in, texk/tetex/Makefile.in and
      texk/web2c/mpware/Makefile.in seems adopted in original.
    - changes of perl scripts in texk/tetex seems not necessary (not sure).
    - Applied a patch for texdoctk and also a patch for texdoc but this was
      experimental yet.
   * Added experimental debconf support, thanks to Adam C Powell IV
     <hazelsct@mit.edu>  [kohda]  (Closes: #69609, #73670)
   * Changed dependency on tetex-base precisely.  [kohda]
   * Fixed postrm.  [kohda] (Closes: #167185)
   * Built with t1lib, libpng3 and libwww.  [kohda]  (Closes: #159372)
   * Note:
    - modified debian/restore-symlinks a bit because upstream source tree
      was changed.  Also I added removing symlinks because cvs-upgrade expected
      there was no symlinks and this was for *.orig.tar.gz  [kohda]
Files: 
 1e9b38078222234c41de76ae2977c018 959 tex optional tetex-bin_1.0.7+20021025-1.dsc
 880bc00ac66a2df6976653253559d543 10359183 tex optional tetex-bin_1.0.7+20021025.orig.tar.gz
 a36286614a2a0e680a64f5808141d66d 42053 tex optional tetex-bin_1.0.7+20021025-1.diff.gz
 4032f4936d8ef36ac980279c53c232f4 2770986 tex optional tetex-bin_1.0.7+20021025-1_i386.deb
 bb248ebda5b95f9aa8dd6b8fce301b5c 42516 libs optional libkpathsea3_1.0.7+20021025-1_i386.deb
 9828151a40fe46a58bf83898182c9d18 62656 devel optional libkpathsea-dev_1.0.7+20021025-1_i386.deb

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

iD8DBQE92a8o1IXdL1v6kOwRAi+SAKCEUAJvcNPkuPCRLiVodOxwiYygqwCePnki
ziN85eaKz98bvTp1Z0GctMQ=
=Gudz
-----END PGP SIGNATURE-----



Reply to: