From owner-freebsd-bugs Sun Oct 13 05:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05076 for bugs-outgoing; Sun, 13 Oct 1996 05:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05070; Sun, 13 Oct 1996 05:10:02 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 05:10:02 -0700 (PDT) Resent-Message-Id: <199610131210.FAA05070@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, lutz@muc.de Received: from colin.muc.de (root@colin.muc.de [193.174.4.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA04617 for ; Sun, 13 Oct 1996 05:05:42 -0700 (PDT) Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <86047-2>; Sun, 13 Oct 1996 13:05:13 +0100 Received: from orlando.tavari.muc.de (orlando.tavari.muc.de [192.168.42.4]) by tavari.muc.de (8.7.5/8.7.3) with ESMTP id NAA08212 for ; Sun, 13 Oct 1996 13:56:57 +0200 (MET DST) Received: (from lutz@localhost) by orlando.tavari.muc.de (8.7.5/8.7.3) id OAA00656; Sun, 13 Oct 1996 14:04:59 +0100 (MET) Message-Id: <199610131304.OAA00656@orlando.tavari.muc.de> Date: Sun, 13 Oct 1996 14:04:59 +0100 From: lutz@muc.de Reply-To: lutz@muc.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1784: 2.1.5 update destroys old /etc/sysconfig Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1784 >Category: misc >Synopsis: 2.1.5 update destroys the old sysconfig file >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 05:10:01 PDT 1996 >Last-Modified: >Originator: Lutz Albers >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: System running 2.1R updated to 2.1.5R using the CD-ROM. >Description: During the update all /etc files will be saved in a custom directory. The /etc/sysconfig is not saved, but overwritten with the new sysconfig file from the 2.1.5 release. You loose all your system configuration. >How-To-Repeat: Update your system. >Fix: installUpgrade.c calls in line 267 the function copySelf. This function will copy the /etc files on the floppy (services, protocol, sysconfig) to the disc. At this point the old sysconfig file is overwritten !!! The /etc directory is saved later with this already overwritten files. Maybe you should save the /etc files BEFORE calling copySelf ? >Audit-Trail: >Unformatted: