On Sun, Dec 14, 2008 at 02:40:52PM -0800, Rob Fisher wrote:
> I've just upgraded my laptop from b93 to b104,using an old-school interactive 
> upgrade install and the "safe" miniroot is no longer there. The old GRUB menu 
> entry is still in place, but it points to a non-existant file -- there's no 
> x86.miniroot any more.
> 
> I put a clean b104 on a (different) fresh machine and, again, no miniroot but 
> this time, no GRUB entry for it. I always use a *very* minimal set of 
> packages, but I can't see that being the issue.
> 
> So where's my failsafe? Has it gone? Has it been moved to a special package? 
> Have I hit a bug? Do I have to build it myself now?

If you have ZFS based zones, install_failsafe() in luupgrade will fail dueto 
a bug in lumount_zones: cloned zonepath gets mounted by luupgrade in the 
current BE but not unmounted before calling install_failsafe. 
install_failsafe calls lumount and this one lumount_zones. The latter
one fails, since it checks whether the cloned zonepath ZFS is mounted,
but not where, which in turn causes 'zoneadm -R /bla -z aZone mount' to
fail because the zonepath has usually wrong permissions and is an empty 
directory ...

If 'isainfo -k' == amd64
        cp $CD/boot/amd64/x86.miniroot /boot/x86.miniroot-safe
Else
        cp $CD/boot/x86.miniroot /boot/x86.miniroot-safe

should be ok (not yet tested).

Regards,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768

Reply via email to