From owner-freebsd-stable@FreeBSD.ORG Wed Jul 16 11:16:39 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87226F6D for ; Wed, 16 Jul 2014 11:16:39 +0000 (UTC) Received: from frv190.fwdcdn.com (frv190.fwdcdn.com [212.42.77.190]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F1712BA3 for ; Wed, 16 Jul 2014 11:16:38 +0000 (UTC) Received: from [10.10.1.29] (helo=frv197.fwdcdn.com) by frv190.fwdcdn.com with esmtp ID 1X7Muu-0007ZT-1J for stable@freebsd.org; Wed, 16 Jul 2014 13:58:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Cc:To:Subject:From:Date; bh=9VL6YHjC6DqcbJH107HjRgtM7fu/ThEoP2zfhahEhxQ=; b=tQU8lv6tYJE/FvSVFkTKhcaRl415oHzIchLonSk9gjXMElq6Pq4e0qs1pduVTMGmDx3LMUas2GTh1grsbmcVBbnUK0RXlOGWIMA5OXf6CnQtYIy3N84uG3tPtWJVIzRDATOM/xEFYkJc/GM2Bcq7QuUwJOsqdNwmi4RZPCk/9/c=; Received: from [10.10.10.35] (helo=frv35.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1X7Muh-000E12-Us for stable@freebsd.org; Wed, 16 Jul 2014 13:58:19 +0300 Date: Wed, 16 Jul 2014 13:58:18 +0300 From: Vladislav Prodan Subject: Re: problem updating 10-STABLE To: Yoshiaki Kasahara X-Mailer: mail.ukr.net 5.0 Message-Id: <1405507139.352264327.y2s63t4s@frv35.fwdcdn.com> In-Reply-To: <20140716.190632.1014073092745429063.kasahara@nc.kyushu-u.ac.jp> References: <20140716.190632.1014073092745429063.kasahara@nc.kyushu-u.ac.jp> MIME-Version: 1.0 Received: from universite@ukr.net by frv35.fwdcdn.com; Wed, 16 Jul 2014 13:58:19 +0300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 11:16:39 -0000 --- Original message --- From: "Yoshiaki Kasahara" Date: 16 July 2014, 13:22:42 > Hi, > Any suggestions? I don't want to do make installworld during multi > user mode because I cannot ensure new zfs userland will work with new > kernel (if not, my system will become unusable). Maybe try installing > new /rescue only and try it with the new kernel? > > I'm considering to set up BE to avoid this kind of problem, but I need > some exercise... > Hello I do not practice since 2004 reboot to single mode. I still do installworld in multiuser mode. ... service ntpd stop cd /usr/src make clean rm -r /usr/obj make -j$thread buildworld || exit make -j$thread buildkernel KERNCONF=$kernel || exit make installkernel KERNCONF=$kernel || exit make installworld || exit gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 sync echo "Check BootDisk and REBOOT" I do not use mergemaster. And after reboot in multiplayer mode I form /etc in the new system. ... rm -rf /etc.old cp -a /etc /etc.old rm -rf /var/tmp/root mkdir -p /var/tmp/root cd /usr/src/etc make DESTDIR=/var/tmp/root distrib-dirs distribution cd /var/tmp/root/etc ... ... cp -af /var/tmp/root/etc / file_list="ssh/sshd_config crontab csh.cshrc dhclient.conf hosts.allow inetd.conf make.conf master.passwd newsyslog.conf \ login.conf login.conf.db ntp.conf passwd pwd.db rc.conf rc.local snmpd.config spwd.db shells sysctl.conf syslog.conf" for file in $file_list; do cp -a /etc.old/$file /etc/$file done Copy the new files in /etc. Then return the old config files for. And then back to reboot. If, for some config files are missing - see /etc.old P.S. Many thanks to the user Hagen (who supposedly lived in England in the year 2004). -- Vladislav V. Prodan System & Network Administrator support.od.ua