From owner-freebsd-current Tue Apr 11 01:27:16 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA16345 for current-outgoing; Tue, 11 Apr 1995 01:27:16 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA16337 for ; Tue, 11 Apr 1995 01:27:11 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id BAA03015; Tue, 11 Apr 1995 01:23:23 -0700 From: "Rodney W. Grimes" Message-Id: <199504110823.BAA03015@gndrsh.aac.dev.com> Subject: Re: Gated and /etc/rc To: nnd@gw.itfs.nsk.su (Nickolay N. Dudorov) Date: Tue, 11 Apr 1995 01:23:22 -0700 (PDT) Cc: current@FreeBSD.org In-Reply-To: <199504110758.OAA04522@gw.itfs.nsk.su> from "Nickolay N. Dudorov" at Apr 11, 95 02:58:37 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1198 Sender: current-owner@FreeBSD.org Precedence: bulk > > There is some problems with gated in current > /etc/{rc,netstart}: > > 1) It seems to me that correct way to start gated is > 'gdc start' (or even '/usr/local/bin/gdc start') I don't use gated here so I can't speek to this one. Don't you need gated running before you can issue gdc control commands? > 2) Upon startup gated write his pid in /var/run/gated.pid > (along with /var/run/gated.version ?) > But /var/run cleaning is placed after netstart in /etc/rc ;-( I am aware of this and am working on fixing it. The /etc/rc files basically got into a real mess a few weeks back and I am just now getting the last few wrinkles out of them. > Can somebody propose any solution for this ? Move this line: (cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; }) to be right after: mount -a -t nonfs and it should fix the problem for you, unless /var happens to be NFS mounted. > I can place /var/run cleaning BEFORE netstart, but currently > it is AFTER NFS-mounting, which is after netstart ... See above.. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD