Your message dated Sun, 15 Dec 2013 12:41:30 +0000
with message-id <[email protected]>
and subject line Bug#671342: Removed package(s) from unstable
has caused the Debian Bug report #672708,
regarding init.d/console-screen.sh: make setterm inevitable output more verbose
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 [email protected]
immediately.)


-- 
672708: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672708
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  console-tools
Version:  1:0.2.3dbs-70
Severity: normal
Tags:     patch
File:     /etc/init.d/console-screen.sh

    $ grep -A1 'Setting console screen modes and fonts' /var/log/boot
    Sat May 12 23:14:32 2012: Setting console screen modes and fonts.
    Sat May 12 23:14:32 2012: ^[[9;30]^[[14;30]Setting kernel variables ...done.
    $

  I think it is inevitable to have something like ^[[9;30]^[[14;30]
because setterm is writing to stdout.  I also think that [[9;30]^[[14;30]
is because of the default settings in /etc/console-tools/config.  
Therefore, I propose the following patch.  I deliberately didn't put 
log_action_*_msg after
[ "$VERBOSE" != "no" ].

--- a/etc/init.d/console-screen.sh      2010-03-02 22:29:07.000000000 +0200
+++ b/etc/init.d/console-screen.sh      2012-05-13 03:15:20.000000000 +0300
@@ -209,7 +209,15 @@ setup_screensaver() {
         setterm_args="$setterm_args -powerdown $POWERDOWN_TIME"
     fi
     if [ "$setterm_args" ]; then
-        setterm $setterm_args
+        if [ "$BLANK_TIME"  -o  "$POWERDOWN_TIME" ]; then
+            # No point to guard log_action_... with
+            # [ "$VERBOSE" != "no" ]
+            log_action_begin_msg "    console screensaver "
+            setterm $setterm_args
+            log_action_end_msg 0
+        else
+            setterm $setterm_args
+        fi
     fi

 }




--- End Message ---
--- Begin Message ---
Version: 2:0.2.3-73+rm

Dear submitter,

as the package console-tools has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/671342

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to