From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 13:35:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD0AF1065673 for ; Wed, 15 Feb 2012 13:35:44 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 40F618FC19 for ; Wed, 15 Feb 2012 13:35:43 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so802228wib.13 for ; Wed, 15 Feb 2012 05:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=tAuXWipL2XtyQQw8EqalG8Edu3O/q/8AQpvogwx31ic=; b=dNLOkFJGYTfaE+z+hac8MNKVBzmxALk3NvfIopfWlYSb/yb7uvuhl3CPIcbpkM43N+ fcFpw5WuN3mecJl2PV1YAyFzMzW16pqcAr3TEtOI66MkYv4qP7jhZ2rzpxRG/w7w52BK +/AKk7SpQsO86KrcvynU+pzhfu5gH/rsXM4nk= MIME-Version: 1.0 Received: by 10.180.102.35 with SMTP id fl3mr35261297wib.22.1329312943299; Wed, 15 Feb 2012 05:35:43 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.227.137.143 with HTTP; Wed, 15 Feb 2012 05:35:43 -0800 (PST) Date: Wed, 15 Feb 2012 08:35:43 -0500 X-Google-Sender-Auth: CH5kgmQGxIiHD2MSP5UCayVTWUo Message-ID: From: Rick Miller To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 8.2-RELEASE sysinstall creates duplicate rc.conf lines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 13:35:44 -0000 Hi all, We recently discovered that sysinstall appears to be adding it's own lines to /etc/rc.conf which are duplicates of lines that we are inserting during builds. For example, on one of our hosts, we are adding "defaultrouter" and "ifconfig_em0" with certain network configurations. When we reboot the system we find that sysinstall also inserted a "defaultrouter" and "ifconfig_em0" populated with the data that existed on the interface during the build. See a sample of the rc.conf below. We are making use of the keeprcconf in the install.cfg, but this does not prevent sysinstall from adding those lines. Is there some way to prevent this behavior? # Sample rc.conf after sysinstall build defaultrouter="10.0.0.1" defaultrouter="192.168.0.1" hostname="bsdtest" ifconfig_em0="inet 10.0.0.2 netmask 255.255.252.0" ifconfig_em0="inet 192.168.0.2 netmaks 255.255.255.0" sshd_enable="YES" -- Take care Rick Miller