[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] logging in openntpd 20080406-r3+
From:       Diego_Elio_Pettenò <flameeyes () flameeyes ! eu>
Date:       2013-11-30 16:20:09
Message-ID: CAHcsgXT8iXbDngLsiO_CcH1Js9syK1Y_mKwMjF_UfL2aT9EjAg () mail ! gmail ! com
[Download RAW message or body]

On Sat, Nov 30, 2013 at 1:31 PM, Peter Stuge <peter@stuge.se> wrote:

> Or maybe yes. :) The condition I refered to is that the system is
> using openrc. Sorry if my weak language skills caused confusion!
>

What I mean is that it would be stupid to have USE=openrc to apply such a
patch. Either the patch is done correctly (does not break the daemon), or
is not. If the former is true, USE=openrc would be broken; if the latter is
true, why not simply apply it to begin with?

If you really don't want PID files (and it probably means you have never
had to deal with medium-scale deployments, but never mind), you can make it
so that `-p` is an optional parameter, and if not passed no pidfile is
created. And voilĂ , you can make an unconditional patch and even send it
upstream for other init systems that do rely on pidfiles that are not
OpenRC.

Diego Elio Pettenò — Flameeyes
flameeyes@flameeyes.eu — http://blog.flameeyes.eu/

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 30, \
2013 at 1:31 PM, Peter Stuge <span dir="ltr">&lt;<a href="mailto:peter@stuge.se" \
target="_blank">peter@stuge.se</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div id=":z2" style="overflow:hidden">Or maybe yes. :) The \
condition I refered to is that the system is<br> using openrc. Sorry if my weak \
language skills caused confusion!</div></blockquote></div><br>What I mean is that it \
would be stupid to have USE=openrc to apply such a patch. Either the patch is done \
correctly (does not break the daemon), or is not. If the former is true, USE=openrc \
would be broken; if the latter is true, why not simply apply it to begin with?</div> \
<div class="gmail_extra"><br></div><div class="gmail_extra">If you really don&#39;t \
want PID files (and it probably means you have never had to deal with medium-scale \
deployments, but never mind), you can make it so that `-p` is an optional parameter, \
and if not passed no pidfile is created. And voilĂ , you can make an unconditional \
patch and even send it upstream for other init systems that do rely on pidfiles that \
are not OpenRC.<br> <br clear="all"><div>Diego Elio Pettenò — Flameeyes<br><a \
href="mailto:flameeyes@flameeyes.eu" target="_blank">flameeyes@flameeyes.eu</a> — \
<a href="http://blog.flameeyes.eu/" \
target="_blank">http://blog.flameeyes.eu/</a></div>

</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic