Re: sendmail starts before rpc.statd and rpc.lockd

From: Mike Makonnen <mtm_at_identd.net>
Date: Mon, 9 Jun 2003 11:16:08 -0400
On Sat, 7 Jun 2003 22:27:14 -0700 (PDT)
David Yeske <dyeske_at_yahoo.com> wrote:

> Jun  8 00:52:33 photon sendmail[293]: h584pRfm000293: SYSERR(root): cannot
> flock(./tfh584pRfm000293, fd=5, type=6, omode=40001, euid=25^C.
> NFS access cache time=2
> Starting statd.
> Starting lockd.
> 
> I should clarify that /etc/rc.d/virecover is calling sendmail.
> Does virecover need to be called this early on?
> 

I've been thinking about moving nfs/nis stuff earlier in the boot processes.
Can you try the following patch please?

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm_at_identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm_at_FreeBSD.Org| FreeBSD - The Power To Serve

Index: etc/rc.d/accounting
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/accounting,v
retrieving revision 1.4
diff -u -r1.4 accounting
--- etc/rc.d/accounting	12 Oct 2002 10:31:31 -0000	1.4
+++ etc/rc.d/accounting	9 Jun 2003 11:59:46 -0000
_at__at_ -5,7 +5,7 _at__at_
 #
 
 # PROVIDE: accounting
-# REQUIRE: mountall
+# REQUIRE: SERVERS mountall
 # BEFORE: DAEMON
 # KEYWORD: FreeBSD NetBSD
 
Index: etc/rc.d/ldconfig
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/ldconfig,v
retrieving revision 1.6
diff -u -r1.6 ldconfig
--- etc/rc.d/ldconfig	18 May 2003 03:39:39 -0000	1.6
+++ etc/rc.d/ldconfig	9 Jun 2003 12:01:37 -0000
_at__at_ -6,7 +6,7 _at__at_
 
 # PROVIDE: ldconfig
 # REQUIRE: mountall mountcritremote
-# BEFORE:  DAEMON
+# BEFORE:  SERVERS
 # KEYWORD: FreeBSD NetBSD
 
 . /etc/rc.subr
Index: etc/rc.d/named
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/named,v
retrieving revision 1.6
diff -u -r1.6 named
--- etc/rc.d/named	12 Jan 2003 04:53:54 -0000	1.6
+++ etc/rc.d/named	9 Jun 2003 15:13:26 -0000
_at__at_ -5,8 +5,8 _at__at_
 #
 
 # PROVIDE: named
-# REQUIRE: SERVERS
-# BEFORE:  DAEMON
+# REQUIRE: NETWORKING
+# BEFORE:  SERVERS
 # KEYWORD: FreeBSD NetBSD
 
 . /etc/rc.subr
Index: etc/rc.d/nfslocking
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/nfslocking,v
retrieving revision 1.4
diff -u -r1.4 nfslocking
--- etc/rc.d/nfslocking	20 Jan 2003 18:57:16 -0000	1.4
+++ etc/rc.d/nfslocking	9 Jun 2003 11:57:37 -0000
_at__at_ -6,7 +6,7 _at__at_
 
 # PROVIDE: nfslocking
 # REQUIRE: nfsserver nfsclient nfsd
-# BEFORE:  DAEMON
+# BEFORE:  SERVERS
 # KEYWORD: FreeBSD NetBSD
 
 . /etc/rc.subr
Index: etc/rc.d/nisdomain
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/nisdomain,v
retrieving revision 1.1
diff -u -r1.1 nisdomain
--- etc/rc.d/nisdomain	18 Apr 2003 17:51:54 -0000	1.1
+++ etc/rc.d/nisdomain	9 Jun 2003 11:53:47 -0000
_at__at_ -27,7 +27,7 _at__at_
 #
 
 # PROVIDE: nisdomain
-# REQUIRE: SERVERS rpcbind
+# REQUIRE: rpcbind
 # BEFORE:  ypbind ypserv ypxfrd
 # KEYWORD: FreeBSD
 
Index: etc/rc.d/rpcbind
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/rpcbind,v
retrieving revision 1.6
diff -u -r1.6 rpcbind
--- etc/rc.d/rpcbind	6 Sep 2002 16:18:05 -0000	1.6
+++ etc/rc.d/rpcbind	9 Jun 2003 11:51:46 -0000
_at__at_ -6,6 +6,7 _at__at_
 
 # PROVIDE: rpcbind
 # REQUIRE: NETWORKING ntpdate syslogd named ppp
+# BEFORE:  SERVERS
 # KEYWORD: FreeBSD NetBSD
 
 . /etc/rc.subr
Index: etc/rc.d/ypxfrd
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/ypxfrd,v
retrieving revision 1.4
diff -u -r1.4 ypxfrd
--- etc/rc.d/ypxfrd	24 Jan 2003 00:37:52 -0000	1.4
+++ etc/rc.d/ypxfrd	9 Jun 2003 11:55:59 -0000
_at__at_ -4,7 +4,7 _at__at_
 #
 
 # PROVIDE: ypxfrd
-# REQUIRE: rpcbind
+# REQUIRE: SERVERS rpcbind
 # KEYWORD: FreeBSD
 
 . /etc/rc.subr
Received on Mon Jun 09 2003 - 06:16:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC