On 02/24/11 01:57 PM, [email protected] wrote:
Hi,
I have an AI server running build 157. I have an install service for
build 158. On the grub menu I chose to specify custom manifest nv-2.xml
(attached with this mail) which uses the SC file name sc_ai1.xml. The
install completes, but svc:/system/install/config:default is always in
maintenance mode.
root@solaris:~# svcs -xv
svc:/system/install/config:default (system configuration)
State: maintenance since Thu Feb 24 02:39:48 2011
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/system-install-config:default.log
Impact: This service is not running.
root@solaris:~# cat /var/svc/log/system-install-config\:default.log
[ Feb 24 02:39:39 Enabled. ]
[ Feb 24 02:39:46 Executing start method ("/lib/svc/method/svc-system-config").
]
Configuring root account.
Setting root password.
Configuring root account as type<normal>.
Removing property group<root_account>.
root account successfully configured.
Configuring user account.
Creating user home directory on<rpool/export/home/jack> ZFS dataset.
Home mountpoint: /export/home/jack
Calling useradd(1M) to create user account.
cmd: useradd -u 101 -g 10 -s /usr/bin/bash -R root -d /export/home/jack jack
UX: useradd: ERROR: root is not a valid role name. Choose another.
useradd(1M) failed to create user account,
ret=/lib/svc/method/svc-system-config[598]: printf: aborting.: no parent
[ Feb 24 02:39:48 Method "start" exited with status 95. ]
[ Feb 24 02:40:06 Rereading configuration. ]
Is something wrong with my SC file?
Yes, there is.
You've specified user jack should have the root role, but in the next
stanza you have specified root as normal account, not a role. Either
remove the
<propval name="roles" type="astring" value="root"/>
from the property group declaring the jack user, or change the type
property in the root_account property group to "role" rather than "normal".
Dave
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss