Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Mar 2001 15:25:15 +0100 (CET)
From:      edwin@mavetju.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/25633: [PATCH] Upgrade install does not restore files in /etc/ssh
Message-ID:  <20010309142515.3B6941AB@cgmd76206.chello.nl>

next in thread | raw e-mail | index | archive | help

>Number:         25633
>Category:       conf
>Synopsis:       [PATCH] Upgrade install does not restore files in /etc/ssh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 06:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
-
>Environment:

	4.2-RELEASE `Upgrade' install

>Description:

	I have a more-or-less heavily modified ssh_config with lots
	of individual Host statements. After the upgrade to 4.2
	these were suddenly replaced by the standard ssh config-files.

	So the problem is: Preexisting files in /etc/ssh are not restored.

	Luckely it didn't kill my hostkey :-)

>How-To-Repeat:

	Do a 4.2-RELEASE `Upgrade' install

>Fix:

--- installUpgrade.c.old	Fri Mar  9 15:12:17 2001
+++ installUpgrade.c	Fri Mar  9 15:12:47 2001
@@ -116,6 +116,7 @@
    { JUST_COPY,		"shells",		TRUE, NULL },
    { JUST_COPY,		"skeykeys",		TRUE, NULL },
    { JUST_COPY,		"spwd.db",		TRUE, NULL },
+   { JUST_COPY,		"ssh",			TRUE, NULL },
    { JUST_COPY,		"syslog.conf",		TRUE, NULL },
    { JUST_COPY,		"ttys",			TRUE, NULL },
    { JUST_COPY,		"uucp",			TRUE, NULL },

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010309142515.3B6941AB>