Actions
Bug #7884
closedcan't unconfigure not-yet-booted zone
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-02-16
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Description
1) Create zone zone1
2) Install zone zone1
3) Create zone zone2 as copy of zone1
4) Clone zone zone2
Here system-unconfigure fails.
As services in zone1 has not been imported yet, there's no sysding:system service and system-unconfigure can't unconfigure it.
Workaround: boot zone1 && halt zone1 before cloning it.
Updated by Alexander Pyhalov over 5 years ago
There are 2 issues:
1) system-unconfigure explicitly fails when
svccfg -s svc:/system/sysding:system setprop config/finished=falsefails;
2) Even if we remove this check, reset_sysding is the last called function. Exit status will be exit status of the last command in this function. So we fail.
Updated by Alexander Pyhalov over 5 years ago
- Status changed from New to Resolved
Actions