pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49607: tenshi-0.15 smf manifest fails on refresh method



>Number:         49607
>Category:       pkg
>Synopsis:       tenshi-0.15 smf manifest fails on refresh method
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 20:45:00 +0000 2015
>Originator:     Paul B. Henson
>Release:        current
>Organization:
>Environment:
>Description:
The SMF default signaling method, :kill, sends a signal to all processes associated with the service. In the case of tenshi, the refresh method currently uses :kill -HUP, which sends a HUP to the spawned tail process as well as the tenshi process, killing the tail and breaking tenshi.
>How-To-Repeat:

>Fix:
The attached diff updates the SMF manifest to use pkill to send the HUP to just the tenshi process, which allows it to successfully refresh without accidentally killing the associated tail process.

begin 644 tenshi-nb1.diff
M26YD97@Z($UA:V5F:6QE"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I
M;&4Z("]C=G-R;V]T+W!K9W-R8R]S>7-U=&EL<R]T96YS:&DO36%K969I;&4L
M=@IR971R:65V:6YG(')E=FES:6]N(#$N,0ID:69F("UU("UR,2XQ($UA:V5F
M:6QE"BTM+2!-86ME9FEL90DQ,R!*86X@,C`Q-2`R,CHR,#HP,R`M,#`P,`DQ
M+C$**RLK($UA:V5F:6QE"3(V($IA;B`R,#$U(#(P.C,S.C4Y("TP,#`P"D!`
M("TR+#8@*S(L-R!`0`H@(PH@"B!$25-43D%-13T)=&5N<VAI+3`N,34**U!+
M1U)%5DE324]./0DQ"B!#051%1T]22453/0ES>7-U=&EL<PH@34%35$527U-)
M5$53/0EH='1P.B\O9&5V+FEN=F5R<V5P871H+F-O;2]D;W=N;&]A9"]T96YS
M:&DO"B`*26YD97@Z(&9I;&5S+W-M9B]M86YI9F5S="YX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`G("\^"B`@("`@/'!R;W!E<G1Y7V=R;W5P(&YA;64]
M)W-T87)T9"<@='EP93TG9G)A;65W;W)K)SX*("`@("`@("`@/'!R;W!V86P@
M;F%M93TG:6=N;W)E7V5R<F]R)R!T>7!E/2=A<W1R:6YG)R!V86QU93TG<VEG
?;F%L)R`O/@H@("`@(#PO<')O<&5R='E?9W)O=7`^"@``
`
end



Home | Main Index | Thread Index | Old Index