I've updated the bug with the following, but thought I'd also post it 
here for additional visibility:

This fix appears to break the installed image. After the initial install and
upon first reboot the following messages are seen on the console for each
service being started:

Mar 30 07:13:13 svc.startd[7]: Could not set reconfiguration property: Not
ownerup'  swVersion='latest'
Mar 30 07:13:13 svc.startd[7]: Could not initialize state for
svc:/system/boot-archive:default: Not owner.
Mar 30 07:13:13 svc.startd[7]: Could not commit state change for
svc:/system/boot-archive:default to repository: Not owner.

Ultimately the system drops into maintenance mode.

The problem appears to be an incorrect entry in /etc/user_attr. The modified
entry, in /etc/user_attr, being generated by this piece of code is missing a
colon (:):

+                        /* Change root entry to be of type 'role' */
+                        (void) snprintf(cmd, sizeof (cmd),
+                            "/bin/sed -e 's/^root::::/root:::type=role;/' "
+                            "%s%s > %s", target, USER_ATTR_FILE, tmp_ua);

The sed command should be:

/bin/sed -e 's/^root::::/root::::type=role;/'

--Jens

On 03/25/09 17:10, Ethan Quach wrote:
> Can I get a review for this blocker...
> 
> 
> Webrev:
> ------
> http://cr.opensolaris.org/~equach/webrev.4215/
> 
> 
> Defect:
> ------
> http://defect.opensolaris.org/bz/show_bug.cgi?id=4215
> 
> 
> 
> Tested this fix by installing via the LiveCD and AI,
> with and without a login name specified.  All tests
> succeeded as expected.
> 
> 
> 
> thanks,
> -ethan
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to