Date: Sun, 13 Oct 1996 14:04:59 +0100 From: lutz@muc.de To: FreeBSD-gnats-submit@freebsd.org Subject: misc/1784: 2.1.5 update destroys old /etc/sysconfig Message-ID: <199610131304.OAA00656@orlando.tavari.muc.de> Resent-Message-ID: <199610131210.FAA05070@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610131304.OAA00656>