Package: cvs
Version: 1:1.12.13-12
Severity: important

When CVS detects an error while printing an error message, it reports
this situation to syslog with level LOG_EMERG, so the (rather useless)
message gets broadcasted to all logged-in users.

The culprit lies in the error() function in src/error.c:

| #if HAVE_SYSLOG_H
|     /* Syslog the problem since recursion probably means that we encountered 
an
|      * error while attempting to send the last error message to the client.
|      */
|
|     syslog (LOG_DAEMON | LOG_EMERG,
|             "error (%d, %d) called recursively.  Original message was:",
|             last_status, last_errnum);
|     syslog (LOG_DAEMON | LOG_EMERG, "%s", last_message);
|
|
|     syslog (LOG_DAEMON | LOG_EMERG,
|             "error (%d, %d) called recursively.  Second message was:",
|             status, errnum);
|     syslog (LOG_DAEMON | LOG_EMERG, "%s", buf2);
|
|     syslog (LOG_DAEMON | LOG_EMERG, "Aborting.");
| #endif /* HAVE_SYSLOG_H */

I think that it would be better to disable this piece of code completely.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages cvs depends on:
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libpam-runtime         1.0.1-5+lenny1    Runtime support for the PAM librar
ii  libpam0g               1.0.1-5+lenny1    Pluggable Authentication Modules l
ii  update-inetd           4.31              inetd configuration file updater
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages cvs recommends:
ii  emacs [info-browser] 22.2+2-5            The GNU Emacs editor (metapackage)
ii  emacs22 [info-browse 22.2+2-5            The GNU Emacs editor
ii  info [info-browser]  4.11.dfsg.1-4       Standalone GNU Info documentation 
ii  jed [info-browser]   1:0.99.18+dfsg.1-11 editor for programmers (textmode v
ii  netbase              4.34                Basic TCP/IP networking system
ii  pinfo [info-browser] 0.6.9-3             An alternative info-file viewer

cvs suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to