OpenSolaris

Printable Version Enter a New Search
Bug ID 6469042
Synopsis Installation of a Linux zone with improperly specified source should not require an uninstall
State 11-Closed:Unverified (Closed)
Category:Subcategory kernel:brandz
Keywords
Responsible Engineer William Kucharski
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_49
Fixed In snv_49
Release Fixed solaris_nevada(snv_49)
Related Bugs
Submit Date 10-September-2006
Last Update Date 7-April-2007
Description
One should be able to issue the following commands without an intervening
uninstall of the zone:

# zoneadm -z myzone install -d /oops_this_directory_does_not_exist
'/oops_this_directory_does_not_exist': file not found.
# zoneadm -z myzone install -d /this_directory_is_the_correct_one

At present the install scripts know this should be allowed but do not exit with the
proper exit status.
Work Around
After a failed installation attempt, one must uninstall the zone before
attempting another install, e.g.:

# zoneadm -z myzone install -d /oops_this_directory_does_not_exist
'/oops_this_directory_does_not_exist': file not found.
# zoneadm -z myzone uninstall -F
# zoneadm -z myzone install -d /this_directory_is_the_correct_one
Comments
N/A