http://defect.opensolaris.org/bz/show_bug.cgi?id=12493
Summary: bfu.sh needs to be modified to deal with backbfu'ing
to pre-phase 1 NWAM bits
Classification: Development
Product: nwam
Version: RC5
Platform: ANY/Generic
OS/Version: All
Status: ACCEPTED
Severity: minor
Priority: P3
Component: ON misc
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: alan.maguire at sun.com
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from amaguire <alan.maguire at sun.com> 2009-11-05 14:18:34 UTC
---
If a system is bfu'ed with phase 1 bits, then back-bfu'ed, a couple of
redundant services are left lying around:
network/netcfg:default
network/location:default
We should detect backbfu as is done for dlmgmtd - is the netcfgd binary present
on the system but not in the archive? If so, it's a backbfu scenario, and we
need to remove the manifests and services for the above and the net-loc and
netcfgd binaries also. We could be aggressive and remove /etc/nwam files but if
the user has specified configuration they likely want it restored when they bfu
back to a post-phase 1 NWAM build.
This is all straightforward, but I think we do some username and file ownership
magic that might be harder to undo. What else do we need to deal with for
backbfu? I've got code to insert into bfu.sh to handle the services, but there
are probably other things that need to be done. Experimentation doesn't reveal
any obvious brokenness bar the presence of the above unwanted services.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.