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

Bug#985044: marked as done (libdebuginfod-common: modifies conffiles: /etc/profile.d/debuginfod.{c,}sh)



Your message dated Fri, 19 Mar 2021 21:04:50 +0000
with message-id <E1lNMIc-0000mp-Ga@fasolo.debian.org>
and subject line Bug#985044: fixed in elfutils 0.183-5
has caused the Debian Bug report #985044,
regarding libdebuginfod-common: modifies conffiles: /etc/profile.d/debuginfod.{c,}sh
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.)


-- 
985044: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985044
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libdebuginfod-common
Version: 0.183-4
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package modifies conffiles.
This is forbidden by the policy, see
https://www.debian.org/doc/debian-policy/ch-files.html#configuration-files

10.7.3: "[...] The easy way to achieve this behavior is to make the
configuration file a conffile. [...] 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)."

Note that once a package ships a modified version of that conffile,
dpkg will prompt the user for an action how to handle the upgrade of
this modified conffile (that was not modified by the user).

Further in 10.7.3: "[...] must not ask unnecessary questions
(particularly during upgrades) [...]"

If a configuration file is customized by a maintainer script after
having asked some debconf questions, it may not be marked as a
conffile. Instead a template could be installed in /usr/share and used
by the postinst script to fill in the custom values and create (or
update) the configuration file (preserving any user modifications!).
This file must be removed during postrm purge.
ucf(1) may help with these tasks.
See also https://wiki.debian.org/DpkgConffileHandling

In https://lists.debian.org/debian-devel/2012/09/msg00412.html and
followups it has been agreed that these bugs are to be filed with
severity serious.

debsums reports modification of the following files,
from the attached log (scroll to the bottom...):

0m12.6s ERROR: FAIL: debsums reports modifications inside the chroot:
  /etc/profile.d/debuginfod.sh
  /etc/profile.d/debuginfod.csh


Reading your changelog, this sounds like you need to manage these files
with ucf instead of shipping them as conffiles.


cheers,

Andreas

Attachment: libdebuginfod-common_0.183-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: elfutils
Source-Version: 0.183-5
Done: Sergio Durigan Junior <sergiodj@debian.org>

We believe that the bug you reported is fixed in the latest version of
elfutils, 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 985044@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergio Durigan Junior <sergiodj@debian.org> (supplier of updated elfutils 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: Fri, 19 Mar 2021 15:58:25 -0400
Source: elfutils
Architecture: source
Version: 0.183-5
Distribution: experimental
Urgency: medium
Maintainer: Debian Elfutils Maintainers <debian-gcc@lists.debian.org>
Changed-By: Sergio Durigan Junior <sergiodj@debian.org>
Closes: 985044
Changes:
 elfutils (0.183-5) experimental; urgency=medium
 .
   * d/libdebuginfod-common.install:
     Install the debuginfod profile.d snippets under
     /usr/share/libdebuginfod-common/ instead of directly under
     /etc/profile.d/.
   * d/libdebuginfod-common.config:
     Check for the "debuginfod.sh" snippet under
     /usr/share/libdebuginfod-common/.
   * d/libdebuginfod-common.postinst:
     Perform modifications in the debuginfod shell snippets that now live
     under /usr/share/libdebuginfod-common/, before moving them (using ucf)
     to /etc/profile.d/. (Closes: #985044)
   * d/libdebuginfod-common.postrm:
     New postrm file which takes care of purging the debuginfod shell
     snippets under /etc/profile.d/.
   * d/control: Make libdebuginfod-common depend on ucf.
Checksums-Sha1:
 feb6a06bc481930ddf3ed3ea6df4bd83b8838ff7 3222 elfutils_0.183-5.dsc
 908c9fae47f4781055f11cf3585c62ee9439d346 36904 elfutils_0.183-5.debian.tar.xz
 36d6df1d288e410e195787573b64fc8ebffed605 12312 elfutils_0.183-5_amd64.buildinfo
Checksums-Sha256:
 18af2a2bb95e9cd37db279e4aaa68bc84a670010348a53527ce763baa55da8d4 3222 elfutils_0.183-5.dsc
 1801644e3e9d580c278b13283f32261013efd591eb3584dca68505c2a6b610a9 36904 elfutils_0.183-5.debian.tar.xz
 52354b14d8c1567ec55484f3ea53b15296ad19b0a5b09aca933a24da3567518a 12312 elfutils_0.183-5_amd64.buildinfo
Files:
 09f2a54d7182de0083d97e6e4dab3e5c 3222 libs optional elfutils_0.183-5.dsc
 d532c0e39d143b95b4f622d102ac351a 36904 libs optional elfutils_0.183-5.debian.tar.xz
 2d5b3d5e8470e5e9929ba368824875c9 12312 libs optional elfutils_0.183-5_amd64.buildinfo

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

iQJIBAEBCgAyFiEEI3pUsQKHKL8A7zH00Ot2KGX8XjYFAmBVDboUHHNlcmdpb2Rq
QGRlYmlhbi5vcmcACgkQ0Ot2KGX8Xjb+pg//a9xULP/j9mjZXFZXu066dbegwK1B
LIJB9pAHuGYRvHhuIklIGTVjopniz0hmA1IDvv+WHdc0o2s/GT9qssAoAhSBmIPQ
EUekyXQkrAsTZsjXoOmLTgCOu0bkgZdc7+SX7nT1Cs84HnKwG+xSu2efM96TkiCj
r4Ib/pj1li5xbZiilTS68IfKYa7YGoMBsbioCoBs984gBLJ0QV7uVmzTMH/sykIO
LzFJI3yxeW46kfVPjg7qkXCbP8ZHbR70NbhU9oKRFwDNfffKzzKXwI3tat7kJZLQ
+APH64is2GlKm9jKyoZ6l4Uk6AI2T80W6YUnK84/NYGL+nZ24Eo0sfeQWTWfVY/V
lriOTW/PQAL9iUrfqXWj2bbTQ/Qr8lHdBIBjiUvNobYBoWzt/gix5vdTUyecHYQ/
oCI7Fa6f6sjhVDw+StU97usmo0K9bvf2J8N1I4SwN/auWA+GfDAxYqnjA0fzroXs
lbDDjg9ShW72DUH6BDVAYmmps/ryURFLWY/7/Fw0wVXTe/aVkhRtH/srXT9rXEKz
9oMC8Hjc00WOD50iBWKojug8lQrOdcma2SsHKAuLU8ZYYmIFn/W3B6G6RjTvK+d8
1JEQ+QnUNDBv2r6yQBH1N0jc4ri293F9O3QGlPqgf7VExbjLOuBacC8wgTeqFhZC
DBq3CDk5bLKA8Hw=
=v7tj
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: