Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 16:46:05 +1000
From:      Tim Robbins <tjr@freebsd.org>
To:        Tom Dymond <tom@kmem.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: man page problem
Message-ID:  <20040626064605.GB8016@cat.robbins.dropbear.id.au>
In-Reply-To: <3564.82.224.209.9.1088152438.squirrel@shuttle.kmem.org>
References:  <3564.82.224.209.9.1088152438.squirrel@shuttle.kmem.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 25, 2004 at 10:33:58AM +0200, Tom Dymond wrote:
> 
> Hi,
> 
> I've got this small problem on my server that i find annoying :
> 
> When a user who's limit's are close (limited by login.conf) tries to read
> a man page, the groff process fails and produces an empty cat man page.
> Later requests for this man page will then fail.
> 
> I tried googling first and found this PR that *appears* identical :
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/5767
[...]

PR 32791 may also be of interest to you -- It describes multiple ways a user
can could incorrect catpages to be cached in FreeBSD 4.x and earlier releases.

I suggest removing /usr/bin/man's suid bit to disable the caching of
catpages, and adding MANBUILDCAT=yes to /etc/make.conf if you find that
pages are taking too long to display. (I can't actually remember whether
removing man's suid bit is sufficient; there may be some other configuration
changes necessary.)


Tim


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