From owner-freebsd-current Wed Jul 11 12:43:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 5608037B401 for ; Wed, 11 Jul 2001 12:43:22 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 2CCF5543D; Wed, 11 Jul 2001 21:43:11 +0200 (CEST) Date: Wed, 11 Jul 2001 21:43:11 +0200 From: Anton Berezin To: "Georg-W. Koltermann" Cc: Garance A Drosihn , current@freebsd.org Subject: Re: cannot print to remote printer Message-ID: <20010711214311.C2855@heechee.tobez.org> Mail-Followup-To: Anton Berezin , "Georg-W. Koltermann" , Garance A Drosihn , current@freebsd.org References: <873d83pquy.wl@wilhelm.noname> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <873d83pquy.wl@wilhelm.noname>; from gwk@sgi.com on Wed, Jul 11, 2001 at 02:55:33PM +0200 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 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