Subject: Re: sysinst terminated problems upgrading to NetBSD-1.5.2
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Bolo <bolo@cs.wisc.edu>
List: port-i386
Date: 11/29/2001 23:13:30
> Go to the "Logging functions" menu and enable loggin and/or scripting.
> This should leave you with some info.

Yeah, it does....  the log says that it tries to execute the contents
of /etc/group :)   BTW, That's /etc/group from the install disks,
not the one on the scsi disk.  Well, that's what turns up in the
script anyway.  Comparing the 'cp' commands in the script to what
is actually copied, something is going wrong, since of the commands
printed, only some are executed.   About 1/2 of the copies which should
succeed do, boot the mkdirs and trailing unmounts 

Needless to say, that behavior does not match the sysinst source :)

Yes, I've checked the checksums of the floppy images and they are correct.

From tracking changes to files, it appears that sysinst gives up the
ghost somewhere in the body of save_etc().   If save_etc() returned 
with an error, it would do merge_X() to rename X.old back to X.  That
doesn't happen, so something is going wrong in save_etc().

Also note that save_X() should complain if there is an 'X.old' symlink,
it should display an error and giveup.  It doesn't.  However, that
happens before save_etc(), which seems to indicate sysinst may be
broken by then.

The unmounts, ending the log, and 'sysinst terminated' happen courtesy
of cleanup().

Bolo
--------------------- sysinst terminated log -----------------
Log started at: Thu Nov 29 22:57:53 2001

[ fsck and mounts go ok, output skipped ]

executing: mv /mnt/etc /mnt/etc.old 
executing: /bin/mkdir -p /mnt/etc 
executing: cp -p /mnt/etc.old/ld.so.cache /mnt/etc/ 
executing: cp -p /mnt/etc.old/ld.so.conf /mnt/etc/ 
executing: cp -p /mnt/etc.old/resolv.conf /mnt/etc/ 
executing: wheel:*:0:root
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
wsrc:*:9:
maildrop:*:11:
postfix:*:12:
games:*:13:
staff:*:20:root
guest:*:31:root
nobody:*:39:
utmp:*:45:
ingres:*:74:ingres
users:*:100:
dialer:*:117:
nogroup:*:32766:
cp -p /mnt/etc.old/rc /mnt/etc/ 
executing: 0:
dialer:*:117:
nogroup:*:32766:
cp -p /mnt/etc.old/rc /mnt/etc/ cp -p /mnt/etc.old/rc.conf /mnt/etc/ 
executing: cp -p /mnt/etc.old/rc.local /mnt/etc/ 
executing: cp -p /mnt/etc.old/ifconfig.* /mnt/etc/ 
executing: cp -p /mnt/etc.old/myname /mnt/etc/ 
executing: cp -p /mnt/etc.old/mygate /mnt/etc/ 
executing: cp -p /mnt/etc.old/defaultdomain /mnt/etc/ 
executing: cp -p /mnt/etc.old/hostname.* /mnt/etc/ 
executing: mv -f /mnt/usr/aout/usr/lib /mnt/usr/aout/usr/lib.old 
executing: mv -f /mnt/usr/aout/etc/ld.so.conf /mnt/usr/aout/etc/ld.so.conf.old 
executing: mkdir -p /mnt/usr/aout/usr/lib 
executing: mkdir -p /mnt/usr/aout/etc 
executing: mv -f /mnt/etc/ld.so.conf /mnt/usr/aout/etc/ld.so.conf 
executing: /sbin/umount /mnt/usr/src 
executing: /sbin/umount /mnt/home 
executing: /sbin/umount /mnt/usr 
executing: wheel:*:0:root
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
wsrc:*:9:
maildrop:*:11:
postfix:*:12:
games:*:13:
staff:*:20:root
guest:*:31:root
nobody:*:39:
utmp:*:45:
ingres:*:74:ingres
users:*:100:
dialer:*:117:
nogroup:*:32766:
/sbin/umount /mnt 
executing: 0:
dialer:*:117:
nogroup:*:32766:
/sbin/umount /mnt /sbin/umount /mnt2 
Log ended at: Thu Nov 29 22:58:09 2001