On Tue, Mar 29, 2011 at 12:10 PM, Jordan Brown <jordan.br...@oracle.com> wrote:
> Speaking as the Oracle person that Nico is obliquely referring to... :-)

:)


> Other than that, what I would do is to try to collect a "truss" of idmapd
> running.  Unfortunately, it's not convenient to get a truss of a service
> from its start.  If it fails on restart (and not just on boot), what I'd
> probably try is to move idmapd out of the way, replace it with a shell
> script that sleeps before starting idmapd, and then "truss -f" it.  I would
> also collect the state of the relevant files.  Something like:

Much simpler: just change the start method of the service!

# svccfg -s idmap
svc:/system/idmap> listprop start
start                  method
start/exec             astring  /usr/lib/idmapd
start/timeout_seconds  count    60
start/type             astring  method
svc:/system/idmap> setprop start/exec = "truss -o /tmp/t -v all -t all
-f /usr/lib/idmapd"
svc:/system/idmap> ^D
# svcadm refresh idmap
<reboot>

(Remember, this only happens on reboot, according to Marc).

Nico
--
_______________________________________________
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to