Subject: bin/34700: prng_exch (postfix/tlsmgr modifies this) should be placed under /var
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <jam@pobox.com>
List: netbsd-bugs
Date: 10/03/2006 02:30:00
>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
>Organization:
none
>Environment:
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
>Description:
/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.
>How-To-Repeat:
Please make /etc or /usr/pkg/etc as part of read-only filesystem and
receive some mails.
>Fix:
Please move prng_exch file to /var/run/postfix or somewhere.
Thanks.