misc/96780: can't upgrade install at 6.1-RC?
n-kogane at syd.odn.ne.jp
n-kogane at syd.odn.ne.jp
Thu May 4 16:10:20 UTC 2006
>Number: 96780
>Category: misc
>Synopsis: can't upgrade install at 6.1-RC?
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 04 16:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Nobuyuki Koganemaru
>Release: FreeBSD 6.1-RC1 i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
System: FreeBSD kcesx21.koganemaru.co.jp 6.1-RC1 FreeBSD 6.1-RC1 #0: Mon Apr 10 16:52:30 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
All upgrade installing fail from 6.0-RELEASE, 6.1-BETA? or 6.1-RC?.
Because the schg flag is set /var/empty directory.
% /bin/ls -Fldao /var/empty
dr-xr-xr-x 2 root wheel schg 512 4 30 18:07 /var/empty/
>How-To-Repeat:
do upgrade install.
>Fix:
I not tested, but perhaps ok.
--- usr.sbin/sysinstall/installUpgrade.c.orig Sat Dec 3 23:36:26 2005
+++ usr.sbin/sysinstall/installUpgrade.c Thu May 4 23:46:55 2006
@@ -290,7 +290,7 @@
}
msgNotify("chflags'ing old binaries - please wait.");
- (void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /kernel*");
+ (void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /var /kernel*");
if (file_readable("/kernel")) {
msgNotify("Moving old kernel to /kernel.prev");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list