Your message dated Sun, 12 Aug 2007 20:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#431006: fixed in console-log 1.0-14
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-log
Version: 1.0-13
Severity: normal
Tags: unreproducible help

This is probably a 64bit or an amd64 issue, reported in private mail
to the maintainer.

This is a Debian unstable/testing, machine AMD64,
debian kernel Linux 2.6.20-1-amd64
libc6   2.5-7

Console-log always launches the first pager entry only.
Any other fails (example below.)
File permissions are correctly set (root:adm rw-r--r--)

For example, this config

tty 9
file /var/log/kern.log
group adm

tty 8
file /var/log/syslog
group adm

....leads to:

Stopping console-log for restart: /var/log/kern.log.
Restarting console-log: /var/log/kern.log
W: /var/log/syslog not readable by Debian-console-log...failed.

OTOH,
changing to config to

tty 9
file /var/log/syslog
group adm

tty 8
file /var/log/kern.log
group adm

..... leads to:

Stopping console-log for restart:.
Restarting console-log: /var/log/syslog
W: /var/log/kern.log not readable by Debian-console-log...failed.

Attachments:
  oneentry.txt - debug output with only one entry, working fine
  twoentries.txt - debug output with two entries, showing the bug

System Info:
# ========== System:
# Machine: x86_64 
# Kernel: Linux 2.6.22-rc4-amd64 (custom)
# Debian GNU/Linux lenny/sid
# Installed:
libc6   2.5-10
libc6-dev       2.5-10
libc6-i386      2.5-10
ia32-libs       1.19
libglib-perl    1:1.144-1
libglib1.2      1.2.10-17
libglib1.2-dev  1.2.10-17
libglib2.0-0    2.12.12-1
libglib2.0-dev  2.12.12-1
libglibmm-2.4-1c2a      2.12.9-0.1
bash    3.1dfsg-8
python  2.4.4-6
python-cairo    1.4.0-2
python-central  0.5.14
python-dbus     0.81.1-1
python-glade2   2.10.4-2
python-gmenu    2.18.2-1
python-gnome2   2.18.2-1
python-gnome2-desktop   2.18.0-2
python-gobject  2.12.3-2
python-gtk2     2.10.4-2
python-libxml2  2.6.28.dfsg-1
python-minimal  2.4.4-6
python-newt     0.52.2-10
python-numeric  24.2-7
python-pyorbit  2.14.3-1
python-selinux  2.0.15-2
python-semanage 2.0.3-1
python-support  0.6.4
python-uno      2.2.1~rc3-3
python-vte      1:0.16.5-1
python-xml      0.8.4-7
python2.3       2.3.5-16
python2.4       2.4.4-4
python2.4-dev   2.4.4-4
python2.4-minimal       2.4.4-4
console-log     1.0-13
daemon  0.6.3-1

All log files in question are readable for Debian-console-log.

The user uses syslog-ng, but I don't quite believe that this
influences the behavior.

Greetings
Marc
First, the output with only one entry for /var/log/syslog which works fine.


=======================================

~/Scripts r: export CONLoGDEBUG=1
~/Scripts r: /etc/init.d/console-log start
now debugging /etc/init.d/console-log start
+ mkdir -p /var/run/console-log
+ case "$1" in
+ log_daemon_msg 'Starting console-log'
+ '[' -z 'Starting console-log' ']'
+ '[' -z '' ']'
+ echo -n 'Starting console-log:'
Starting console-log:+ return
+ do_from_config start
+ mkdir -p /var/run/console-log
+ cd /var/run/console-log
+ ACTION=start
+ true
+ unset tty
+ chvt=no
+ unset file
+ user=Debian-console-log
+ unset group
+ group=Debian-console-log
+ unset locscript
+ pager=less
+ unset maxfilesize
+ maxfilesize=7000000
+ COUNTER=
+ ELINE=0
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ ELINE=1
+ break
+ RET=0
+ '[' -n '' ']'
+ '[' 1 '!=' 1 ']'
+ true
+ unset tty
+ chvt=no
+ unset file
+ user=Debian-console-log
+ unset group
+ group=Debian-console-log
+ unset locscript
+ pager=less
+ unset maxfilesize
+ maxfilesize=7000000
+ COUNTER=
+ ELINE=0
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ ELINE=1
+ break
+ RET=0
+ '[' -n '' ']'
+ '[' 1 '!=' 1 ']'
+ true
+ unset tty
+ chvt=no
+ unset file
+ user=Debian-console-log
+ unset group
+ group=Debian-console-log
+ unset locscript
+ pager=less
+ unset maxfilesize
+ maxfilesize=7000000
+ COUNTER=
+ ELINE=0
+ read KEY VALUE
+ case "$KEY" in
+ eval 'tty="8"'
++ tty=8
+ COUNTER=.
+ read KEY VALUE
+ case "$KEY" in
+ eval 'file="/var/log/syslog"'
++ file=/var/log/syslog
+ COUNTER=..
+ read KEY VALUE
+ case "$KEY" in
+ eval 'group="adm"'
++ group=adm
+ COUNTER=...
+ read KEY VALUE
+ RET=0
+ '[' -n ... ']'
+ case "$ACTION" in
+ start_pager 8 no /var/log/syslog Debian-console-log adm 7000000 less ''
+ TTY=8
+ CHVT=no
+ FILE=/var/log/syslog
+ USER=Debian-console-log
+ GROUP=adm
+ MAXFILESIZE=7000000
+ PAGER=less
+ LOCSCRIPT=
+ echo 8
+ grep '[[:digit:]]\+'
+ PIDFILEDIR=/var/run/console-log
+ DAEMONUSER=
+ '[' -n Debian-console-log ']'
+ DAEMONUSER='--user Debian-console-log'
+ mkdir -p /var/run/console-log/Debian-console-log
+ chown Debian-console-log /var/run/console-log/Debian-console-log
+ PIDFILEDIR=/var/run/console-log/Debian-console-log
+ '[' -n adm ']'
+ DAEMONUSER='--user Debian-console-log.adm'
+ unset found
+ for file in '$FILE'
+ '[' -f /var/log/syslog ']'
+ su --shell=/bin/bash '--command=head -n 1 /var/log/syslog' Debian-console-log
+ FILENAME=8-_-_var_-_log_-_syslog
+ '[' -f /var/run/console-log/Debian-console-log/8-_-_var_-_log_-_syslog ']'
+ '[' -x '' ']'
+ '[' -x /usr/share/console-log/logpager ']'
+ RET=0
+ ulimit -S -v 24000
+ openvt -f -c 8 -- daemon --foreground --respawn --attempts=20 --delay=10 
--name=8-_-_var_-_log_-_syslog 
--pidfile=/var/run/console-log/Debian-console-log/8-_-_var_-_log_-_syslog 
--user Debian-console-log.adm /usr/share/console-log/logpager -- less 
/var/log/syslog 7000000
+ '[' 0 = 2 ']'
+ '[' -f /etc/console.noblank ']'
+ '[' no == yes ']'
+ log_progress_msg /var/log/syslog
+ '[' -z /var/log/syslog ']'
+ echo -n ' /var/log/syslog'
 /var/log/syslog+ found=1
+ break
+ '[' 0 '!=' 1 ']'
+ break
+ return
+ log_end_msg 0
+ '[' -z 0 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
..
+ return 0
+ exit 0

=======================================
Now the output with two entries,

tty 8
file /var/log/kern.log
group adm

tty 9
file /var/log/syslog
group adm

and i can assure you both of them work as single (or first) entry.

=======================================
~/Scripts r: /etc/init.d/console-log start
now debugging /etc/init.d/console-log start
+ mkdir -p /var/run/console-log
+ case "$1" in
+ log_daemon_msg 'Starting console-log'
+ '[' -z 'Starting console-log' ']'
+ '[' -z '' ']'
+ echo -n 'Starting console-log:'
Starting console-log:+ return
+ do_from_config start
+ mkdir -p /var/run/console-log
+ cd /var/run/console-log
+ ACTION=start
+ true
+ unset tty
+ chvt=no
+ unset file
+ user=Debian-console-log
+ unset group
+ group=Debian-console-log
+ unset locscript
+ pager=less
+ unset maxfilesize
+ maxfilesize=7000000
+ COUNTER=
+ ELINE=0
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ ELINE=1
+ break
+ RET=0
+ '[' -n '' ']'
+ '[' 1 '!=' 1 ']'
+ true
+ unset tty
+ chvt=no
+ unset file
+ user=Debian-console-log
+ unset group
+ group=Debian-console-log
+ unset locscript
+ pager=less
+ unset maxfilesize
+ maxfilesize=7000000
+ COUNTER=
+ ELINE=0
+ read KEY VALUE
+ case "$KEY" in
+ eval 'tty="8"'
++ tty=8
+ COUNTER=.
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ continue
+ read KEY VALUE
+ case "$KEY" in
+ eval 'file="/var/log/kern.log"'
++ file=/var/log/kern.log
+ COUNTER=..
+ read KEY VALUE
+ case "$KEY" in
+ eval 'group="adm"'
++ group=adm
+ COUNTER=...
+ read KEY VALUE
+ case "$KEY" in
+ ELINE=1
+ break
+ RET=0
+ '[' -n ... ']'
+ case "$ACTION" in
+ start_pager 8 no /var/log/kern.log Debian-console-log adm 7000000 less ''
+ TTY=8
+ CHVT=no
+ FILE=/var/log/kern.log
+ USER=Debian-console-log
+ GROUP=adm
+ MAXFILESIZE=7000000
+ PAGER=less
+ LOCSCRIPT=
+ echo 8
+ grep '[[:digit:]]\+'
+ PIDFILEDIR=/var/run/console-log
+ DAEMONUSER=
+ '[' -n Debian-console-log ']'
+ DAEMONUSER='--user Debian-console-log'
+ mkdir -p /var/run/console-log/Debian-console-log
+ chown Debian-console-log /var/run/console-log/Debian-console-log
+ PIDFILEDIR=/var/run/console-log/Debian-console-log
+ '[' -n adm ']'
+ DAEMONUSER='--user Debian-console-log.adm'
+ unset found
+ for file in '$FILE'
+ '[' -f /var/log/kern.log ']'
+ su --shell=/bin/bash '--command=head -n 1 /var/log/kern.log' 
Debian-console-log
+ FILENAME=8-_-_var_-_log_-_kern.log
+ '[' -f /var/run/console-log/Debian-console-log/8-_-_var_-_log_-_kern.log ']'
+ '[' -x '' ']'
+ '[' -x /usr/share/console-log/logpager ']'
+ RET=0
+ ulimit -S -v 24000
+ openvt -f -c 8 -- daemon --foreground --respawn --attempts=20 --delay=10 
--name=8-_-_var_-_log_-_kern.log 
--pidfile=/var/run/console-log/Debian-console-log/8-_-_var_-_log_-_kern.log 
--user Debian-console-log.adm /usr/share/console-log/logpager -- less 
/var/log/kern.log 7000000
+ '[' 0 = 2 ']'
+ '[' -f /etc/console.noblank ']'
+ '[' no == yes ']'
+ log_progress_msg /var/log/kern.log
+ '[' -z /var/log/kern.log ']'
+ echo -n ' /var/log/kern.log'
 /var/log/kern.log+ found=1
+ break
+ '[' 1 '!=' 1 ']'
+ true
+ unset tty
+ chvt=no
+ unset file
+ user=Debian-console-log
+ unset group
+ group=Debian-console-log
+ unset locscript
+ pager=less
+ unset maxfilesize
+ maxfilesize=7000000
+ COUNTER=
+ ELINE=0
+ read KEY VALUE
+ case "$KEY" in
+ eval 'tty="9"'
++ tty=9
+ COUNTER=.
+ read KEY VALUE
+ case "$KEY" in
+ eval 'file="/var/log/syslog"'
++ file=/var/log/syslog
+ COUNTER=..
+ read KEY VALUE
+ case "$KEY" in
+ eval 'group="adm"'
++ group=adm
+ COUNTER=...
+ read KEY VALUE
+ RET=0
+ '[' -n ... ']'
+ case "$ACTION" in
+ start_pager 9 no /var/log/syslog Debian-console-log adm 7000000 less ''
+ TTY=9
+ CHVT=no
+ FILE=/var/log/syslog
+ USER=Debian-console-log
+ GROUP=adm
+ MAXFILESIZE=7000000
+ PAGER=less
+ LOCSCRIPT=
+ echo 9
+ grep '[[:digit:]]\+'
+ PIDFILEDIR=/var/run/console-log
+ DAEMONUSER=
+ '[' -n Debian-console-log ']'
+ DAEMONUSER='--user Debian-console-log'
+ mkdir -p /var/run/console-log/Debian-console-log
+ chown Debian-console-log /var/run/console-log/Debian-console-log
+ PIDFILEDIR=/var/run/console-log/Debian-console-log
+ '[' -n adm ']'
+ DAEMONUSER='--user Debian-console-log.adm'
+ unset found
+ for file in '$FILE'
+ '[' -f /var/log/syslog ']'
+ su --shell=/bin/bash '--command=head -n 1 /var/log/syslog' Debian-console-log
+ log 1 'W: /var/log/syslog not readable by Debian-console-log'
+ case "$1" in
+ success=1
+ shift
+ log_action_begin_msg 'W: /var/log/syslog not readable by Debian-console-log'
+ echo -n 'W: /var/log/syslog not readable by Debian-console-log...'
W: /var/log/syslog not readable by Debian-console-log...+ shift
+ log_action_end_msg 1 ''
+ '[' -z '' ']'
+ end=.
+ '[' 1 -eq 0 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ /bin/echo -e 'failed.'
failed.
+ found=1
+ break
+ '[' 0 '!=' 1 ']'
+ break
+ return
+ log_end_msg 0
+ '[' -z 0 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
..
+ return 0
+ exit 0
=======================================

--- End Message ---
--- Begin Message ---
Source: console-log
Source-Version: 1.0-14

We believe that the bug you reported is fixed in the latest version of
console-log, which is due to be installed in the Debian FTP archive:

console-log_1.0-14.diff.gz
  to pool/main/c/console-log/console-log_1.0-14.diff.gz
console-log_1.0-14.dsc
  to pool/main/c/console-log/console-log_1.0-14.dsc
console-log_1.0-14_all.deb
  to pool/main/c/console-log/console-log_1.0-14_all.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.
Marc Haber <[EMAIL PROTECTED]> (supplier of updated console-log 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: Sun, 12 Aug 2007 21:38:31 +0200
Source: console-log
Binary: console-log
Architecture: source all
Version: 1.0-14
Distribution: unstable
Urgency: low
Maintainer: Marc Haber <[EMAIL PROTECTED]>
Changed-By: Marc Haber <[EMAIL PROTECTED]>
Description: 
 console-log - Puts a logfile pager on virtual consoles
Closes: 431006
Changes: 
 console-log (1.0-14) unstable; urgency=low
 .
   * fix typo in CONLOGDEBUG varaiable name
   * Invoke ulimit stuff in a subshell.
     Thanks to Martin Völlinger. Closes: #431006
   * Use debian/compat instead of DH_COMPAT
   * Build-Depend on debhelper 5
Files: 
 0f0b8903f42a6a05a84d8f8c2dba03c6 597 admin optional console-log_1.0-14.dsc
 808738821457466f2ad66ffea9db876a 17123 admin optional 
console-log_1.0-14.diff.gz
 2cddc35fda509d4b33da5be73f14edb1 22160 admin optional 
console-log_1.0-14_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGv2XhgZalRGu6PIQRAs4DAJ9BWgbbbQLatJ3TeU5f7+LY6gfj5gCdGx1A
ud3+SkOePP8794me7vEtcfg=
=wN0g
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to