Your message dated Fri, 5 Sep 2003 17:53:45 -0500 with message-id <[EMAIL PROTECTED]> and subject line Bug#165591: debconf shenanigans 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; 20 Oct 2002 16:07:34 +0000 >From [EMAIL PROTECTED] Sun Oct 20 11:07:34 2002 Return-path: <[EMAIL PROTECTED]> Received: from m139-mp1.cvx2-a.bre.dial.ntli.net (cyclone) [62.253.80.139] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 183Ibx-0003IO-00; Sun, 20 Oct 2002 11:07:30 -0500 Received: from aps100 by cyclone with local (Exim 3.36 #1 (Debian)) id 183Ibv-0005Yr-00 for <[EMAIL PROTECTED]>; Sun, 20 Oct 2002 17:07:27 +0100 Date: Sun, 20 Oct 2002 17:07:26 +0100 From: Andrew Suffield <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: debconf shenanigans Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline User-Agent: Mutt/1.4i X-Monty-Python: No-one expects the Spanish Inquisition! Sender: Andrew Suffield <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-6.4 required=5.0 tests=PGP_SIGNATURE_2,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.41 X-Spam-Level: --NKoe5XOeduwbEQHU Content-Type: multipart/mixed; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: xserver-xfree86 Version: 4.2.1-3 Summary: Answering "no" to move_existing_nondebconf_config doesn't stop dexconf from running, and the question is repeatedly asked on every reinstall/upgrade of xserver-xfree86. This should be pretty easy to reproduce; replace /etc/X11/XF86Config-4 with an empty file, dpkg-reconfigure xserver-xfree86, say "Yes" to "Manage config with debconf" and "No" to "Replace existing config file"; postinst will either write the file or fail (depending on what random values happened to be in the debconf database), and "Replace existing config file" will be asked again on the next installation. (The workaround is fairly obvious; dpkg-reconfigure xserver-xfree86 and say "no" to the first question) The basic problem is that, in the config script, if the user replies "no" to move_existing_nondebconf_config then the script aborts immediately. However, this does not affect the postinst's behaviour; it tries to create the file anyway. My inclination is that config should db_set manage_config_with_debconf to false if move_existing_nondebconf_config is false. Also, postinst probably needs to check both values and do something appropriate in the yes/no case. FWIW, the output of=20 /usr/share/debconf/frontend sh -x /var/lib/dpkg/info/xserver-xfree86.postin= st configure and debconf-show xserver-xfree86 is attached, in the broken state. --=20 .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | Dept. of Computing, `. `' | Imperial College, `- -><- | London, UK --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sh_-x_xserver-xfree86.postinst" Content-Transfer-Encoding: quoted-printable + set -e + THIS_PACKAGE=3Dxserver-xfree86 + THIS_SCRIPT=3Dpostinst + SOURCE_VERSION=3D4.2.1-3 + trap 'message; message "Received signal. Aborting xserver-xfree86 p= ackage postinst script."; message; exit 1' HUP INT QUIT TERM + which readlink + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ DEBCONF_REDIR=3D1 ++ export DEBCONF_REDIR ++ _old_opts=3Dconfigure ++ set -- capb CAPB ++ eval 'db_capb () { echo "CAPB $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- set SET ++ eval 'db_set () { echo "SET $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- reset RESET ++ eval 'db_reset () { echo "RESET $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- title TITLE ++ eval 'db_title () { echo "TITLE $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- input INPUT ++ eval 'db_input () { echo "INPUT $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- beginblock BEGINBLOCK ++ eval 'db_beginblock () { echo "BEGINBLOCK $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- endblock ENDBLOCK ++ eval 'db_endblock () { echo "ENDBLOCK $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- go GO ++ eval 'db_go () { echo "GO $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- get GET ++ eval 'db_get () { echo "GET $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- register REGISTER ++ eval 'db_register () { echo "REGISTER $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- unregister UNREGISTER ++ eval 'db_unregister () { echo "UNREGISTER $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- subst SUBST ++ eval 'db_subst () { echo "SUBST $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- previous_module PREVIOUS_MODULE ++ eval 'db_previous_module () { echo "PREVIOUS_MODULE $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- fset FSET ++ eval 'db_fset () { echo "FSET $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- fget FGET ++ eval 'db_fget () { echo "FGET $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- purge PURGE ++ eval 'db_purge () { echo "PURGE $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- metaget METAGET ++ eval 'db_metaget () { echo "METAGET $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- version VERSION ++ eval 'db_version () { echo "VERSION $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- clear CLEAR ++ eval 'db_clear () { echo "CLEAR $@" >&3 # Set to newline to get whole line. local IFS=3D'\'' '\'' local _LINE read -r _LINE # Disgusting, but it'\''s the only good way to split the line, # preserving all other whitespace. RET=3D${_LINE#*[ ]} return ${_LINE%%[ ]*} }' ++ set -- configure ++ unset _old_opts + THIS_SERVER=3D/usr/bin/X11/XFree86 + CURRENT_SERVER=3D + '[' -e /etc/X11/X ']' + '[' -L /etc/X11/X ']' ++ readlink /etc/X11/X + CURRENT_SERVER=3D/usr/bin/X11/XFree86 + '[' /usr/bin/X11/XFree86 =3D /usr/bin/X11/X -o /usr/bin/X11/XFree86 =3D /= usr/X11R6/bin/X ']' + db_get shared/clobber_x-server_symlink + echo 'GET shared/clobber_x-server_symlink' + local 'IFS=3D ' + local _LINE + read -r _LINE + RET=3Dfalse + return 0 + '[' false =3D true ']' + db_set shared/clobber_x-server_symlink false + echo 'SET shared/clobber_x-server_symlink' false + local 'IFS=3D ' + local _LINE + read -r _LINE + RET=3Dvalue set + return 0 + '[' /usr/bin/X11/XFree86 =3D /usr/bin/X11/XFree86 ']' + db_get xserver-xfree86/manage_config_with_debconf + echo 'GET xserver-xfree86/manage_config_with_debconf' + local 'IFS=3D ' + local _LINE + read -r _LINE + RET=3Dtrue + return 0 + '[' true =3D true ']' + which dexconf + run_dexconf + dexconf dexconf: cannot generate configuration file;=20 xserver-xfree86/config/inputdevice/keyboard/rules not set. Aborting. =20 Reconfigure the X server with "dpkg-reconfigure xserver-xfree86" to correct= =20 this problem. + message 'Unable to write X server configuration file.' + echo 'Unable to write X server configuration file.' + fold -s -w 80 Unable to write X server configuration file. + db_set xserver-xfree86/move_existing_nondebconf_config false + echo 'SET xserver-xfree86/move_existing_nondebconf_config' false + local 'IFS=3D ' + local _LINE + read -r _LINE + RET=3Dvalue set + return 0 + db_fset xserver-xfree86/move_existing_nondebconf_config seen false + echo 'FSET xserver-xfree86/move_existing_nondebconf_config' seen false + local 'IFS=3D ' + local _LINE + read -r _LINE + RET=3Dfalse + return 0 + which update-configlets + exit 0 --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xserver-xfree86.debconf" Content-Transfer-Encoding: quoted-printable * xserver-xfree86/config/device/identifier: Matrox G400 * xserver-xfree86/config/monitor/screen-size: 17 inches (430 mm) xserver-xfree86/config/device/use_fbdev:=20 * xserver-xfree86/config/monitor/selection-method: Advanced xserver-xfree86/config/doublequote_in_string_error:=20 shared/default-x-server: xserver-xfree86 * xserver-xfree86/config/inputdevice/mouse/emulate3buttons: false xserver-xfree86/config/device/bus_id:=20 xserver-xfree86/config/inputdevice/keyboard/layout:=20 * xserver-xfree86/config/monitor/horiz-sync: 27-96 * xserver-xfree86/config/monitor/identifier: iiyama VM-PRO 410 shared/no_known_x-server:=20 xserver-xfree86/autodetect_mouse: true * xserver-xfree86/config/device/video_ram:=20 xserver-xfree86/config/monitor/mode-list: 1280x960 @ 60Hz * xserver-xfree86/config/monitor/lcd: false xserver-xfree86/config/inputdevice/keyboard/internal:=20 * xserver-xfree86/clobber_XF86Config-4: false xserver-xfree86/config/inputdevice/keyboard/rules:=20 * xserver-xfree86/aware_XF86Config-4:=20 xserver-xfree86/multiple_possible_x-drivers:=20 * xserver-xfree86/config/inputdevice/keyboard/model: pc102 xserver-xfree86/config/write_dri_section: true * xserver-xfree86/config/device/driver: mga * xserver-xfree86/config/monitor/vert-refresh: 50-160 * xserver-xfree86/config/display/default_depth: 16 * xserver-xfree86/config/inputdevice/mouse/zaxismapping: false * xserver-xfree86/config/display/modes: 1280x960, 1152x864, 1024x768, 800x6= 00 shared/clobber_x-server_symlink: false xserver-xfree86/config/inputdevice/mouse/retry_detection:=20 xserver-xfree86/config/device/bus_id_error:=20 xserver-xfree86/config/modules: GLcore, bitmap, dbe, ddc, dri, extmod, fr= eetype, glx, int10, record, speedo, type1, vbe xserver-xfree86/config/inputdevice/keyboard/options:=20 * xserver-xfree86/existing_XF86Config-4: No xserver-xfree86/move_existing_nondebconf_config: false xserver-xfree86/config/nonnumeric_string_error:=20 * xserver-xfree86/config/inputdevice/mouse/protocol: PS/2 shared/multiple_possible_x-servers:=20 xserver-xfree86/config/null_string_error:=20 * xserver-xfree86/manage_config_with_debconf: true xserver-xfree86/config/monitor/range_input_error:=20 xserver-xfree86/autodetect_video_card: true xserver-xfree86/config/inputdevice/keyboard/variant:=20 * xserver-xfree86/config/inputdevice/mouse/port: /dev/psaux xserver-xfree86/config/write_files_section: true xserver-xfree86/autodetect_monitor: true --VrqPEDrXMn8OVzN4-- --NKoe5XOeduwbEQHU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9stS+lpK98RSteX8RAp93AJ45izg4dk2hr5qAXJNTJ4yYEX4/kACeJNFY 4oK33Wex6swrNR/jN29+EQI= =EUVM -----END PGP SIGNATURE----- --NKoe5XOeduwbEQHU-- --------------------------------------- Received: (at 165591-done) by bugs.debian.org; 5 Sep 2003 22:53:54 +0000 >From [EMAIL PROTECTED] Fri Sep 05 17:53:46 2003 Return-path: <[EMAIL PROTECTED]> Received: from dhcp065-026-182-085.indy.rr.com (redwald.deadbeast.net) [65.26.182.85] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19vPSb-0001o7-00; Fri, 05 Sep 2003 17:53:45 -0500 Received: by redwald.deadbeast.net (Postfix, from userid 1000) id 42BD264207; Fri, 5 Sep 2003 17:53:45 -0500 (EST) Date: Fri, 5 Sep 2003 17:53:45 -0500 From: Branden Robinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Bug#165591: debconf shenanigans Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2FkSFaIQeDFoAt0B" Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> User-Agent: Mutt/1.5.4i Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-9.6 required=4.0 tests=BAYES_30,IN_REP_TO,PGP_SIGNATURE_2,REFERENCES, USER_AGENT_MUTT version=2.53-bugs.debian.org_2003_8_27 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp) --2FkSFaIQeDFoAt0B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable xfree86 (4.2.1-11) unstable; urgency=3Dmedium * The following configuration files use a new, MD5-checksum-based method = of management: - /etc/X11/X - /etc/X11/XF86Config-4 - /etc/X11/Xwrapper.config This new method attempts to detect changes to these files, and if they = are modified by the user, the files will be ignored by the packaging system henceforth. The debconf region markers (e.g. "### BEGIN DEBCONF SECTIO= N") formerly used in Xwrapper.config and XF86Config-4 are no longer used, a= re disregarded if present, and will not be newly written. The debconf templates in the xserver-common, xserver-xfree86, and xserver-xfree86-dbg packages (the latter shares all of its templates wi= th xserver-xfree86) having to do with whether or not files on the disk sho= uld be overwritten have been removed, and are unregistered in the new packages' pre-installation scripts. In the event that you have customized these configuration files, and ha= ve neglected both to correct debconf's notion of whether it should manage those files, and (in the case of Xwrapper.config and XF86Config-4) have not removed the "debconf region markers" before upgrading to xfree86 4.2.1-10 or later, backups are made and stored in the same directory, w= ith the suffix ".dpkg-old". See the Debian X FAQ at <http://people.debian.org/~branden/xsf/FAQ> or = in the file /usr/share/doc/xfree86-common/FAQ.gz after this upgrade is complete for more information on the Debian XFree86 packages' new method of handling these configuration files. -- Branden Robinson <[EMAIL PROTECTED]> Sun, 24 Aug 2003 15:07:11 -0500 Closing this bug. --=20 G. Branden Robinson | I must despise the world which does Debian GNU/Linux | not know that music is a higher [EMAIL PROTECTED] | revelation than all wisdom and http://people.debian.org/~branden/ | philosophy. -- Ludwig van Beethoven --2FkSFaIQeDFoAt0B Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iEYEARECAAYFAj9ZE/kACgkQ6kxmHytGonx3LACfWa7t8f+GjRW99Mus7iIE2PnP r+kAn2XUaLPtN7uZPzd1OLdAgwJZurvO =RJwv -----END PGP SIGNATURE----- --2FkSFaIQeDFoAt0B--