<html><head></head><body>Unsubscribe plz<br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.<br><br><div class="gmail_quote">Christian PERRIER <bubulle@debian.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif">After looking at #640668 and #640508, I think we could maybe find a<br />way to reconcile both. But that may be naive, also..:-)<br /><br />Would we imagine changing the exit code of "service samba status" to<br />be different from 3 whenever any of nmbd, smbd or both aren't running?<br /><br />It would mean that instead of just returning the exit code of<br />"stats_of_proc" we could for instance exit with 1 if nmbd isn't<br />running, 2 if smbd isn't running and 3 is both aren't running.<br /><br />I don't know if that would have impact an elsewhere (does an exit code<br />of 3 have a specific meaning?) but that would then<br />allow modifying the /etc/network/if-up.d/samba script to check the<br />exit code and not the output of "service samba status" and do its<br />magic only when *nmbd* is not running.<br /><br />I won't do such change without more input from people who are more<br />clever than
me when it comes at init systems, though....so, please<br />comment...or leave this bug rot in the BTS for another year..:-)<br /><br /><br />-- <br /><br /><br /></pre></blockquote></div></body></html>