Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 21:43:11 +0200
From:      Anton Berezin <tobez@FreeBSD.org>
To:        "Georg-W. Koltermann" <gwk@sgi.com>
Cc:        Garance A Drosihn <drosih@rpi.edu>, current@freebsd.org
Subject:   Re: cannot print to remote printer
Message-ID:  <20010711214311.C2855@heechee.tobez.org>
In-Reply-To: <873d83pquy.wl@wilhelm.noname>; from gwk@sgi.com on Wed, Jul 11, 2001 at 02:55:33PM %2B0200
References:  <lth8zikptx0.wl@hunter.munich.sgi.com> <p05101003b759266483c2@> <p05101003b759266483c2@[128.113.24.47]> <873d83pquy.wl@wilhelm.noname>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 11, 2001 at 02:55:33PM +0200, Georg-W. Koltermann wrote:
> Sorry, I was offline for a while (broke my leg).  I am now recovering
> and slowly catching up.  The laptop which had this problem won't be
> back on the ethernet for another two weeks, so I won't be able to do
> more testing.  And maybe, since so much time has passed, I'd better
> CVSup and try again.

I could reproduce your problem.  The following patch appears to solve it
for me:


Index: lpd.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/lpr/lpd/lpd.c,v
retrieving revision 1.26
diff -u -r1.26 lpd.c
--- lpd.c	2001/06/25 01:45:25	1.26
+++ lpd.c	2001/07/11 19:35:11
@@ -367,7 +367,7 @@
 			continue;
 		}
 		if (fork() == 0) {
-			signal(SIGCHLD, SIG_IGN);
+			signal(SIGCHLD, SIG_DFL);
 			signal(SIGHUP, SIG_IGN);
 			signal(SIGINT, SIG_IGN);
 			signal(SIGQUIT, SIG_IGN);

> > At 2:42 PM +0200 6/22/01, Georg-W. Koltermann wrote:

> > >with current as of June 20 I can no longer print to a remote printer.
> > >Syslog says "filter 'f' exited (retcode=108)".
> > >
> > >I added a "set -x" to the filter which is a shell program, and sure
> > >enough the last action it does is an "exit 0".  So the problem must
> > >be somewhere in lpd.

=Anton.
-- 
May the tuna salad be with you.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010711214311.C2855>