From owner-freebsd-current Sun Feb 9 8:24:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D49E37B401 for ; Sun, 9 Feb 2003 08:24:38 -0800 (PST) Received: from storming.org (MG034063.user.veloxzone.com.br [200.165.34.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 0854143F85 for ; Sun, 9 Feb 2003 08:24:37 -0800 (PST) (envelope-from fred@storming.org) Received: (qmail 2301 invoked by uid 1000); 9 Feb 2003 14:24:24 -0200 Date: Sun, 9 Feb 2003 14:24:24 -0200 From: Fred Souza To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: Do we still have a FIFO / named pipe problem? Message-ID: <20030209162424.GA1983@torment.storming.org> Reply-To: fred@storming.org References: <20030209170616.2e4e3635.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <20030209170616.2e4e3635.Alexander@Leidinger.net> X-Sender: fred@storming.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Hi, >=20 > ports/mail/gensig has a problem. It is supposed to create a named pipe > (~/.signature) and wait for an application to read from the pipe. It > allows to have a random signature on every mail. On 4.x and on 5-current > from last year it works as expected. But since the end of the last year > or the begin of this year it doesn't anymore. gensig daemonizes itself > fills the named pipe and then terminates. The content of the named pipe > stays the same for every mail (no wonder, gensig is gone). I had the same problem with signify (which is not on ports). My fix for it was to force open() to open the file for both read and write (signify is a Perl script). I can send the patch if you need to see what I actually did. Fred --=20 "Death is only a state of mind. Only it doesn't leave you much time to think about anything else." --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+RoC4KbRS1GgW4fYRAp3xAJ4lA9doM8Dty7aVgvZMePJBgGMT1ACgga17 6lX0Oy0b4KW8MheO7wZzopI= =3Ya0 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message