Your message dated Tue, 25 Apr 2006 07:02:10 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#343637: fixed in console-tools 1:0.2.3dbs-61
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: 1:0.2.3dbs-60
Severity: normal
Tags: patch

Hi,

There is a fd leak in openvt, so that the following fails:

tty1:$ openvt -c 8
tty8:$ openvt -c 9
tty8:$ exit
tty1:$ openvt -c 8
VT 8 is in use; command aborted

Because the second openvt leaks the fd on /dev/tty (actually /dev/tty8)
Here is a patch.

diff -urN console-tools-orig/vttools/openvt.c 
console-tools-0.2.3/vttools/openvt.c
--- console-tools-orig/vttools/openvt.c 1999-08-31 22:50:12.000000000 +0200
+++ console-tools-0.2.3/vttools/openvt.c        2005-12-16 19:13:41.000000000 
+0100
@@ -189,6 +189,8 @@
          }
       }
 
+  close(fd);
+
   sprintf(vtname, VTNAME, vtno);
 
   /* Can we open the vt we want? */

Regards,
Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages console-tools depends on:
ii  console-common             0.7.55        Basic infrastructure for text cons
ii  debconf [debconf-2.0]      1.4.62        Debian configuration management sy
ii  libc6                      2.3.5-8.1     GNU C Library: Shared libraries an
ii  libconsole                 1:0.2.3dbs-60 Shared libraries for Linux console
ii  sysvinit                   2.86.ds1-6    System-V like init

Versions of packages console-tools recommends:
ii  console-data            2002.12.04dbs-52 Keymaps, fonts, charset maps, fall

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: console-tools
Source-Version: 1:0.2.3dbs-61

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-61_i386.deb
  to pool/main/c/console-tools/console-tools-dev_0.2.3dbs-61_i386.deb
console-tools_0.2.3dbs-61.dsc
  to pool/main/c/console-tools/console-tools_0.2.3dbs-61.dsc
console-tools_0.2.3dbs-61.tar.gz
  to pool/main/c/console-tools/console-tools_0.2.3dbs-61.tar.gz
console-tools_0.2.3dbs-61_i386.deb
  to pool/main/c/console-tools/console-tools_0.2.3dbs-61_i386.deb
kbd-compat_0.2.3dbs-61_all.deb
  to pool/main/c/console-tools/kbd-compat_0.2.3dbs-61_all.deb
libconsole_0.2.3dbs-61_i386.deb
  to pool/main/c/console-tools/libconsole_0.2.3dbs-61_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, 25 Apr 2006 14:11:08 +0100
Source: console-tools
Binary: kbd-compat console-tools-dev libconsole console-tools
Architecture: source all i386
Version: 1:0.2.3dbs-61
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: 310020 312844 341956 343637 351051 360592 360864 361071
Changes: 
 console-tools (1:0.2.3dbs-61) unstable; urgency=low
 .
   * Read locale details from /etc/default/locale if present, when
     deciding to go to unicode mode in console-screen.sh. Closes: #361071.
   * Correct LSB runtime info in console-screen.sh. Closes: #351051.
   * Move to DH_COMPAT=5.
   * Fix fd leak in openvt. Closes: #343637.
   * loadkeys -m does not need /dev/tty or /dev/console.
     Closes: #312844, #341956.
   * Add Thai keysyms, to match kbd. Closes: #360592.
   * Add Braille keysyms, to match kbd. Closes: #360864.
   * Honour ${NUM_CONSOLES} when calling setled in console-screen.sh.
     Closes: #310020.
Files: 
 fa200005ce8f1739f0a723830eff03e9 645 base important 
console-tools_0.2.3dbs-61.dsc
 72efc7b41dfa59411b71d4a390ad19a8 1489730 base important 
console-tools_0.2.3dbs-61.tar.gz
 7df33d66ced1402f74f38bf5acf73642 43238 utils optional 
kbd-compat_0.2.3dbs-61_all.deb
 d469cb4d53dc3bc2cc3b4b299a4742b6 296050 utils important 
console-tools_0.2.3dbs-61_i386.deb
 f9381234c0a89f3651d8fc59159c472c 128780 libs important 
libconsole_0.2.3dbs-61_i386.deb
 b148d4fe8f50256e058591a2c7192899 85394 devel optional 
console-tools-dev_0.2.3dbs-61_i386.deb

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

iD8DBQFETibqQTK/kCo4XFcRAm+6AJ4jFubu+4dJpZGHyMO0FOJ6ZSLgXQCbBZgN
0s5E7+wMAFQMvr5hchGDzkY=
=NQ2b
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to