sendmail starts before rpc.statd and rpc.lockd
Mike Makonnen
mtm at identd.net
Mon Jun 9 08:16:13 PDT 2003
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
@@ -5,7 +5,7 @@
#
# 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
@@ -6,7 +6,7 @@
# 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
@@ -5,8 +5,8 @@
#
# 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
@@ -6,7 +6,7 @@
# 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
@@ -27,7 +27,7 @@
#
# 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
@@ -6,6 +6,7 @@
# 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
@@ -4,7 +4,7 @@
#
# PROVIDE: ypxfrd
-# REQUIRE: rpcbind
+# REQUIRE: SERVERS rpcbind
# KEYWORD: FreeBSD
. /etc/rc.subr
More information about the freebsd-current
mailing list