[Reportbug-maint] Bug#503131: reportbug: inclusion of modified conffiles doesn't work
Håkon Stordahl
hakon at stordahl.org
Wed Oct 22 19:29:24 UTC 2008
Package: reportbug
Version: 3.45
Severity: normal
Tags: patch
Hello. I have modified the configuration file /etc/dhcp3/dhclient.conf
that was installed by the package dhcp3-client:
$ md5sum /etc/dhcp3/dhclient.conf
1c128bc5590714d1688fb6944c7e4128 /etc/dhcp3/dhclient.conf
$ dpkg -s dhcp3-client | grep /etc/dhcp3/dhclient.conf
/etc/dhcp3/dhclient.conf 6e3910d75cd5cde0042ecb6d48492ae9
However, if I try to run reportbug on the package, for example with
the command below, it doesn't ask whether to include this file in the
bug report, as the description of --no-config-files in the man page
suggests that it should (given that --no-config-files is actually not
specified on the command-line).
$ reportbug --no-check-available --no-query-bts --no-debconf -S normal \
-s test -T none --print dhcp3-client
I've attached a patch which seems to fix this issue. Though, I've not
thoroughly tested it: only with my installtion of the dhcp3-client
package mentioned above.
-- Package-specific info:
** Environment settings:
EDITOR="emacs"
INTERFACE="text"
** /home/haakonst/.reportbugrc:
mode standard
ui text
realname "Håkon Stordahl"
email "hakon at stordahl.org"
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages reportbug depends on:
ii apt 0.7.16+b1 Advanced front-end for dpkg
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
reportbug recommends no packages.
Versions of packages reportbug suggests:
ii debconf-utils 1.5.24 debconf utilities
ii debsums 2.0.38 verification of installed package
ii dlocate 0.96.1 fast alternative to dpkg -L and dp
ii exim4 4.69-9 metapackage to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-9 lightweight Exim MTA (v4) daemon
ii file 4.26-1 Determines file type using "magic"
ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep
ii python-urwid 0.9.8.3-1 curses-based UI/widget library for
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug-3.45_conffiles_fix.diff
Type: text/x-diff
Size: 1832 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20081022/dd630321/attachment.diff
More information about the Reportbug-maint
mailing list