Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 10:33:58 +0200 (CEST)
From:      "Tom Dymond" <tom@kmem.org>
To:        freebsd-stable@freebsd.org
Subject:   man page problem
Message-ID:  <3564.82.224.209.9.1088152438.squirrel@shuttle.kmem.org>

next in thread | raw e-mail | index | archive | help

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

however, my system is a :
FreeBSD j1.kmem.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Jun 21
18:05:51 CEST 2004     tom@shuttle.kmem.org:/usr/obj/usr/src/sys/svr  i386

this is what i did :

tom@j1.kmem.org:~/public_html> man ms
Formatting page, please wait.../usr/bin/groff:fatal error: fork: Resource
temporarily unavailable
Done.
tom@j1.kmem.org:~/public_html> man ms
tom@j1.kmem.org:~/public_html>

tom@j1.kmem.org:~/public_html> cd /usr/share/man/cat7

tom@j1.kmem.org:/usr/share/man/cat7> ll ms.7.gz
-rw-r--r--  1 man  wheel  20 Jun 25 09:31 ms.7.gz

tom@j1.kmem.org:/usr/share/man/cat7> du ms.7.gz
2       ms.7.gz

tom@j1.kmem.org:/usr/share/man/cat7> ll /usr/share/man/man7/ms.7.gz
-r--r--r--  2 root  wheel  7799 Jun 21 18:14 /usr/share/man/man7/ms.7.gz

tom@j1.kmem.org:/usr/share/man/cat7>

tom@j1.kmem.org:/usr/share/man/cat7> rm ms.7.gz
override rw-r--r--  man/wheel for ms.7.gz? y
rm: ms.7.gz: Permission denied

tom@j1.kmem.org:/usr/share/man/cat7> file ms.7.gz
ms.7.gz: gzip compressed data, from Unix

tom@j1.kmem.org:/usr/share/man/cat7> zcat ms.7.gz
tom@j1.kmem.org:/usr/share/man/cat7>

root will now need to manually delete this bogus file :((

I'm not sure what i need to do from here

Thanks,

Tom



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