Bug 5492 - slim_install is left unremoved after installation with global (babel) CD
: slim_install is left unremoved after installation with global (babel) CD
Status: RESOLVED FIXINSOURCE
Product: distro-constructor
dc-cli
: unspecified
: i86pc/i386 OpenSolaris
: P2 major (vote)
: 2009.04
Assigned To: Karen Tung
:
:
: rn4 DC-reviewed=12-04-2008
:
:
:
  Show dependency treegraph
 
Reported: 2008-11-27 20:34 UTC by Takeshi Asano
Modified: 2009-02-04 10:29 UTC (History)
5 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Takeshi Asano 2008-11-27 20:34:58 UTC
Cluster "slim_install" is left installed after installation with
global (babel) CD, even after integration of fix for 3398.

slim_install is installed as a dependency of babel_install.
babel_install itself is removed during "post_install_remove_packages"
process of DC but slim_install looks to be left.

Manifest "all_lang_slim_cd.xml" should add "slim_install" to the
"post_install_remove_packages" list.
Comment 1 Takeshi Asano 2008-11-27 20:36:27 UTC
Workaround for after installation is to remove the
cluster manually:

$ pfexec pkg uninstall slim_install
Comment 2 Jan Damborsky 2008-11-28 06:30:17 UTC
I have verified that slim_install is present on installed system installed with
2008.11:

$ uname -a
SunOS test-czech 5.11 snv_101b i86pc i386 i86pc Solaris

$ pkg info slim_install
          Name: slim_install
       Summary: slim install cluster
         State: Installed
     Authority: opensolaris.org
       Version: 0.1
 Build Release: 5.11
        Branch: 0.101
Packaging Date: Wed Nov 19 23:56:36 2008
          Size: 0.00 B
          FMRI: pkg:/slim_install@0.1,5.11-0.101:20081119T235636Z
Comment 3 Jan Damborsky 2008-11-28 06:35:56 UTC
(In reply to comment #2)
> I have verified that slim_install is present on system installed with 2008.11:
> 
osol-0811-rc2-global.iso was used for the installation.
Comment 4 Karen Tung 2008-12-01 15:26:25 UTC
This is due a problem with the repo.
The DC installs the babel_install cluster.
After the babel_install cluster is installed, I found that "slim_install" is
installed as well.
After everything is installed, DC removes the babel_install cluster for the
global CD.  The slim_install is not supposed to be there, so, it doesn't get
removed during the image construction process.

To recreate this outside of the DC, install SUNWcsd, SUNWcs, then,
babel_install.
After that, do a "pkg info" and see that both babel_install and slim_install
are both there.
Comment 5 Dave Miner 2008-12-01 15:34:46 UTC
(In reply to comment #4)
> This is due a problem with the repo.


It's not a problem with the repo, babel_install is deliberately defined as a
superset of slim_install in order to simplify the maintenance, since
babel_install is defined as a true superset of slim_install.

See src/util/distro-import/101a/slim_cluster in the IPS source.
Comment 6 Danek Duvall 2008-12-01 15:40:00 UTC
Moving to opensolaris/packaging, in case this the dependency isn't desired, but
this seems like an installer bug, that it's not removing both babel_install and
slim_install after babel_install installation.  It's certainly not a problem
with the depot software.
Comment 7 Jan Damborsky 2008-12-02 01:11:31 UTC
Based on Dave's comment, moving to the appropriate category, since the problem
is not in packaging.

As Takeshi pointed out, slim_install needs to be added to the list of
"post_install_remove_packages".
Comment 8 Karen Tung 2009-02-04 10:29:58 UTC
Fixed in changeset:   430:358f14cc1af8