NetBSD Problem Report #34700

From jam@fs.localdomain  Tue Oct  3 02:27:12 2006
Return-Path: <jam@fs.localdomain>
Received: from ( [])
	by (Postfix) with ESMTP id 047BC63B911
	for <>; Tue,  3 Oct 2006 02:27:12 +0000 (UTC)
Message-Id: <20061003011851.A4F72E465F@fs.localdomain>
Date: Tue,  3 Oct 2006 10:18:51 +0900 (JST)
Subject: prng_exch (postfix/tlsmgr modifies this) should be placed under /var
X-Send-Pr-Version: 3.95

>Number:         34700
>Category:       bin
>Synopsis:       prng_exch file should be placed under /var
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 03 02:30:00 +0000 2006
>Originator:     Kazushi (Jam) Marukawa
>Release:        NetBSD 4.99.3
System: NetBSD fs 4.99.3 NetBSD 4.99.3 (sou) #0: Sun Oct 1 00:23:50 JST 2006 jam@fs:/usr/src/sys/arch/i386/compile/sou i386
Architecture: i386
Machine: i386
	/etc/postfix/prng_exch (for default postfix) or
	/usr/pkg/etc/postfix/prng_exch (for pkg postfix)
	are modified by libexec/postfix/tlsmgr when postfix
	receives a new mail.

	Therefore, I cannot keep / or /usr partition as a read-only file
	system.  Error messages are following.

 Oct  3 10:00:00 fs postfix/tlsmgr[700]: fatal: tls_prng_exch_open: cannot open PRNG exchange file /usr/pkg/etc/postfix/prng_exch: Read-only file system
 Oct  3 10:00:01 fs postfix/master[815]: warning: process /usr/pkg/libexec/postfix/tlsmgr pid 700 exit status 1
 Oct  3 10:00:01 fs postfix/master[815]: warning: /usr/pkg/libexec/postfix/tlsmgr: bad command startup -- throttling

	Files modified by daemon should be placed under /var shouldn't they?
	It is possible that people working for NetBSD just didn't notice this.
	So, I'm sending this pr to let ppl know this.

	Please move prng_exch file to /var/run/postfix or somewhere.  Thanks.
	Please make /etc or /usr/pkg/etc as part of read-only filesystem and
	receive some mails.
	Please move prng_exch file to /var/run/postfix or somewhere.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.