Hi Antoine,
Antoine Jacoutot wrote on Thu, Jan 28, 2016 at 11:52:48PM +0100:
> Please give me a couple of days and I'll send a diff.
Sure, no problem, diff retracted.
Yours,
Ingo
> # ln -s httpd httpd2
>
> That's a terrible name. The next admin coming along will have no
Duh, I was just making a point.
> clue what this second httpd is needed for.
As I said, I thing it'd be a worthful addition to the doc indeed.
However I don't think this should go into rcctl.
"I shou
On Thu, Jan 28, 2016 at 06:52:18PM +0100, Ingo Schwarze wrote:
> Hi,
>
> Antoine Jacoutot wrote on Thu, Jan 28, 2016 at 10:41:52AM +0100:
>
> > As mentioned in another thread already:
> > # ln -s /etc/rc.d/mydaemon /etc/rc.d/mydaemon2
> > Then use mydaemon2_flags ... in rc.conf.local.
>
> This s
On 2016-01-28, Ingo Schwarze wrote:
> I'd love to make the example more specific and document an actual
> use case that frequently occurs in practice, but even though many
> have said that such cases do occur, i can't think of any. For
> example, for httpd(8), it looks like all use cases can be s
On Thu, Jan 28, 2016 at 06:52:18PM +0100, Ingo Schwarze wrote:
> Hi,
>
> Antoine Jacoutot wrote on Thu, Jan 28, 2016 at 10:41:52AM +0100:
>
> > As mentioned in another thread already:
> > # ln -s /etc/rc.d/mydaemon /etc/rc.d/mydaemon2
> > Then use mydaemon2_flags ... in rc.conf.local.
>
> This s
Thu, 28 Jan 2016 18:52:18 +0100 Ingo Schwarze
> I'd love to make the example more specific and document an actual
> use case that frequently occurs in practice, but even though many
> have said that such cases do occur, i can't think of any.
I have this use case, and have not found quickly a bett
Hi,
Antoine Jacoutot wrote on Thu, Jan 28, 2016 at 10:41:52AM +0100:
> As mentioned in another thread already:
> # ln -s /etc/rc.d/mydaemon /etc/rc.d/mydaemon2
> Then use mydaemon2_flags ... in rc.conf.local.
This seems to be a recurring user question.
Do you consider this addition useful?
I t
On 2016/01/28 08:50, Reyk Floeter wrote:
> > On 27.01.2016, at 23:31, Stuart Henderson wrote:
> >
> > This does the trick. It probably doesn't make sense to run multiple
> > copies of all of the privsep daemons though I see definite use cases
> > for httpd, snmpd [v4 and v6 need separate daemons],
On Thu, Jan 28, 2016 at 10:45:31AM +0100, Kamil Cholewiński wrote:
> On Thu, 28 Jan 2016, Paolo Aglialoro wrote:
> > When this goes implemented, how will one start/stop/reload/check the single
> > instance or all instances through /etc/rc.d/ ?
>
> I hate to repeat myself, but runit solves all of
On Thu, 28 Jan 2016, Paolo Aglialoro wrote:
> When this goes implemented, how will one start/stop/reload/check the single
> instance or all instances through /etc/rc.d/ ?
I hate to repeat myself, but runit solves all of these problems cleanly,
with no need for ps grepping, with no patches in the
On Thu, Jan 28, 2016 at 10:29:56AM +0100, Paolo Aglialoro wrote:
> When this goes implemented, how will one start/stop/reload/check the single
> instance or all instances through /etc/rc.d/ ?
You'll have a different rc.d script and associated rc.conf variables for each
of your instances.
Actually
When this goes implemented, how will one start/stop/reload/check the single
instance or all instances through /etc/rc.d/ ?
On Wed, Jan 27, 2016 at 10:51:50PM +0100, Reyk Floeter wrote:
>
> Well, we "tradionally" had setproctitle("[priv]") in the parent. I
> changed the tradition to setproctitle("parent").
>
> I have no objections with changing this in the parent (but keeping the
> setproctitles in the children) to e
On Thu, Jan 28, 2016 at 09:49:32AM +0100, Alexandre Ratchov wrote:
> $ ps ax |grep sndiod
> 14501 ?? Ssp 0:00.00 sndiod: helper (sndiod)
^^ excuse my ignorance
but what's purpose of repeating daemon name in brackets?
j.
> Fine, this is what I suggested as the first option.
>
> But let's do it everywhere and not just for httpd -
> don't use setproctitle in the parent process.
>
> It does make sense for many more privsep daemons, especially in combination
> with rdomains (ntpd, iked, …). bgpd would probably not ne
> On 27.01.2016, at 23:31, Stuart Henderson wrote:
>
> On 2016-01-27, Antoine Jacoutot wrote:
>> On Wed, Jan 27, 2016 at 12:30:08PM +0100, Reyk Floeter wrote:
>>> On Wed, Jan 27, 2016 at 06:12:22AM -0500, Jiri B wrote:
Hi,
I can't run multiple instances of httpd via rc.d as I can't
> This does the trick. It probably doesn't make sense to run multiple
> copies of all of the privsep daemons though I see definite use cases
> for httpd, snmpd [v4 and v6 need separate daemons], and possibly some
> others, but it would be better to keep them all in-sync..
Yes, if we go this way, p
> Well, we "tradionally" had setproctitle("[priv]") in the parent. I
> changed the tradition to setproctitle("parent").
>
> I have no objections with changing this in the parent (but keeping the
> setproctitles in the children) to either the default (all command line
> flags) or to something like
On 2016-01-27, Antoine Jacoutot wrote:
> On Wed, Jan 27, 2016 at 12:30:08PM +0100, Reyk Floeter wrote:
>> On Wed, Jan 27, 2016 at 06:12:22AM -0500, Jiri B wrote:
>> > Hi,
>> >
>> > I can't run multiple instances of httpd via rc.d as I can't distinguish
>> > between httpd instances. ps aux never s
On Wed, Jan 27, 2016 at 01:49:30PM +0100, Antoine Jacoutot wrote:
> On Wed, Jan 27, 2016 at 12:30:08PM +0100, Reyk Floeter wrote:
> > On Wed, Jan 27, 2016 at 06:12:22AM -0500, Jiri B wrote:
> > > Hi,
> > >
> > > I can't run multiple instances of httpd via rc.d as I can't distinguish
> > > between
On 01/27/2016 06:12 AM, Jiri B wrote:
Hi,
I can't run multiple instances of httpd via rc.d as I can't distinguish
between httpd instances. ps aux never show flags passed to httpd.
Could httpd be extended to show flags like sshd does it?
root 15681 0.0 0.1 1196 2308 ?? Ssp 12:08PM
On Wed, Jan 27, 2016 at 12:30:08PM +0100, Reyk Floeter wrote:
> On Wed, Jan 27, 2016 at 06:12:22AM -0500, Jiri B wrote:
> > Hi,
> >
> > I can't run multiple instances of httpd via rc.d as I can't distinguish
> > between httpd instances. ps aux never show flags passed to httpd.
> >
> > Could httpd
> Or is there any other way to distinguish between two httpd instances?
Try runit: http://smarden.org/runit/
On Wed, Jan 27, 2016 at 06:12:22AM -0500, Jiri B wrote:
> Hi,
>
> I can't run multiple instances of httpd via rc.d as I can't distinguish
> between httpd instances. ps aux never show flags passed to httpd.
>
> Could httpd be extended to show flags like sshd does it?
>
> root 15681 0.0 0.1
Hi,
I can't run multiple instances of httpd via rc.d as I can't distinguish
between httpd instances. ps aux never show flags passed to httpd.
Could httpd be extended to show flags like sshd does it?
root 15681 0.0 0.1 1196 2308 ?? Ssp 12:08PM0:00.05 httpd: parent
(httpd)
vs
roo
25 matches
Mail list logo