From owner-freebsd-stable Thu Jul 19 16: 4:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id E24D937B407 for ; Thu, 19 Jul 2001 16:04:11 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id f6JN2fe77138; Thu, 19 Jul 2001 19:02:41 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20010720001429.A65236@heechee.tobez.org> References: <3B5713AB.79322FDA@vangelderen.org> <20010719234413.A64433@heechee.tobez.org> <20010720001429.A65236@heechee.tobez.org> Date: Thu, 19 Jul 2001 19:02:39 -0400 To: Anton Berezin , "Jeroen C. van Gelderen" From: Garance A Drosihn Subject: Re: initgroups unsolicited warning? Cc: FreeBSD Stable Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 12:14 AM +0200 7/20/01, Anton Berezin wrote: >On Thu, Jul 19, 2001 at 11:44:13PM +0200, Anton Berezin wrote: >> Please see PR 15421. :-) >> >> On Thu, Jul 19, 2001 at 01:06:51PM -0400, Jeroen C. van Gelderen wrote: >> >> > Comments? Should I file this as a PR when I can reach the >> > freebsd.org host again? > >I think I have more to say on the problem. > >I did not commit the obvious fix because there exist concerns about >the rest of the base system that uses initgroups(3). Could the message be sent to syslog instead of the terminal? Or have some way to indicate to initgroups() that the message should be syslog'ed, or maybe even not sent at all? >Here OK means that the caller checks initgroups() return code and acts >appropriately. NOK means that initgroups() is called without return >code checking. [...] >usr.sbin/lpr/lpd/printjob.c NOK Somehow I "just knew" that something in lpr would end up on a list of things with not-OK code... :-) I'll try to look at that (just the call in lpd) if you wish. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message