Yes, I know I’m very late to ping for feedback, but I have been absorbed with 
other issues. To recap, I can’t create a BuildBot master process with SMF (see 
below for some rough debugging following instruction from R. Mustacchi). The 
only thing the I can add is that I can start the process by hand just fine. 

Let me know if I can provide additional info and/or I should use the IRC 
channel. Thanks a lot.

> Il giorno 19/mag/2015, alle ore 20:33, Giorgio Valoti <[email protected]> ha 
> scritto:
> 
> 
>> Il giorno 19/mag/2015, alle ore 17:56, Robert Mustacchi <[email protected]> ha 
>> scritto:
>> 
>> On 5/19/15 8:31 , Giorgio Valoti wrote:
>>> 
>>>> Il giorno 19/mag/2015, alle ore 16:45, Robert Mustacchi <[email protected]> 
>>>> ha scritto:
>>>> […]
>>>>> 
>>>> 
>>>> When you're doing this, do you find that if you run svcs against this,
>>>> that there's an asterisk next to the state column? Is the buildbot
>>>> binary supposed to daemonize itself?
>>> 
>>> Seems not.
>>> 
>>> # svcs buildmaster
>>> STATE          STIME    FMRI
>>> offline        12:23:56 svc:/buildmaster:default
>>> 
>>> Looking at the docs, it seems buildbot does daemonize itself unless you 
>>> pass the —-no-daemon flag. I’ve tried this flag, also, but with no effect.
>> 
>> After you try to enable it, does svcs -xv say anything about that?
> 
> svc:/buildmaster:default (Buildmaster: BuildBot master daemon)
> State: offline since Tue May 19 17:07:28 2015
> Reason: Unknown.
>   See: http://illumos.org/msg/SMF-8000-AR
>   See: man -M /opt/local/man -s 1M buildbot
> Impact: This service is not running.
> 
>> 
>> When it's in the hung state, is that the accurate state of svcs? What's
>> the stack of the svcadm process
> 
> # pstack 10752
> 10752:  /usr/sbin/svcadm enable -rst buildmaster
> feeed095 pollsys  (8047b1c, 1, 8047ad8, 0)
> fee81d56 poll     (8047b1c) + 66
> feaf4e3e _scf_pg_wait (806ab80, 3, 806ea30, 8047b7c) + 19c
> 08056286 wait_fmri_enabled (7, 8047c44, 8047c78, feaf47e8, feb0922b, 
> feb09227) + 18c
> feaf4817 scf_walk_fmri (806bbc0, 1, 8047d7c, 41, 80560fa, 7) + 11d7
> 08054cb5 main     (8047d2c, fef65708, 8047d64, 805310f, 4, 8047d70) + 5f7
> 0805310f _start   (4, 8047e40, 8047e51, 8047e58, 8047e5d, 0) + 83
> 
>> and what's the process tree of the
>> buildmaster service?
> 
>  3880  /usr/lib/ssh/sshd
>    7845  /usr/lib/ssh/sshd
>      7846  /usr/lib/ssh/sshd
>        10739 /bin/sh -c LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 
> /opt/local/bin/python /root/.a
>          10740 /opt/local/bin/python2.7 
> /root/.ansible/tmp/ansible-tmp-1432060110.24-952390761
>            10752 /usr/sbin/svcadm enable -rst buildmaster
> 
> 
> 
> 
> Ciao
> 
> --
> Giorgio Valoti
> 
> 
> 
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/184463/24677287-57979da1
> Modify Your Subscription: https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to