Subject: bin/5637: /var/db/statd.status
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lfo@sayori.hg.iwate-pu.ac.jp>
List: netbsd-bugs
Date: 06/21/1998 23:07:21
>Number: 5637
>Category: bin
>Synopsis: file mode of statd.status
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 22 08:50:04 1998
>Last-Modified:
>Originator: Azuma OKAMOTO
>Organization:
Iwate Prefectural University, JAPAN.
>Release: 1.3E (199804)
>Environment:
System: NetBSD sswn0090.soft.iwate-pu.ac.jp 1.3E NetBSD 1.3E (LFO_UVM) #0: Sat Jun 6 22:06:47 JST 1998 lfo@sswn0090.soft.iwate-pu.ac.jp:/export/src/NetBSD-1.3E-19980530/sys/arch/i386/compile/LFO_UVM i386
>Description:
File mode of /var/db/statd.status is broken(?).
>How-To-Repeat:
Start rpc.statd.
>Fix:
--- src/usr.sbin/rpc.statd/statd.c.ORIG Wed Jan 14 00:31:03 1998
+++ src/usr.sbin/rpc.statd/statd.c Sun Jun 21 22:49:44 1998
@@ -519,7 +519,7 @@
{
DBT data;
- db = dbopen(filename, O_RDWR|O_CREAT|O_NDELAY|O_EXLOCK, 644, DB_HASH,
+ db = dbopen(filename, O_RDWR|O_CREAT|O_NDELAY|O_EXLOCK, 0644, DB_HASH,
NULL);
if (db == NULL)
err(1, "Cannot open `%s'", filename);
>Audit-Trail:
>Unformatted: