From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:47:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB15A16A4CE for ; Tue, 23 Dec 2003 12:47:55 -0800 (PST) Received: from anggerik.meltech.net.my (anggerik.meltech.net.my [202.71.100.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 049E443D45 for ; Tue, 23 Dec 2003 12:47:51 -0800 (PST) (envelope-from freebsd@synthexp.net) Received: from synthexp.net (unknown [219.93.73.214]) by anggerik.meltech.net.my (Postfix) with ESMTP id 3537B20B8 for ; Wed, 24 Dec 2003 04:43:15 +0000 (GMT) Message-ID: <3FE8A9ED.7040204@synthexp.net> Date: Wed, 24 Dec 2003 04:47:41 +0800 From: Ihsan Junaidi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: rc initialization anomaly (some sections are being loaded twice) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 20:47:56 -0000 I upgraded a test system running 5.1 to 5.2 RC1 and with it, i came upon a few difficulties. firstly, the default login and su PAM configs are (mis)configured so that they totally ignored the password. so each user is able to login freely without being prompted for a password. but the one i'm about to explain has been, thus far the most perplexing to solve. I've been getting weird behaviour from the rc init system, specifically with it loading some sections of initization twice. i'm not sure if this is intentional but it's annoying to see warning messages popped up and they loaded just fine on 5.1. my rc.conf is clean, no duplicate, so does my local rc.d, /usr/local/etc/rc.d. i'm not well-versed in the rc architecture so i hope you can forgive my lack of details. i attach together my dmesg -a output, cut to the chase. the number of local daemons is cut down to one since having all of them probably is needless. they started just fine the first time round. --- Firewall rules loaded, starting divert daemons: . net.inet.ip.fw.enable: 1 -> 1 add net default: gateway 192.168.1.1 Additional routing options: IP gateway=YES . hw.bus.devctl_disable: 0 -> 1 Mounting NFS file systems: . Starting syslogd. Clearing /tmp. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout Starting usbd. Starting local daemons: . Configuring syscons: blanktime . Starting sshd. Initial i386 initialization: . Additional ABI support: . Starting cron. Local package initialization: postfix/postfix-script: starting the Postfix mail system . Local package initialization: postfix/postfix-script: fatal: the Postfix mail system is already running . Additional TCP options: . Additional TCP options: . route: writing to routing socket : File exists add net default: gateway 192.168.1.1: File exists Additional routing options: IP gateway=YES . Starting moused: . Starting inetd. Starting background file system checks in 60 seconds. Wed Dec 24 04:22:56 MYT 2003