Your message dated Sat, 14 May 2005 17:17:42 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#308612: fixed in mailleds 0.93-11
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)
--------------------------------------
Received: (at submit) by bugs.debian.org; 11 May 2005 12:58:16 +0000
>From [EMAIL PROTECTED] Wed May 11 05:58:16 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mnemosyne.csbnet.se [193.11.254.193] (Debian-exim)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DVqn2-0007Ye-00; Wed, 11 May 2005 05:58:16 -0700
Received: from kallisti.csbnet.se ([193.11.254.194] ident=Debian-exim)
by mnemosyne.csbnet.se with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
(Exim 4.50)
id 1DVqmx-0000sm-S9
for [EMAIL PROTECTED]; Wed, 11 May 2005 14:58:11 +0200
Received: from weinholt by kallisti.csbnet.se with local (Exim 4.50)
id 1DVqmv-0004u0-RK; Wed, 11 May 2005 14:58:09 +0200
Date: Wed, 11 May 2005 14:58:09 +0200
From: =?iso-8859-1?Q?G=F6ran?= Weinholt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: xmailleds dies after a while
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--gatW/ieO32f1wygP
Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X"
Content-Disposition: inline
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: mailleds
Version: 0.93-10
Severity: important
Tags: patch
I start 'xmailleds -l s' and get the behavior I expect, it blinks the
scroll lock LED when new mail arrives. After ca. 17 minutes this
message appears and mailleds exits:
mailleds: Cannot open /dev/tty0: open("dev/tty0", O_RDWR)
An strace reveals the reason for the failure:
open("/dev/tty0", O_RDWR) =3D 365
open("/dev/tty0", O_RDWR) =3D 366
=2E..
open("/dev/tty0", O_RDWR) =3D 1022
open("/dev/tty0", O_RDWR) =3D 1023
open("/dev/tty0", O_RDWR) =3D -1 EMFILE (Too many open files)
The attached patch fixes the problem by only trying to open tty0 once.
Regards,
--=20
G=F6ran Weinholt <[EMAIL PROTECTED]>
Debian developer, sysadmin, netadmin
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mailleds_leaking_fds.diff"
Content-Transfer-Encoding: quoted-printable
diff -u mailleds-0.93/mailleds.c mailleds-0.93/mailleds.c
--- mailleds-0.93/mailleds.c
+++ mailleds-0.93/mailleds.c
@@ -466,7 +466,7 @@
make_tty_array();
=20
#ifdef X_SUPPORT
- if (opt_x) {
+ if (!ttyfd_X && opt_x) {
setreuid(uid, euid); /* set uid to root
because we run this prog suid =
root */
/*dpy =3D XOpenDisplay(opt_d);
if (dpy =3D=3D (Display *) NULL)
--LZvS9be/3tNcYl/X--
--gatW/ieO32f1wygP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCggFhjfWLtkqIVOYRAvHIAKCV1B57yBSqCP3ahxYs5v/x2ZMtewCeLbOV
MOom5Y30zrXdH+VBBcElnhU=
=Npp2
-----END PGP SIGNATURE-----
--gatW/ieO32f1wygP--
---------------------------------------
Received: (at 308612-close) by bugs.debian.org; 14 May 2005 21:21:24 +0000
>From [EMAIL PROTECTED] Sat May 14 14:21:23 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DX44Y-0004v2-00; Sat, 14 May 2005 14:21:22 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DX410-0003J9-00; Sat, 14 May 2005 17:17:42 -0400
From: Dennis Stampfer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#308612: fixed in mailleds 0.93-11
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 14 May 2005 17:17:42 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: mailleds
Source-Version: 0.93-11
We believe that the bug you reported is fixed in the latest version of
mailleds, which is due to be installed in the Debian FTP archive:
mailleds_0.93-11.diff.gz
to pool/main/m/mailleds/mailleds_0.93-11.diff.gz
mailleds_0.93-11.dsc
to pool/main/m/mailleds/mailleds_0.93-11.dsc
mailleds_0.93-11_i386.deb
to pool/main/m/mailleds/mailleds_0.93-11_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.
Dennis Stampfer <[EMAIL PROTECTED]> (supplier of updated mailleds 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: Fri, 13 May 2005 12:14:20 +0200
Source: mailleds
Binary: mailleds
Architecture: source i386
Version: 0.93-11
Distribution: unstable
Urgency: low
Maintainer: Dennis Stampfer <[EMAIL PROTECTED]>
Changed-By: Dennis Stampfer <[EMAIL PROTECTED]>
Description:
mailleds - Blink the keyboard-LEDs for incoming mail
Closes: 308612
Changes:
mailleds (0.93-11) unstable; urgency=low
.
* xmailleds doesn't die after a while anymore. Closes: #308612
* Changed "rebuilt by" to "maintained since" in debian/copyright
* xmailleds installed in /usr/bin instead of /usr/X11R6/bin
Files:
20ab5e9b6d0f01432d2f967707c6e3f5 575 mail optional mailleds_0.93-11.dsc
4e3beb8b813360b987e4deff3b0890fa 7705 mail optional mailleds_0.93-11.diff.gz
46e3ffa18e19f9e27f1fec29df9e8939 19464 mail optional mailleds_0.93-11_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFChncFy/v7V++qMzERAte1AJ987rjdsYNAsaWkC8B8zlVqMUa4RACZASPm
Ym4QO+z66DCHWkrgkV3oICk=
=Ruwv
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]