Your message dated Tue, 05 Sep 2006 09:32:16 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#384785: fixed in console-tools 1:0.2.3dbs-65
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)
--- Begin Message ---
Package: console-tools
Version: 0.2.3dbs
Severity: minor
Tags: patch
Hi,
the attached patch changes the console-tools init.d script(s) to use lsb
logging functions. In addition it also reduces the output to one line if
VERBOSE has been set to no in /etc/default/rcS.
Regards,
David
diff -ur ./console-tools-0.2.3dbs.orig/debian/console-screen.sh
./console-tools-0.2.3dbs/debian/console-screen.sh
--- ./console-tools-0.2.3dbs.orig/debian/console-screen.sh 2006-07-18
18:07:06.000000000 +0200
+++ ./console-tools-0.2.3dbs/debian/console-screen.sh 2006-08-26
17:56:21.000000000 +0200
@@ -30,6 +30,8 @@
done
fi
+. /lib/lsb/init-functions
+
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SETFONT="/usr/bin/consolechars"
SETFONT_OPT=""
@@ -82,16 +84,15 @@
# start vcstime
if [ "${DO_VCSTIME}" = "yes" -a -x ${VCSTIME} ] ; then
- echo -n Starting clock on text console: `basename ${VCSTIME}`
+ [ "$VERBOSE" != "no" ] && log_action_begin_msg "Starting clock on text
console"
${VCSTIME} ${VCSTIME_OPT} &
- echo .
+ [ "$VERBOSE" != "no" ] && log_action_end_msg 0
fi
# Global default font+sfm
- if [ "${SCREEN_FONT}" ]
- then
- echo -n "Setting up general console font... "
+ if [ "${SCREEN_FONT}" ]; then
+ [ "$VERBOSE" != "no" ] && log_action_begin_msg "Setting up general
console font"
SCREEN_FONT="-f ${SCREEN_FONT}"
# maybe use an external SFM
@@ -103,10 +104,13 @@
NUM_CONSOLES=`fgconsole --next-available`
NUM_CONSOLES=`expr ${NUM_CONSOLES} - 1`
[ ${NUM_CONSOLES} -eq 1 ] && NUM_CONSOLES=6
- for vc in `seq 0 ${NUM_CONSOLES}`
- do
- ${SETFONT} --tty=${DEVICE_PREFIX}$vc ${SETFONT_OPT} ${SCREEN_FONT}
${SCREEN_FONT_MAP} || { echo " failed."; break; }
- if [ "$vc" -eq ${NUM_CONSOLES} ]; then echo " done."; fi
+ for vc in `seq 0 ${NUM_CONSOLES}` ; do
+ if ! ${SETFONT} --tty=${DEVICE_PREFIX}$vc ${SETFONT_OPT}
${SCREEN_FONT} ${SCREEN_FONT_MAP} ; then
+ [ "$VERBOSE" != "no" ] && log_action_end_msg 1
+ break
+ elif [ "$vc" -eq ${NUM_CONSOLES} ]; then
+ [ "$VERBOSE" != "no" ] && log_action_end_msg 0
+ fi
done
fi
@@ -115,7 +119,7 @@
PERVC_FONTS="`set | grep "^SCREEN_FONT_vc[0-9]*=" | tr -d \' `"
if [ "${PERVC_FONTS}" ]
then
- echo -n "Setting up per-VC fonts: "
+ [ "$VERBOSE" != "no" ] && log_action_begin_msg "Setting up per-VC fonts"
for font in ${PERVC_FONTS}
do
# extract VC and FONTNAME info from variable setting
@@ -130,7 +134,7 @@
${SETFONT} --tty=${DEVICE_PREFIX}$vc ${SETFONT_OPT} -f $font $sfm
done
- echo "done."
+ [ "$VERBOSE" != "no" ] && log_action_end_msg 0
fi
@@ -142,7 +146,7 @@
PERVC_ACMS="`set | grep "^APP_CHARSET_MAP_vc[0-9]*=" | tr -d \' `"
if [ "${PERVC_ACMS}" ]
then
- echo -n "Setting up per-VC ACM's: "
+ [ "$VERBOSE" != "no" ] && log_action_begin_msg "Setting up per-VC ACM's"
for acm in ${PERVC_ACMS}
do
# extract VC and FONTNAME info from variable setting
@@ -153,7 +157,7 @@
fi
eval "${CHARSET} --tty='${DEVICE_PREFIX}$vc' G0 '$acm'"
done
- echo "done."
+ [ "$VERBOSE" != "no" ] && log_action_end_msg 0
fi
@@ -199,9 +203,9 @@
KBDRATE_ARGS="$KBDRATE_ARGS -d $KEYBOARD_DELAY"
fi
if [ -n "$KBDRATE_ARGS" ]; then
- echo -n "Setting keyboard rate and delay: "
+ [ "$VERBOSE" != "no" ] && log_action_begin_msg "Setting keyboard rate
and delay"
kbdrate -s $KBDRATE_ARGS
- echo "done."
+ [ "$VERBOSE" != "no" ] && log_action_end_msg 0
fi
# Inform gpm if present, of potential changes.
@@ -226,6 +230,7 @@
case "$1" in
start|reload|restart|force-reload)
+ log_action_msg "Setting console screen modes and fonts"
setup
;;
stop)
diff -ur ./console-tools-0.2.3dbs.orig/debian/control
./console-tools-0.2.3dbs/debian/control
--- ./console-tools-0.2.3dbs.orig/debian/control 2006-06-30
16:51:10.000000000 +0200
+++ ./console-tools-0.2.3dbs/debian/control 2006-08-26 17:57:07.000000000
+0200
@@ -8,7 +8,7 @@
Package: console-tools
Section: utils
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, sysvinit (>> 2.74), debconf |
debconf-2.0
+Depends: ${shlibs:Depends}, ${misc:Depends}, sysvinit (>> 2.74), debconf |
debconf-2.0, lsb-base (>= 3.0-10)
Recommends: console-data (>= 2002.12.04dbs-1), console-common
Suggests: kbd-compat
Provides: console-utilities, open
--- End Message ---
--- Begin Message ---
Source: console-tools
Source-Version: 1:0.2.3dbs-65
We believe that the bug you reported is fixed in the latest version of
console-tools, which is due to be installed in the Debian FTP archive:
console-tools-dev_0.2.3dbs-65_i386.deb
to pool/main/c/console-tools/console-tools-dev_0.2.3dbs-65_i386.deb
console-tools_0.2.3dbs-65.dsc
to pool/main/c/console-tools/console-tools_0.2.3dbs-65.dsc
console-tools_0.2.3dbs-65.tar.gz
to pool/main/c/console-tools/console-tools_0.2.3dbs-65.tar.gz
console-tools_0.2.3dbs-65_i386.deb
to pool/main/c/console-tools/console-tools_0.2.3dbs-65_i386.deb
kbd-compat_0.2.3dbs-65_all.deb
to pool/main/c/console-tools/kbd-compat_0.2.3dbs-65_all.deb
libconsole_0.2.3dbs-65_i386.deb
to pool/main/c/console-tools/libconsole_0.2.3dbs-65_i386.deb
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <[EMAIL PROTECTED]> (supplier of updated console-tools
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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 5 Sep 2006 16:46:25 +0100
Source: console-tools
Binary: kbd-compat console-tools-dev libconsole console-tools
Architecture: source all i386
Version: 1:0.2.3dbs-65
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <[EMAIL PROTECTED]>
Changed-By: Alastair McKinstry <[EMAIL PROTECTED]>
Description:
console-tools - Linux console and font utilities
console-tools-dev - Development files for Linux console and font manipulation
kbd-compat - Wrappers around console-tools for backward compatibility with `kb
libconsole - Shared libraries for Linux console and font manipulation
Closes: 366272 382115 382595 384118 384785 386038 386134
Changes:
console-tools (1:0.2.3dbs-65) unstable; urgency=low
.
* Remove dependency on sysvinit, to allow for upstart. Closes: #386134.
* Remove reference to <asm/kbio.h> which has been removed from the
sparc kernel. Closes: #386038.
* Fix comment typo in unicode_start.
* Fix defkeymap location in loadkeys map page. Closes: #382595.
* Include lct-9.html in the docs. Closes: #384118.
* Patch from Karol Lewandowski for console-screen.sh to remove
unnecessary process spawns. Closes: #382115.
* Add LSB logging support to console-screen.sh, patch by
David Hardeman. Closes: #384785.
* console-screen.sh: Don't set fonts on tty0. Closes: #366272.
Files:
11dd6d74da7156aac39367f8fbf75bef 641 base optional
console-tools_0.2.3dbs-65.dsc
59516db94e167b76a1b850f609331361 1490751 base optional
console-tools_0.2.3dbs-65.tar.gz
14e7a3dcaf9a6bdcae5807f46b3e9423 43728 utils optional
kbd-compat_0.2.3dbs-65_all.deb
c6c34f647ff9e114850dc7533bff4d24 296748 utils optional
console-tools_0.2.3dbs-65_i386.deb
a710a079d3ba883741c6442defec8cf5 129680 libs optional
libconsole_0.2.3dbs-65_i386.deb
da1041f11f5e28fe52b8cad034026ceb 86344 devel optional
console-tools-dev_0.2.3dbs-65_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE/aU5QTK/kCo4XFcRAoPvAJ43lUh/PLwpJohOtQbTJVy+FJLXGQCg1WXv
aS86NJr5AqOwgFCHJ8K6RWA=
=49ck
-----END PGP SIGNATURE-----
--- End Message ---