Hi Glenn,

please see my response in line.

Thank you,
Jan


On 05/11/11 01:54 AM, Glenn Faden wrote:
Jan,

I've followed your suggestions and I've been able to do some limited testing of 
the code in txzonemgr to generate an SC profile. But I'm confused about a few 
issues relating to the use of sysconfig. I installed the pkg - 
system/install/configuration in the zone, but not in the global zone.The steps 
described in the PSARC doc don't seem to be accurate. I did this:

# zoneadm -z $zonename mount
# zlogin -S $zonename \
    "export _UNCONFIG_ALT_ROOT=/a; /usr/sbin/sysconfig unconfigure -g

My apologies I didn't clearly specify which new Sysconfig scenarios already work
and which are still being worked on.

'Unconfiguration' is one of those which will not be available before 168 -
'sysconfig unconfigure' command is not implemented yet and thus is expected to fail.

Right now the only scenario you can test is 'non-interactive configuration' scenario. This is what steps described in my previous email cover. That scenarios is equivalent
of dropping sysidcfg(4) file into <zonepath>/etc/ directory).

So at this point end-to-end test of the whole new SC framework is not possible.


This failed in several ways. First, the sysconfig program was in bin not sbin, 
so I fixed that. But the /usr filesystem in the zone is actually the global 
zone's /usr mounted via lofs, not the zone's /usr. So sysconfig wasn't there, 
either. I changed this to:

/a/usr/bin/sysconfig

which is the right pathname, but the command doesn't honor the unconfigure 
option. It just seems to run the curses GUI. So I used the svccfg to set the 
configuration/configure property of system/config smf service by hand.

I was then able to apply my profile and get it to work for the properties that 
are defined. However, I don't know what to do about sysconfig. Is there another 
command instead of sysconfig that is supposed to set the configure properties 
in this service?

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to