From owner-freebsd-arch Fri Jan 18 16:34:41 2002 Delivered-To: freebsd-arch@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id C875F37B402; Fri, 18 Jan 2002 16:34:25 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id g0J0YJD30868; Fri, 18 Jan 2002 19:34:20 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 18 Jan 2002 19:34:19 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Greg Lehey Cc: Dan Langille , Ruslan Ermilov , Joerg Wunsch , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, arch@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/man/man Makefile man.c src/etc/mtree BSD.local.dist BSD.usr.dist BSD.x11-4.dist BSD.x11.dist In-Reply-To: <20020119105733.A50299@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 19 Jan 2002, Greg Lehey wrote: > > In the new scenario, (1) is eschewed under almost all situations so as to > > avoid using a setuid application. In no situation, new or old, was > > compression ever not performed. > > Certainly the compression's not the issue. But the formatting time > could be. It's not as fast as that. He suggested the compression was a problem, so I objected that it wasn't changed. Installing the existing catman distribution already eliminates all performance concerns by simply never rendering the pages on user-time. Making that the default might be a reasonable choice if we turn off setuid. > I can think of a couple of compromises: > > 1. Just don't install /usr/share/man/catman. That was what was being proposed initially: remove the setuid bit on man, and then allow the user to either install pre-generated catman, or not install it at all. > 2. Use a different user ID or group for catman, and make man(1) > setuid or setgid to that. That's what is currently there. Is this supposed to be different somehow? > >> Please don't force the majority of people to tweak their systems in > >> order to avoid a theoretical problem for a small minority. But if you > >> insist upon doing so, then I feel you must provide a knob in > >> /etc/defaults/make.conf. > > > > Even the people who are objecting to providing no tweak here admit they > > are not in the majority. > > Not in this forum. But we're not typical of the user base. I will > continue to use catman, probably making it world writeable, since in my > situation this isn't a compromise. But what about the man in the > street? The difference between the developers and the users is that the users hardly ever change the man pages, and so would probably benefit most from simply using the catman pages in a pregenerated form, rather than having to wait for each page to render the first time they read it, gradually consuming more and more disk space as they read more manpages. This disagreement is all about how developers might change man pages, and therefore need them regenerated, which as has been pointed out, is not something that "the man on the street" does. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message