From nobody@FreeBSD.org  Mon Jul  1 13:15:05 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 30F2937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Jul 2002 13:15:05 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EB48243E09
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Jul 2002 13:15:04 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g61KF4OT056804
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 1 Jul 2002 13:15:04 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g61KF40D056803;
	Mon, 1 Jul 2002 13:15:04 -0700 (PDT)
Message-Id: <200207012015.g61KF40D056803@www.freebsd.org>
Date: Mon, 1 Jul 2002 13:15:04 -0700 (PDT)
From: Yevgeniy Aleynikov <eugenea@infospace.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Some things break when /usr mounted readonly. - bad design!
X-Send-Pr-Version: www-1.0

>Number:         40094
>Category:       bin
>Synopsis:       Some things break when /usr mounted readonly. - bad design!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 13:20:01 PDT 2002
>Closed-Date:    Mon Jul 01 22:01:04 PDT 2002
>Last-Modified:  Mon Jul 01 22:01:04 PDT 2002
>Originator:     Yevgeniy Aleynikov
>Release:        4.5-RELEASE
>Organization:
Infospace
>Environment:
4.5-RELEASE
>Description:
Here's output from weekly run report:

Rebuilding whatis database:
/usr/share/man/whatis.tmp: Read-only file system
/usr/share/perl/man/whatis.tmp: Read-only file system
/usr/local/lib/perl5/5.00503/man/whatis.tmp: Read-only file system

THis goes against BSD design.



    
>How-To-Repeat:
Mount /usr readonly and run weekly report & watch errors.      
>Fix:
FIx related applications (makewhatis, locate, whatis apropos) to use correct path for tmp files, /var for data.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Jul 1 21:59:03 PDT 2002 
State-Changed-Why:  

The behavior you describe is configurable. Copy the options 
you want to disable from /etc/defaults/periodic.conf to 
/etc/periodic.conf, then you should be fine. 

In the future, before you send problem reports please discuss 
the problem on freebsd-questions@freebsd.org first. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40094 
>Unformatted:
