X Strike Force XFree86 SVN commit: r2195 - trunk/debian
Author: branden
Date: 2005-02-15 11:47:00 -0500 (Tue, 15 Feb 2005)
New Revision: 2195
Modified:
trunk/debian/CHANGESETS
trunk/debian/changelog
trunk/debian/xdm.postrm.in
trunk/debian/xfree86-common.postrm.in
Log:
Fix xfree86-common and xdm's postrm scripts to shunt update-rc.d's
standard output to /dev/null; the #DEBHELPER# expando causes the postrm to
be re-executed with the debconf frontend, which is notorious for mistaking
anything that appears on standard output as food, and is confused by
update-rc.d's unconditional chattery spew. Thanks to Adam Conrad and
Steve Lanagasek for walking me through the issue on IRC.
(Closes: #295175)
Modified: trunk/debian/CHANGESETS
===================================================================
--- trunk/debian/CHANGESETS 2005-02-13 09:02:31 UTC (rev 2194)
+++ trunk/debian/CHANGESETS 2005-02-15 16:47:00 UTC (rev 2195)
@@ -11,4 +11,13 @@
Miscellaneous cosmetic fixes.
2191, 2192, 2194
+Fix xfree86-common and xdm's postrm scripts to shunt update-rc.d's
+standard output to /dev/null; the #DEBHELPER# expando causes the postrm to
+be re-executed with the debconf frontend, which is notorious for mistaking
+anything that appears on standard output as food, and is confused by
+update-rc.d's unconditional chattery spew. Thanks to Adam Conrad and
+Steve Lanagasek for walking me through the issue on IRC.
+(Closes: #295175)
+ 2195
+
vim:set ai et sts=4 sw=4 tw=80:
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-02-13 09:02:31 UTC (rev 2194)
+++ trunk/debian/changelog 2005-02-15 16:47:00 UTC (rev 2195)
@@ -1,9 +1,18 @@
-xfree86 (4.3.0.dfsg.1-12) unstable; urgency=low
+xfree86 (4.3.0.dfsg.1-11+SVN) unstable; urgency=medium
- * dummy changelog entry; replace this when first change made
+ * Urgency set to medium due to fix for release-critical bug #295175
+ (xfree86-common fails to purge; see below).
- -- Branden Robinson <branden@debian.org> Sat, 12 Feb 2005 14:45:33 -0500
+ * Fix xfree86-common and xdm's postrm scripts to shunt update-rc.d's
+ standard output to /dev/null; the #DEBHELPER# expando causes the postrm to
+ be re-executed with the debconf frontend, which is notorious for mistaking
+ anything that appears on standard output as food, and is confused by
+ update-rc.d's unconditional chattery spew. Thanks to Adam Conrad and
+ Steve Lanagasek for walking me through the issue on IRC.
+ (Closes: #295175)
+ -- Branden Robinson <branden@debian.org> Tue, 15 Feb 2005 11:31:33 -0500
+
xfree86 (4.3.0.dfsg.1-11) unstable; urgency=medium
* Urgency set to medium due to fix for release-critical bug #286181
Modified: trunk/debian/xdm.postrm.in
===================================================================
--- trunk/debian/xdm.postrm.in 2005-02-13 09:02:31 UTC (rev 2194)
+++ trunk/debian/xdm.postrm.in 2005-02-15 16:47:00 UTC (rev 2195)
@@ -32,7 +32,14 @@
fi
if [ "$1" = "purge" ]; then
- update-rc.d xdm remove
+ # Sadly, we *have* to throw away update-rc.d's output because debhelper will
+ # call debconf for us, and update-rc.d's noise on debconf's standard input
+ # will confuse it.
+ #
+ # update-rc.d *should* run silently on success, but alas, it thinks it is an
+ # MS-DOS program. (update-rc.d supports neither -q [quiet] nor -v [verbose]
+ # options.)
+ update-rc.d xdm remove >/dev/null
for DIR in /etc/X11/xdm /var/lib/xdm; do
if [ -d "$DIR" ]; then
rm -r "$DIR"
Modified: trunk/debian/xfree86-common.postrm.in
===================================================================
--- trunk/debian/xfree86-common.postrm.in 2005-02-13 09:02:31 UTC (rev 2194)
+++ trunk/debian/xfree86-common.postrm.in 2005-02-15 16:47:00 UTC (rev 2195)
@@ -19,7 +19,14 @@
fi
if [ "$1" = "purge" ]; then
- update-rc.d xfree86-common remove
+ # Sadly, we *have* to throw away update-rc.d's output because debhelper will
+ # call debconf for us, and update-rc.d's noise on debconf's standard input
+ # will confuse it.
+ #
+ # update-rc.d *should* run silently on success, but alas, it thinks it is an
+ # MS-DOS program. (update-rc.d supports neither -q [quiet] nor -v [verbose]
+ # options.)
+ update-rc.d xfree86-common remove >/dev/null
for DIR in /etc/X11/Xresources /etc/X11/Xsession.d /etc/X11; do
rmdir "$DIR" 2> /dev/null || true
done
Reply to: