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

Bug#929706: marked as done (sgml-base: preinst may fail *silently*)



Your message dated Thu, 06 Oct 2022 18:19:17 +0000
with message-id <E1ogVSn-002OXm-DU@fasolo.debian.org>
and subject line Bug#929706: fixed in sgml-base 1.31
has caused the Debian Bug report #929706,
regarding sgml-base: preinst may fail *silently*
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
929706: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929706
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sgml-base
Version: 1.29
Tags: patch
User: treinen@debian.org
Usertags: colis-shparser

Hello,

the preinst of sgml-base contains

  if [ ! -d /var/lib/sgml-base ]
  then
    mkdir /var/lib/sgml-base 2>/dev/null
  fi

and then the same for /etc/sgml. The problem is that this fails
when /var/lib/sgml-base or /etc/sgml is a regular file, and will do
that without any error message.

I suggest to replace the whole preinst script by

if [ "$1" = "install" -o "$1" = "upgrade" ]
then
  mkdir -p /var/lib/sgml-base /etc/sgml
fi

-Ralf.
-- 
Ralf Treinen
Institut de Recherche en Informatique Fondamentale
Équipe Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.irif.fr/~treinen/

--- End Message ---
--- Begin Message ---
Source: sgml-base
Source-Version: 1.31
Done: Holger Levsen <holger@debian.org>

We believe that the bug you reported is fixed in the latest version of
sgml-base, which is due to be installed in the Debian FTP archive.

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 929706@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated sgml-base 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Oct 2022 20:03:38 +0200
Source: sgml-base
Architecture: source
Version: 1.31
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 929706 1006646
Changes:
 sgml-base (1.31) unstable; urgency=medium
 .
   * QA upload by the Reproducible Builds team.
   * tools/update-catalog: make sure the catalog is sorted, to support building
     reproducible rootfs with sgml-base installed, else
     /var/lib/sgml-base/supercatalog changes on every postinst run. Thanks to
     Nguyen Thi Huong <huong4.nguyenthi@toshiba.co.jp> for the patch.
     Closes: #1006646
   * Simplify preinst and also make sure it doesn't silently fail. Thanks to
     Ralf Treinen for the patch. Closes: #929706
Checksums-Sha1:
 cf165d6540264d4f4597219094f50426ab1377b9 1541 sgml-base_1.31.dsc
 17b143b2b14d69881059a7269cca1524884087a2 12756 sgml-base_1.31.tar.xz
 ecd8e8a51634510c86b401026b69dbe505ac8a7f 5780 sgml-base_1.31_source.buildinfo
Checksums-Sha256:
 5bc1878461ec10333c7a99aeeec997e7263c92afba2c4f6fb518a8f4e5b3d9cc 1541 sgml-base_1.31.dsc
 12e204449d060d65b97ed329d2feed0cdbf2a62a4186b436e9b9b3fff7416147 12756 sgml-base_1.31.tar.xz
 810acd2049acbbafb4d6ab60febacd1ed21862578300900f11b34780757448b9 5780 sgml-base_1.31_source.buildinfo
Files:
 84d58e28346b8d3567def431e4241188 1541 text optional sgml-base_1.31.dsc
 38482b99c785b40cf773138f6238b0cd 12756 text optional sgml-base_1.31.tar.xz
 567a67034a66db4845766f35f7369115 5780 text optional sgml-base_1.31_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmM/GSAACgkQCRq4Vgaa
qhy3XRAAtYtU+oDeNMKUbeHziXUD0/Tm56z5PyBVb37lHZBlg/9WgpjPErSisleG
vYbL3GnM2naT6yzqXVflcNKI9eWxeEuFgJz1VZmPjg9oFAfJsEQ+YrFEojk6Slpi
T3yhRaVUwn6vFlQQ8+25yi6+bX0BS5ns+5nPBKJ7fKrRW9C2SMANReLsrmIhRxXV
XJT6AjMaPgkAaj+mSruxTaxO3SBNZud4styu5x4erdQ0f4kUvVeqY6n7lBiCB6Yh
t0pppi5yBOkVCLGQBu8gdmTh7AWAvnxdj953HInAtUzpl0s3h2Bv1/w3wRnIBMR8
9Y1XK15IqM4vA124+VYyueJGgS1iO9RLCRkV+yUXhe9iDUPTB9RzzPmUOaw0sPBS
Q0rhwOTZb7Poepjk7UOCpxa96xZHGtdjoWQIK8zy7kl6FaNz/m71ILkWv/Vdwl4N
OtMNFyIsEKVAZ+1iGCAK+p5EwaqAg7COuyGmbN8zos0cL6RElfAjRKQYUvNKR4UG
WyUMCClNejTe/XKJQ8RtCqYX5N3m0yM47p7+1fYk7PO7iX+A4zpkTnWlrVHOlkqA
gyhngGPq/V6QpBYJK85fVBYggxFLNPREpC57N0J5LMRF/Ba2boHeLhAhX1vDGXT3
HfgyoH1Unu95TvN+E8Jg+otJFT4MdnCTJjbVd4e6n0MckIAkpk4=
=v7dS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: