Could I please get couple of reviews for the following bug fix:

7010191 After installing from LiveCD, the machine fails during rebooting, mount
errors

Webrev:
http://cr.opensolaris.org/~aalok/7010191/

Background:

Due to the way /dev/null was being opened by the generate_gnome_caches
method of the pre-pkg-img-mod checkpoint, an empty file by that name
was being left over in the pkg_image area. This file was then getting
transferred to the installed system which subsequently caused havoc
during boot.

The old DC would create /dev/null as part of slimcd_pre_boot_archive_pkg_img_mod in the following way:

echo "dev/null" | ($CD / ; $CPIO -Lp $PKG_IMG_PATH)

This resulted in the creation of a character special device named /dev/null
in the package image area.

New DC was effectively doing something similar with the exception of
not doing it quite correctly. Turns out a special device named /dev/null
in the pkg_image area isn't needed afterall, a flat file named /dev/null
suffices just as well.

The proposed fix creates a temporary flat file named /dev/null.

Testing:

Ensured that the LiveCD images build, boot, Install and reboot
after install correctly. Also ran DC unittests to make sure there
are no regressions.

Thanks,
Alok
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to